@genesislcap/foundation-ui 15.21.1 → 15.22.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 +937 -910
- package/dist/dts/options-datasource/options-datasource.d.ts.map +1 -1
- package/dist/dts/react.d.ts +18 -18
- package/dist/dts/utils/options-datasource-utils.d.ts +8 -0
- package/dist/dts/utils/options-datasource-utils.d.ts.map +1 -1
- package/dist/esm/options-datasource/options-datasource.js +21 -3
- package/dist/esm/utils/options-datasource-utils.js +21 -0
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +18 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAgB,MAAM,+BAA+B,CAAC;AAY/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,cAAc,EAKf,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,qBAGa,iBAAkB,SAAQ,cAAc;IACjC,SAAS,EAAG,gBAAgB,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAyB;IAC1B,kBAAkB,UAAS;IAEzF;;;;;;;;;;;;OAYG;IACsD,cAAc,UAAS;IAEhF;;OAEG;IAEH,QAAQ,SAAqC;IACjC,cAAc,MAAC;IACf,iBAAiB,EAAE,CAAC,GAAG,KAAA,KAAK,MAAM,CAAC;IAEnC,oBAAoB,EAAE,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|
142
142
|
>;
|
|
143
143
|
export type AccordionItemRef = AccordionItemWC;
|
|
144
144
|
|
|
145
|
-
export declare const
|
|
145
|
+
export declare const Accordion: React.ForwardRefExoticComponent<
|
|
146
146
|
React.PropsWithChildren<
|
|
147
|
-
Omit<PublicOf<
|
|
147
|
+
Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
|
|
148
148
|
HTMLWCProps & {
|
|
149
|
-
onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
|
|
150
|
-
onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
|
|
151
149
|
}
|
|
152
|
-
> & React.RefAttributes<
|
|
150
|
+
> & React.RefAttributes<AccordionWC>
|
|
153
151
|
>;
|
|
154
|
-
export type
|
|
152
|
+
export type AccordionRef = AccordionWC;
|
|
155
153
|
|
|
156
|
-
export declare const
|
|
154
|
+
export declare const ActionsMenu: React.ForwardRefExoticComponent<
|
|
157
155
|
React.PropsWithChildren<
|
|
158
|
-
Omit<PublicOf<
|
|
156
|
+
Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
|
|
159
157
|
HTMLWCProps & {
|
|
160
158
|
}
|
|
161
|
-
> & React.RefAttributes<
|
|
159
|
+
> & React.RefAttributes<ActionsMenuWC>
|
|
162
160
|
>;
|
|
163
|
-
export type
|
|
161
|
+
export type ActionsMenuRef = ActionsMenuWC;
|
|
164
162
|
|
|
165
|
-
export declare const
|
|
163
|
+
export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
|
|
166
164
|
React.PropsWithChildren<
|
|
167
|
-
Omit<PublicOf<
|
|
165
|
+
Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
|
|
168
166
|
HTMLWCProps & {
|
|
167
|
+
onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
|
|
168
|
+
onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
|
|
169
169
|
}
|
|
170
|
-
> & React.RefAttributes<
|
|
170
|
+
> & React.RefAttributes<AiCriteriaSearchWC>
|
|
171
171
|
>;
|
|
172
|
-
export type
|
|
172
|
+
export type AiCriteriaSearchRef = AiCriteriaSearchWC;
|
|
173
173
|
|
|
174
|
-
export declare const
|
|
174
|
+
export declare const AiIndicator: React.ForwardRefExoticComponent<
|
|
175
175
|
React.PropsWithChildren<
|
|
176
|
-
Omit<PublicOf<
|
|
176
|
+
Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
|
|
177
177
|
HTMLWCProps & {
|
|
178
178
|
}
|
|
179
|
-
> & React.RefAttributes<
|
|
179
|
+
> & React.RefAttributes<AiIndicatorWC>
|
|
180
180
|
>;
|
|
181
|
-
export type
|
|
181
|
+
export type AiIndicatorRef = AiIndicatorWC;
|
|
182
182
|
|
|
183
183
|
export declare const Anchor: React.ForwardRefExoticComponent<
|
|
184
184
|
React.PropsWithChildren<
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { MultiselectDatasource, OptionsDatasource } from '../options-datasource';
|
|
2
2
|
export declare function dataserverCriteriaBuilder(datasource: OptionsDatasource | MultiselectDatasource, value: string | number): void;
|
|
3
|
+
/**
|
|
4
|
+
* Resolves a known field value (e.g. a bound `initialSelectedValue`) by exact match on
|
|
5
|
+
* `valueField`, as opposed to {@link dataserverCriteriaBuilder}, which treats `value` as
|
|
6
|
+
* typed search text and matches it against `labelField`. Using the label-based search to
|
|
7
|
+
* resolve an initial value only works by coincidence: an id like `"CP123"` will not be found
|
|
8
|
+
* by searching a `NAME`/label column for that same string.
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveByValueCriteriaBuilder(datasource: OptionsDatasource | MultiselectDatasource, value: string | number): void;
|
|
3
11
|
export declare function requestServerCriteriaBuilder(datasource: OptionsDatasource | MultiselectDatasource, value: string | number): void;
|
|
4
12
|
//# sourceMappingURL=options-datasource-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options-datasource-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/options-datasource-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEtF,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,iBAAiB,GAAG,qBAAqB,EACrD,KAAK,EAAE,MAAM,GAAG,MAAM,QAgBvB;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,iBAAiB,GAAG,qBAAqB,EACrD,KAAK,EAAE,MAAM,GAAG,MAAM,QAOvB"}
|
|
1
|
+
{"version":3,"file":"options-datasource-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/options-datasource-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEtF,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,iBAAiB,GAAG,qBAAqB,EACrD,KAAK,EAAE,MAAM,GAAG,MAAM,QAgBvB;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,iBAAiB,GAAG,qBAAqB,EACrD,KAAK,EAAE,MAAM,GAAG,MAAM,QAgBvB;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,iBAAiB,GAAG,qBAAqB,EACrD,KAAK,EAAE,MAAM,GAAG,MAAM,QAOvB"}
|
|
@@ -3,7 +3,7 @@ import { __awaiter, __decorate } from "tslib";
|
|
|
3
3
|
import { GenesisResources, ResourceType } from '@genesislcap/foundation-comms';
|
|
4
4
|
import { Combobox as FASTComboBox, } from '@microsoft/fast-components';
|
|
5
5
|
import { attr, customElement, DOM, nullableNumberConverter, observable, } from '@microsoft/fast-element';
|
|
6
|
-
import { BaseDatasource, getPrefix, logger,
|
|
6
|
+
import { BaseDatasource, getPrefix, logger, resolveByValueCriteriaBuilder, } from '../utils';
|
|
7
7
|
/**
|
|
8
8
|
* Datasource element for select/combobox option loading.
|
|
9
9
|
* @public
|
|
@@ -84,8 +84,24 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
initialSelectedValueChanged(oldValue, newValue) {
|
|
87
|
-
if (
|
|
87
|
+
if (newValue === oldValue)
|
|
88
88
|
return;
|
|
89
|
+
if (!newValue) {
|
|
90
|
+
// The bound value was cleared (e.g. a dependent field like counterparty changed,
|
|
91
|
+
// clearing the trader that no longer applies) - reset the datasource so the combobox
|
|
92
|
+
// doesn't keep displaying the previous selection's stale text. clearData() drops the
|
|
93
|
+
// stale options/rows; resetCombobox() clears the combobox's own selectedIndex/
|
|
94
|
+
// selectedOptions/value, which slottedOptionsChanged would otherwise re-derive back to
|
|
95
|
+
// the removed selection once the child-removal mutation is observed. A separate
|
|
96
|
+
// `request`/`datasourceConfig` change (if any) re-scopes and refetches the option list
|
|
97
|
+
// on its own via `requestChanged`.
|
|
98
|
+
if (this.select) {
|
|
99
|
+
this.initalSelectedValueInitialized = false;
|
|
100
|
+
this.clearData();
|
|
101
|
+
this.resetCombobox();
|
|
102
|
+
}
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
89
105
|
// Skip reset when already displaying this value (avoids clearing user selections
|
|
90
106
|
// when parent re-passes the value, e.g. ConnectedSelectControlRenderer)
|
|
91
107
|
if (this.select && this.getDisplayForValue(newValue) === String(this.select.value || '')) {
|
|
@@ -247,7 +263,9 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
|
|
|
247
263
|
});
|
|
248
264
|
return;
|
|
249
265
|
}
|
|
250
|
-
|
|
266
|
+
// Resolve by value-field equality, not by searching label text for the raw value —
|
|
267
|
+
// the two are never the same string except by coincidence (see resolveByValueCriteriaBuilder).
|
|
268
|
+
resolveByValueCriteriaBuilder(this, this.initialSelectedValue);
|
|
251
269
|
});
|
|
252
270
|
}
|
|
253
271
|
clearData() {
|
|
@@ -14,6 +14,27 @@ export function dataserverCriteriaBuilder(datasource, value) {
|
|
|
14
14
|
datasource.criteria = criteriaBuilder.build();
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Resolves a known field value (e.g. a bound `initialSelectedValue`) by exact match on
|
|
19
|
+
* `valueField`, as opposed to {@link dataserverCriteriaBuilder}, which treats `value` as
|
|
20
|
+
* typed search text and matches it against `labelField`. Using the label-based search to
|
|
21
|
+
* resolve an initial value only works by coincidence: an id like `"CP123"` will not be found
|
|
22
|
+
* by searching a `NAME`/label column for that same string.
|
|
23
|
+
*/
|
|
24
|
+
export function resolveByValueCriteriaBuilder(datasource, value) {
|
|
25
|
+
const criteriaBuilder = new CriteriaBuilder();
|
|
26
|
+
criteriaBuilder.withExpression(new ExpressionBuilder()
|
|
27
|
+
.withField(datasource.valueField)
|
|
28
|
+
.withValue(value)
|
|
29
|
+
.withSerialiser(Serialisers.equals)
|
|
30
|
+
.build());
|
|
31
|
+
if (datasource.baseCriteria) {
|
|
32
|
+
datasource.criteria = `${datasource.baseCriteria} && ${criteriaBuilder.build()}`;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
datasource.criteria = criteriaBuilder.build();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
17
38
|
export function requestServerCriteriaBuilder(datasource, value) {
|
|
18
39
|
var _a;
|
|
19
40
|
const requestFieldName = (_a = datasource.labelField) !== null && _a !== void 0 ? _a : datasource.valueField;
|
package/dist/react.cjs
CHANGED
|
@@ -118,6 +118,16 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
|
118
118
|
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
+
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
122
|
+
const { children, ...rest } = props;
|
|
123
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
127
|
+
const { children, ...rest } = props;
|
|
128
|
+
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
129
|
+
});
|
|
130
|
+
|
|
121
131
|
const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
|
122
132
|
const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
|
|
123
133
|
const _innerRef = React.useRef(null);
|
|
@@ -145,16 +155,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
|
145
155
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
|
146
156
|
});
|
|
147
157
|
|
|
148
|
-
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
149
|
-
const { children, ...rest } = props;
|
|
150
|
-
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
154
|
-
const { children, ...rest } = props;
|
|
155
|
-
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
156
|
-
});
|
|
157
|
-
|
|
158
158
|
const Anchor = React.forwardRef(function Anchor(props, ref) {
|
|
159
159
|
const { children, ...rest } = props;
|
|
160
160
|
return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
|
|
@@ -1144,10 +1144,10 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
|
|
|
1144
1144
|
|
|
1145
1145
|
module.exports = {
|
|
1146
1146
|
AccordionItem,
|
|
1147
|
+
Accordion,
|
|
1148
|
+
ActionsMenu,
|
|
1147
1149
|
AiCriteriaSearch,
|
|
1148
1150
|
AiIndicator,
|
|
1149
|
-
ActionsMenu,
|
|
1150
|
-
Accordion,
|
|
1151
1151
|
Anchor,
|
|
1152
1152
|
AnchoredRegion,
|
|
1153
1153
|
Avatar,
|
package/dist/react.mjs
CHANGED
|
@@ -116,6 +116,16 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
|
|
|
116
116
|
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
+
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
120
|
+
const { children, ...rest } = props;
|
|
121
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
125
|
+
const { children, ...rest } = props;
|
|
126
|
+
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
127
|
+
});
|
|
128
|
+
|
|
119
129
|
export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
|
120
130
|
const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
|
|
121
131
|
const _innerRef = React.useRef(null);
|
|
@@ -143,16 +153,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
|
143
153
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
|
144
154
|
});
|
|
145
155
|
|
|
146
|
-
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
147
|
-
const { children, ...rest } = props;
|
|
148
|
-
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
152
|
-
const { children, ...rest } = props;
|
|
153
|
-
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
154
|
-
});
|
|
155
|
-
|
|
156
156
|
export const Anchor = React.forwardRef(function Anchor(props, ref) {
|
|
157
157
|
const { children, ...rest } = props;
|
|
158
158
|
return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...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.
|
|
4
|
+
"version": "15.22.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@genesislcap/foundation-testing": "15.
|
|
89
|
-
"@genesislcap/genx": "15.
|
|
90
|
-
"@genesislcap/rollup-builder": "15.
|
|
91
|
-
"@genesislcap/ts-builder": "15.
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
93
|
-
"@genesislcap/vite-builder": "15.
|
|
94
|
-
"@genesislcap/webpack-builder": "15.
|
|
88
|
+
"@genesislcap/foundation-testing": "15.22.1",
|
|
89
|
+
"@genesislcap/genx": "15.22.1",
|
|
90
|
+
"@genesislcap/rollup-builder": "15.22.1",
|
|
91
|
+
"@genesislcap/ts-builder": "15.22.1",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "15.22.1",
|
|
93
|
+
"@genesislcap/vite-builder": "15.22.1",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.22.1",
|
|
95
95
|
"copyfiles": "^2.4.1"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
@@ -100,16 +100,16 @@
|
|
|
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/expression-builder": "15.
|
|
104
|
-
"@genesislcap/foundation-ai": "15.
|
|
105
|
-
"@genesislcap/foundation-comms": "15.
|
|
106
|
-
"@genesislcap/foundation-criteria": "15.
|
|
107
|
-
"@genesislcap/foundation-errors": "15.
|
|
108
|
-
"@genesislcap/foundation-events": "15.
|
|
109
|
-
"@genesislcap/foundation-logger": "15.
|
|
110
|
-
"@genesislcap/foundation-notifications": "15.
|
|
111
|
-
"@genesislcap/foundation-user": "15.
|
|
112
|
-
"@genesislcap/foundation-utils": "15.
|
|
103
|
+
"@genesislcap/expression-builder": "15.22.1",
|
|
104
|
+
"@genesislcap/foundation-ai": "15.22.1",
|
|
105
|
+
"@genesislcap/foundation-comms": "15.22.1",
|
|
106
|
+
"@genesislcap/foundation-criteria": "15.22.1",
|
|
107
|
+
"@genesislcap/foundation-errors": "15.22.1",
|
|
108
|
+
"@genesislcap/foundation-events": "15.22.1",
|
|
109
|
+
"@genesislcap/foundation-logger": "15.22.1",
|
|
110
|
+
"@genesislcap/foundation-notifications": "15.22.1",
|
|
111
|
+
"@genesislcap/foundation-user": "15.22.1",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.22.1",
|
|
113
113
|
"@microsoft/fast-colors": "5.3.1",
|
|
114
114
|
"@microsoft/fast-components": "2.30.6",
|
|
115
115
|
"@microsoft/fast-element": "1.14.0",
|