@qoretechnologies/reqraft 0.10.47-pr.108.gf8e602d → 0.10.47

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 +1 @@
1
- {"version":3,"file":"FormEngine.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/FormEngine.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAQzF,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,UAAU,EACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAwB,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAOvE,OAAO,KAA6E,MAAM,OAAO,CAAC;AAWlG,OAAO,EACL,iBAAiB,EAIlB,MAAM,8BAA8B,CAAC;AAOtC,OAAO,EACL,mBAAmB,EAIpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAyC,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAqBlG,OAAO,EACL,wBAAwB,EAGzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,iBAAiB,EAClB,MAAM,2CAA2C,CAAC;AAkBnD,6CAA6C;AAC7C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,KAAK,GAAG,UAAU,CAAC;AAEjE,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kCAAkC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sEAA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= function (_a) {
1822
1822
  var absorbedBy = {};
1823
1823
  (0, lodash_1.forEach)(options, function (option, optionName) {
1824
1824
  var absorb = option === null || option === void 0 ? void 0 : option.absorb_fields;
1825
- if (!(absorb === null || absorb === void 0 ? void 0 : absorb.length))
1825
+ // A read-only form absorbs nothing. A host row shows an absorbed
1826
+ // sibling only inside its EDITOR, and a read view never opens one — so
1827
+ // the language a code field had absorbed would be nowhere on the page.
1828
+ // Every set field gets a row of its own instead.
1829
+ if (!(absorb === null || absorb === void 0 ? void 0 : absorb.length) || readOnly)
1826
1830
  return;
1827
1831
  absorb.forEach(function (absorbedName) {
1828
1832
  // Only absorb a sibling that exists and is not already spoken for; a
@@ -1857,11 +1861,15 @@ var FormEngineImpl = function (_a) {
1857
1861
  // only). availableOptions (listed) and filteredOptions (these) are disjoint —
1858
1862
  // the former is built from fixedValue keys, the latter excludes them — so a
1859
1863
  // field is never both a listed and a hidden row.
1860
- (0, lodash_1.forEach)(filteredOptions, function (_schema, optionName) {
1861
- if (matchesFilters(optionName)) {
1862
- pushRow(optionName, true);
1863
- }
1864
- });
1864
+ // Not in a read-only form: a not-yet-added field is an offer to add it,
1865
+ // and a reader cannot take it up.
1866
+ if (!readOnly) {
1867
+ (0, lodash_1.forEach)(filteredOptions, function (_schema, optionName) {
1868
+ if (matchesFilters(optionName)) {
1869
+ pushRow(optionName, true);
1870
+ }
1871
+ });
1872
+ }
1865
1873
  // User sort (Fields menu → "Sort by"), applied WITHIN each group so the
1866
1874
  // group sections and the required-group rails are preserved. Schema order is
1867
1875
  // the default and the stable tiebreaker (Array.sort is stable, and each
@@ -1933,9 +1941,22 @@ var FormEngineImpl = function (_a) {
1933
1941
  settledBucket.current[entry.name] = fresh;
1934
1942
  return fresh;
1935
1943
  };
1944
+ // Read-only: one list, not three boxes. "Needs attention" is an
1945
+ // instruction, and a reader has nothing to do with it — a required field
1946
+ // nobody filled in is shown unset, without the amber. "Optional" holds
1947
+ // the fields nobody set, which in a read view is a list of things that
1948
+ // are not there, so it is left out altogether.
1949
+ var readBucketOf = function (entry) {
1950
+ var fresh = stableBucketOf(entry);
1951
+ if (!readOnly)
1952
+ return fresh;
1953
+ return fresh === 'optional' ? undefined : 'set';
1954
+ };
1936
1955
  groupKeys.forEach(function (groupName) {
1937
1956
  grouped[groupName].forEach(function (entry) {
1938
- var b = stableBucketOf(entry);
1957
+ var b = readBucketOf(entry);
1958
+ if (!b)
1959
+ return;
1939
1960
  if (!buckets[b][groupName]) {
1940
1961
  buckets[b][groupName] = [];
1941
1962
  bucketGroups[b].push(groupName);
@@ -2075,112 +2096,118 @@ var FormEngineImpl = function (_a) {
2075
2096
  // parent's edit card) instead of stacking its own dark surface.
2076
2097
  // The status boxes keep their own tints; the sticky toolbar keeps
2077
2098
  // its blurred header via the $headerBg override.
2078
- stickyHeader: !compactNested }, compactPanelProps, { actions: compactHeaderActions, contentStyle: __assign({ display: 'flex', flexFlow: 'column', gap: '10px' }, compactPanelProps === null || compactPanelProps === void 0 ? void 0 : compactPanelProps.contentStyle), children: [(0, size_1.default)(groupKeys) === 0 ?
2079
- (0, jsx_runtime_1.jsx)(reqore_1.ReqoreMessage, { flat: true, opaque: false, size: 'small', children: "No fields match the current filters." })
2080
- : null, STATUS_BOXES.map(function (box) {
2081
- var groupsInBox = bucketGroups[box.key];
2082
- var count = bucketCount(box.key);
2083
- if (!count)
2084
- return null;
2085
- var hasPreselectedRows = boxHasPreselectedRows(box.key);
2086
- var wouldCollapse = compactCollapsedGroups.includes(box.key) &&
2087
- !query &&
2088
- !(box.key === 'optional' && onlyOptionalRows);
2089
- // Only a box that was opened SOLELY to reveal a preselected
2090
- // row splits its body; a box that renders open anyway shows
2091
- // all of its groups as before.
2092
- var splitForPreselected = wouldCollapse && hasPreselectedRows;
2093
- // Which rows this box shows, and which fold away, decided at
2094
- // ROW level because `maxFieldsShown` counts fields — a
2095
- // group-level split can only ever cut at a group boundary.
2096
- // Group order is preserved so the visible rows read in the
2097
- // same order they would if nothing were folded.
2098
- var orderedRows = groupsInBox.flatMap(function (groupName) { return buckets[box.key][groupName] || []; });
2099
- // Optional's own rule first: a box opened solely to reveal
2100
- // preselected rows offers those, not an arbitrary first-N.
2101
- var candidateRows = splitForPreselected ? orderedRows.filter(isPreselectedRow) : orderedRows;
2102
- // …then the cap applies to whatever that left.
2103
- var capped = maxFieldsShown !== undefined && candidateRows.length > maxFieldsShown;
2104
- var shownRows = capped ? candidateRows.slice(0, maxFieldsShown) : candidateRows;
2105
- var shownRowSet = new Set(shownRows.map(function (entry) { return entry.name; }));
2106
- // Everything the box holds that is not on show. Once the
2107
- // reader asks for more they get the whole box — withholding
2108
- // the non-preselected remainder behind a second control is
2109
- // the same defect one level down.
2110
- var deferredRowSet = new Set(orderedRows
2111
- .filter(function (entry) { return !shownRowSet.has(entry.name); })
2112
- .map(function (entry) { return entry.name; }));
2113
- var deferredCount = deferredRowSet.size;
2114
- var shownGroups = groupsInBox.filter(function (groupName) {
2115
- return (buckets[box.key][groupName] || []).some(function (entry) {
2116
- return shownRowSet.has(entry.name);
2099
+ stickyHeader: !compactNested }, compactPanelProps, { actions: compactHeaderActions, contentStyle: __assign({ display: 'flex', flexFlow: 'column', gap: '10px' }, compactPanelProps === null || compactPanelProps === void 0 ? void 0 : compactPanelProps.contentStyle), children: [(0, size_1.default)(groupKeys) === 0 || (readOnly && !bucketCount('set')) ?
2100
+ (0, jsx_runtime_1.jsx)(reqore_1.ReqoreMessage, { flat: true, opaque: false, size: 'small', children: readOnly && !query ?
2101
+ 'Nothing is set.'
2102
+ : 'No fields match the current filters.' })
2103
+ : null, readOnly ?
2104
+ bucketCount('set') ?
2105
+ (0, jsx_runtime_1.jsx)("div", { className: 'options-readfirst-read', style: { padding: '4px 4px 6px' }, children: (0, jsx_runtime_1.jsx)(compactRowStyles_1.StyledGroupBody, { "$divider": cDivider, "$hover": cHover, "$focus": cWarning, "$success": cSuccess, "$rowBg": cRowBg, "$lineColor": cGroupLine, "$moreBorder": cMoreBorder, className: compactNarrow ? 'readfirst-narrow' : undefined, children: bucketGroups.set.map(function (groupName) { return renderBoxGroup('set', groupName); }) }) })
2106
+ : null
2107
+ : STATUS_BOXES.map(function (box) {
2108
+ var groupsInBox = bucketGroups[box.key];
2109
+ var count = bucketCount(box.key);
2110
+ if (!count)
2111
+ return null;
2112
+ var hasPreselectedRows = boxHasPreselectedRows(box.key);
2113
+ var wouldCollapse = compactCollapsedGroups.includes(box.key) &&
2114
+ !query &&
2115
+ !(box.key === 'optional' && onlyOptionalRows);
2116
+ // Only a box that was opened SOLELY to reveal a preselected
2117
+ // row splits its body; a box that renders open anyway shows
2118
+ // all of its groups as before.
2119
+ var splitForPreselected = wouldCollapse && hasPreselectedRows;
2120
+ // Which rows this box shows, and which fold away, decided at
2121
+ // ROW level because `maxFieldsShown` counts fields — a
2122
+ // group-level split can only ever cut at a group boundary.
2123
+ // Group order is preserved so the visible rows read in the
2124
+ // same order they would if nothing were folded.
2125
+ var orderedRows = groupsInBox.flatMap(function (groupName) { return buckets[box.key][groupName] || []; });
2126
+ // Optional's own rule first: a box opened solely to reveal
2127
+ // preselected rows offers those, not an arbitrary first-N.
2128
+ var candidateRows = splitForPreselected ? orderedRows.filter(isPreselectedRow) : orderedRows;
2129
+ // …then the cap applies to whatever that left.
2130
+ var capped = maxFieldsShown !== undefined && candidateRows.length > maxFieldsShown;
2131
+ var shownRows = capped ? candidateRows.slice(0, maxFieldsShown) : candidateRows;
2132
+ var shownRowSet = new Set(shownRows.map(function (entry) { return entry.name; }));
2133
+ // Everything the box holds that is not on show. Once the
2134
+ // reader asks for more they get the whole box — withholding
2135
+ // the non-preselected remainder behind a second control is
2136
+ // the same defect one level down.
2137
+ var deferredRowSet = new Set(orderedRows
2138
+ .filter(function (entry) { return !shownRowSet.has(entry.name); })
2139
+ .map(function (entry) { return entry.name; }));
2140
+ var deferredCount = deferredRowSet.size;
2141
+ var shownGroups = groupsInBox.filter(function (groupName) {
2142
+ return (buckets[box.key][groupName] || []).some(function (entry) {
2143
+ return shownRowSet.has(entry.name);
2144
+ });
2145
+ });
2146
+ var deferredGroups = groupsInBox.filter(function (groupName) {
2147
+ return (buckets[box.key][groupName] || []).some(function (entry) { return !shownRowSet.has(entry.name); });
2117
2148
  });
2118
- });
2119
- var deferredGroups = groupsInBox.filter(function (groupName) {
2120
- return (buckets[box.key][groupName] || []).some(function (entry) { return !shownRowSet.has(entry.name); });
2121
- });
2122
- var moreOpen = Boolean(query) || expandedMoreBoxes.includes(box.key);
2123
- var accent = box.key === 'attention' ? cWarning
2124
- : box.key === 'set' ? cSuccess
2125
- : cMuted;
2126
- // The muted "Optional" box reads as a quieter, recessed
2127
- // surface — a touch darker than the page rather than the
2128
- // faint grey tint the accent would give.
2129
- var boxBg = box.key === 'optional' ?
2130
- (0, colors_1.changeDarkness)((0, colors_1.getMainBackgroundColor)(theme), 0.06)
2131
- : undefined;
2132
- return ((0, jsx_runtime_1.jsx)(compactRowStyles_1.StyledStatusBox, { "$accent": accent, "$bg": boxBg, ref: function (node) {
2133
- statusBoxRefs.current[box.key] = node;
2134
- },
2135
- // Opening arms the reveal; collapsing disarms it, so a
2136
- // close never scrolls.
2137
- onCollapseChange: function (collapsed) {
2138
- return setOpenedStatusBox(collapsed ? undefined : box.key);
2139
- }, flat: true, minimal: true, collapseButtonProps: { flat: true, minimal: true, size: 'small' }, collapsible: true,
2140
- // Which boxes start closed is the consumer's call
2141
- // (`compactCollapsedGroups`, default `['optional']`: the
2142
- // Optional box holds every not-yet-added field, so a form
2143
- // opens on what is in use). Two rules override it:
2144
- //
2145
- // A SEARCH forces every box open — ReqorePanel unmounts
2146
- // collapsed content, so a match inside a closed box would
2147
- // be unreachable. (isCollapsed is the panel's controllable
2148
- // state; manual toggling still works with no query set.)
2149
- //
2150
- // The Optional box stays open when it is the ONLY box,
2151
- // because collapsing it renders a card that looks empty and
2152
- // broken: an auth profile's Authorization block, whose nine
2153
- // requirement fields are all optional, showed as a titled
2154
- // card containing one collapsed "Optional 9" strip and
2155
- // nothing else. This does not generalise to the other two —
2156
- // a lone Set box collapsed is a deliberate ask, and its
2157
- // header still reports what is in there.
2158
- //
2159
- // A PRESELECTED row overrides it too: the schema asked
2160
- // for that field to be visible on a new form, so the
2161
- // box it lands in opens. The groups it does NOT appear
2162
- // in stay behind an inner collapse below, so opening
2163
- // the box reveals the preselected fields without also
2164
- // dumping every not-yet-added optional field on the
2165
- // author.
2166
- isCollapsed: wouldCollapse && !hasPreselectedRows, label: (0, jsx_runtime_1.jsxs)(compactRowStyles_1.StyledGroupHeader, { children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreP, { effect: { weight: 'bold' }, size: 'normal', children: box.label }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreTag, { size: 'small', minimal: true, compact: true, intent: box.intent, label: String(count) })] }), icon: box.icon, className: 'options-readfirst-group', padded: false, contentStyle: { padding: '4px 4px 6px' }, children: (0, jsx_runtime_1.jsxs)(compactRowStyles_1.StyledGroupBody, { "$divider": cDivider, "$hover": cHover, "$focus": cWarning, "$success": cSuccess, "$rowBg": cRowBg, "$lineColor": cGroupLine, "$moreBorder": cMoreBorder, className: compactNarrow ? 'readfirst-narrow' : undefined, children: [shownGroups.map(function (groupName) {
2167
- return renderBoxGroup(box.key, groupName, shownRowSet);
2168
- }), deferredCount ?
2169
- (0, jsx_runtime_1.jsxs)("button", { type: 'button', className: 'readfirst-row readfirst-more-row options-readfirst-more', "aria-expanded": moreOpen, onClick: function () {
2170
- return setExpandedMoreBoxes(function (prev) {
2171
- return prev.includes(box.key) ?
2172
- prev.filter(function (k) { return k !== box.key; })
2173
- : __spreadArray(__spreadArray([], prev, true), [box.key], false);
2174
- });
2175
- }, children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreP, { size: 'small', effect: { opacity: 0.8 }, children: moreOpen ?
2176
- 'Show fewer'
2177
- : "".concat(deferredCount, " more ").concat(box.key === 'optional' ? 'optional ' : '', "field").concat(deferredCount === 1 ? '' : 's') }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreIcon, { icon: 'ArrowDownSLine', size: 'small', className: 'readfirst-more-chevron', effect: { opacity: 0.8 } })] })
2178
- : null, deferredCount && moreOpen ?
2179
- deferredGroups.map(function (groupName) {
2180
- return renderBoxGroup(box.key, groupName, deferredRowSet);
2181
- })
2182
- : null] }) }, box.key));
2183
- })] })), commitMode === 'batched' && !readOnly && dirtyOptionNames.length ?
2149
+ var moreOpen = Boolean(query) || expandedMoreBoxes.includes(box.key);
2150
+ var accent = box.key === 'attention' ? cWarning
2151
+ : box.key === 'set' ? cSuccess
2152
+ : cMuted;
2153
+ // The muted "Optional" box reads as a quieter, recessed
2154
+ // surface — a touch darker than the page rather than the
2155
+ // faint grey tint the accent would give.
2156
+ var boxBg = box.key === 'optional' ?
2157
+ (0, colors_1.changeDarkness)((0, colors_1.getMainBackgroundColor)(theme), 0.06)
2158
+ : undefined;
2159
+ return ((0, jsx_runtime_1.jsx)(compactRowStyles_1.StyledStatusBox, { "$accent": accent, "$bg": boxBg, ref: function (node) {
2160
+ statusBoxRefs.current[box.key] = node;
2161
+ },
2162
+ // Opening arms the reveal; collapsing disarms it, so a
2163
+ // close never scrolls.
2164
+ onCollapseChange: function (collapsed) {
2165
+ return setOpenedStatusBox(collapsed ? undefined : box.key);
2166
+ }, flat: true, minimal: true, collapseButtonProps: { flat: true, minimal: true, size: 'small' }, collapsible: true,
2167
+ // Which boxes start closed is the consumer's call
2168
+ // (`compactCollapsedGroups`, default `['optional']`: the
2169
+ // Optional box holds every not-yet-added field, so a form
2170
+ // opens on what is in use). Two rules override it:
2171
+ //
2172
+ // A SEARCH forces every box open — ReqorePanel unmounts
2173
+ // collapsed content, so a match inside a closed box would
2174
+ // be unreachable. (isCollapsed is the panel's controllable
2175
+ // state; manual toggling still works with no query set.)
2176
+ //
2177
+ // The Optional box stays open when it is the ONLY box,
2178
+ // because collapsing it renders a card that looks empty and
2179
+ // broken: an auth profile's Authorization block, whose nine
2180
+ // requirement fields are all optional, showed as a titled
2181
+ // card containing one collapsed "Optional 9" strip and
2182
+ // nothing else. This does not generalise to the other two —
2183
+ // a lone Set box collapsed is a deliberate ask, and its
2184
+ // header still reports what is in there.
2185
+ //
2186
+ // A PRESELECTED row overrides it too: the schema asked
2187
+ // for that field to be visible on a new form, so the
2188
+ // box it lands in opens. The groups it does NOT appear
2189
+ // in stay behind an inner collapse below, so opening
2190
+ // the box reveals the preselected fields without also
2191
+ // dumping every not-yet-added optional field on the
2192
+ // author.
2193
+ isCollapsed: wouldCollapse && !hasPreselectedRows, label: (0, jsx_runtime_1.jsxs)(compactRowStyles_1.StyledGroupHeader, { children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreP, { effect: { weight: 'bold' }, size: 'normal', children: box.label }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreTag, { size: 'small', minimal: true, compact: true, intent: box.intent, label: String(count) })] }), icon: box.icon, className: 'options-readfirst-group', padded: false, contentStyle: { padding: '4px 4px 6px' }, children: (0, jsx_runtime_1.jsxs)(compactRowStyles_1.StyledGroupBody, { "$divider": cDivider, "$hover": cHover, "$focus": cWarning, "$success": cSuccess, "$rowBg": cRowBg, "$lineColor": cGroupLine, "$moreBorder": cMoreBorder, className: compactNarrow ? 'readfirst-narrow' : undefined, children: [shownGroups.map(function (groupName) {
2194
+ return renderBoxGroup(box.key, groupName, shownRowSet);
2195
+ }), deferredCount ?
2196
+ (0, jsx_runtime_1.jsxs)("button", { type: 'button', className: 'readfirst-row readfirst-more-row options-readfirst-more', "aria-expanded": moreOpen, onClick: function () {
2197
+ return setExpandedMoreBoxes(function (prev) {
2198
+ return prev.includes(box.key) ?
2199
+ prev.filter(function (k) { return k !== box.key; })
2200
+ : __spreadArray(__spreadArray([], prev, true), [box.key], false);
2201
+ });
2202
+ }, children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreP, { size: 'small', effect: { opacity: 0.8 }, children: moreOpen ?
2203
+ 'Show fewer'
2204
+ : "".concat(deferredCount, " more ").concat(box.key === 'optional' ? 'optional ' : '', "field").concat(deferredCount === 1 ? '' : 's') }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreIcon, { icon: 'ArrowDownSLine', size: 'small', className: 'readfirst-more-chevron', effect: { opacity: 0.8 } })] })
2205
+ : null, deferredCount && moreOpen ?
2206
+ deferredGroups.map(function (groupName) {
2207
+ return renderBoxGroup(box.key, groupName, deferredRowSet);
2208
+ })
2209
+ : null] }) }, box.key));
2210
+ })] })), commitMode === 'batched' && !readOnly && dirtyOptionNames.length ?
2184
2211
  (0, jsx_runtime_1.jsx)(StyledCommitDock, { "$bg": cBg, "$border": cDivider, children: (0, jsx_runtime_1.jsxs)(reqore_1.ReqoreControlGroup, { className: 'options-readfirst-commitbar', verticalAlign: 'center', wrap: true, children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreTag, { size: 'tiny', minimal: true, flat: true, compact: true, effect: { uppercase: true, spaced: 1 }, intent: 'warning', icon: 'EditLine', label: "".concat(dirtyOptionNames.length, " unsaved change").concat(dirtyOptionNames.length === 1 ? '' : 's') }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreButton, { size: 'small', intent: 'success', icon: 'CheckLine', fixed: true, className: 'options-readfirst-save', disabled: !validityData.isValid, tooltip: validityData.isValid ?
2185
2212
  'Apply the staged changes'
2186
2213
  : 'Resolve the invalid fields before saving', onClick: handleCommitClick, children: "Save" }), (0, jsx_runtime_1.jsx)(reqore_1.ReqoreButton, { size: 'small', minimal: true, flat: true, fixed: true, icon: 'HistoryLine', className: 'options-readfirst-discard', onClick: handleRevertChangesClick, children: "Discard" })] }) })