@qoretechnologies/reqraft 0.10.50 → 0.10.51-pr.115.g3e79f11

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.
Files changed (113) hide show
  1. package/design/FORM_ENGINE_EXPRESSIONS.md +110 -0
  2. package/dist/components/dpqlEditor/dpqlProbe.d.ts +37 -0
  3. package/dist/components/dpqlEditor/dpqlProbe.d.ts.map +1 -0
  4. package/dist/components/dpqlEditor/dpqlProbe.js +203 -0
  5. package/dist/components/dpqlEditor/dpqlProbe.js.map +1 -0
  6. package/dist/components/dpqlEditor/index.d.ts +4 -0
  7. package/dist/components/dpqlEditor/index.d.ts.map +1 -1
  8. package/dist/components/dpqlEditor/index.js +5 -1
  9. package/dist/components/dpqlEditor/index.js.map +1 -1
  10. package/dist/components/dpqlEditor/types.d.ts +29 -2
  11. package/dist/components/dpqlEditor/types.d.ts.map +1 -1
  12. package/dist/components/dpqlEditor/useDpqlProbe.d.ts +4 -0
  13. package/dist/components/dpqlEditor/useDpqlProbe.d.ts.map +1 -0
  14. package/dist/components/dpqlEditor/useDpqlProbe.js +29 -0
  15. package/dist/components/dpqlEditor/useDpqlProbe.js.map +1 -0
  16. package/dist/components/dpqlEditor/useDpqlSession.d.ts +5 -2
  17. package/dist/components/dpqlEditor/useDpqlSession.d.ts.map +1 -1
  18. package/dist/components/dpqlEditor/useDpqlSession.js +8 -2
  19. package/dist/components/dpqlEditor/useDpqlSession.js.map +1 -1
  20. package/dist/components/form/engine/CompactRow.d.ts.map +1 -1
  21. package/dist/components/form/engine/CompactRow.js +91 -12
  22. package/dist/components/form/engine/CompactRow.js.map +1 -1
  23. package/dist/components/form/engine/CompactToolbar.d.ts.map +1 -1
  24. package/dist/components/form/engine/CompactToolbar.js +5 -2
  25. package/dist/components/form/engine/CompactToolbar.js.map +1 -1
  26. package/dist/components/form/engine/FormEngine.d.ts +107 -11
  27. package/dist/components/form/engine/FormEngine.d.ts.map +1 -1
  28. package/dist/components/form/engine/FormEngine.js +277 -51
  29. package/dist/components/form/engine/FormEngine.js.map +1 -1
  30. package/dist/components/form/engine/OptionFieldMessages.d.ts +17 -2
  31. package/dist/components/form/engine/OptionFieldMessages.d.ts.map +1 -1
  32. package/dist/components/form/engine/OptionFieldMessages.js +61 -11
  33. package/dist/components/form/engine/OptionFieldMessages.js.map +1 -1
  34. package/dist/components/form/engine/_structuredData/SchemaDataView.d.ts.map +1 -1
  35. package/dist/components/form/engine/_structuredData/SchemaDataView.js +7 -1
  36. package/dist/components/form/engine/_structuredData/SchemaDataView.js.map +1 -1
  37. package/dist/components/form/engine/compactToolbarContext.d.ts +1 -0
  38. package/dist/components/form/engine/compactToolbarContext.d.ts.map +1 -1
  39. package/dist/components/form/engine/readFirst.d.ts +19 -1
  40. package/dist/components/form/engine/readFirst.d.ts.map +1 -1
  41. package/dist/components/form/engine/readFirst.js +63 -10
  42. package/dist/components/form/engine/readFirst.js.map +1 -1
  43. package/dist/components/form/engine/rendererTypes.d.ts +13 -0
  44. package/dist/components/form/engine/rendererTypes.d.ts.map +1 -1
  45. package/dist/components/form/engine/rendererTypes.js.map +1 -1
  46. package/dist/components/form/expressions/ExpressionField.d.ts.map +1 -1
  47. package/dist/components/form/expressions/ExpressionField.js +147 -18
  48. package/dist/components/form/expressions/ExpressionField.js.map +1 -1
  49. package/dist/components/form/expressions/dpqlMockLsp.d.ts +17 -0
  50. package/dist/components/form/expressions/dpqlMockLsp.d.ts.map +1 -1
  51. package/dist/components/form/expressions/dpqlMockLsp.js +43 -8
  52. package/dist/components/form/expressions/dpqlMockLsp.js.map +1 -1
  53. package/dist/components/form/fields/allowed-values/AllowedValues.d.ts +11 -1
  54. package/dist/components/form/fields/allowed-values/AllowedValues.d.ts.map +1 -1
  55. package/dist/components/form/fields/allowed-values/AllowedValues.js +14 -2
  56. package/dist/components/form/fields/allowed-values/AllowedValues.js.map +1 -1
  57. package/dist/components/form/fields/auto/AutoFormField.d.ts.map +1 -1
  58. package/dist/components/form/fields/auto/AutoFormField.js +8 -1
  59. package/dist/components/form/fields/auto/AutoFormField.js.map +1 -1
  60. package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts +2 -1
  61. package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts.map +1 -1
  62. package/dist/components/form/fields/template/ReadOnlyTemplateTag.js +3 -2
  63. package/dist/components/form/fields/template/ReadOnlyTemplateTag.js.map +1 -1
  64. package/dist/components/form/fields/template/TemplateField.d.ts.map +1 -1
  65. package/dist/components/form/fields/template/TemplateField.js +168 -2
  66. package/dist/components/form/fields/template/TemplateField.js.map +1 -1
  67. package/dist/components/smartEditor/__fixtures__/mockLspServer.d.ts.map +1 -1
  68. package/dist/components/smartEditor/__fixtures__/mockLspServer.js +24 -1
  69. package/dist/components/smartEditor/__fixtures__/mockLspServer.js.map +1 -1
  70. package/dist/helpers/dpqlDetection.d.ts +58 -0
  71. package/dist/helpers/dpqlDetection.d.ts.map +1 -0
  72. package/dist/helpers/dpqlDetection.js +147 -0
  73. package/dist/helpers/dpqlDetection.js.map +1 -0
  74. package/dist/helpers/optionUiTypes.d.ts +1 -1
  75. package/dist/helpers/templates.d.ts +21 -0
  76. package/dist/helpers/templates.d.ts.map +1 -1
  77. package/dist/helpers/templates.js +28 -1
  78. package/dist/helpers/templates.js.map +1 -1
  79. package/dist/index.d.ts +2 -1
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +5 -1
  82. package/dist/index.js.map +1 -1
  83. package/dist/utils/fetch.d.ts +115 -1
  84. package/dist/utils/fetch.d.ts.map +1 -1
  85. package/dist/utils/fetch.js +210 -44
  86. package/dist/utils/fetch.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/components/dpqlEditor/dpqlProbe.ts +165 -0
  89. package/src/components/dpqlEditor/index.ts +4 -0
  90. package/src/components/dpqlEditor/types.ts +26 -2
  91. package/src/components/dpqlEditor/useDpqlProbe.ts +33 -0
  92. package/src/components/dpqlEditor/useDpqlSession.ts +20 -4
  93. package/src/components/form/engine/CompactRow.tsx +112 -4
  94. package/src/components/form/engine/CompactToolbar.tsx +10 -3
  95. package/src/components/form/engine/FormEngine.stories.tsx +328 -6
  96. package/src/components/form/engine/FormEngine.tsx +319 -33
  97. package/src/components/form/engine/OptionFieldMessages.tsx +89 -11
  98. package/src/components/form/engine/_structuredData/SchemaDataView.tsx +11 -0
  99. package/src/components/form/engine/compactToolbarContext.ts +1 -1
  100. package/src/components/form/engine/readFirst.ts +70 -7
  101. package/src/components/form/engine/rendererTypes.ts +12 -0
  102. package/src/components/form/expressions/ExpressionField.stories.tsx +216 -29
  103. package/src/components/form/expressions/ExpressionField.tsx +194 -16
  104. package/src/components/form/expressions/dpqlMockLsp.ts +48 -0
  105. package/src/components/form/fields/allowed-values/AllowedValues.tsx +13 -2
  106. package/src/components/form/fields/auto/AutoFormField.tsx +7 -0
  107. package/src/components/form/fields/template/ReadOnlyTemplateTag.tsx +4 -2
  108. package/src/components/form/fields/template/TemplateField.tsx +234 -1
  109. package/src/components/smartEditor/__fixtures__/mockLspServer.ts +25 -1
  110. package/src/helpers/dpqlDetection.ts +192 -0
  111. package/src/helpers/templates.ts +31 -0
  112. package/src/index.tsx +14 -1
  113. package/src/utils/fetch.ts +247 -21
@@ -70,12 +70,80 @@ export { fixOperatorValue } from '../../../helpers/common';
70
70
  * consumer's injected editors are recognised too. See `./rendererTypes`.
71
71
  */
72
72
  type TRendererOnlyCheck = (type?: TQorusType | TQorusType[]) => boolean;
73
+ /**
74
+ * Which type an option resolves to — the schema's, or the one stored on the
75
+ * value.
76
+ *
77
+ * Exported because this single decision is what every option field is rendered
78
+ * with, and what an expression's return type is checked against. It deserves
79
+ * to be assertable without standing up a form.
80
+ */
81
+ export declare const getOptionFieldStorageType: (optionName: string, fieldType: TQorusType | TQorusType[] | undefined, schema?: IQorusFormSchema, operators?: IOperatorsSchema, operatorData?: TOperatorValue, isRendererOnly?: TRendererOnlyCheck, isExpression?: boolean) => TQorusType;
73
82
  export declare const hasRequiredOptions: (options?: IQorusFormSchema) => boolean;
74
83
  export declare const OptionsContext: import("use-context-selector").Context<{
75
84
  schema?: IQorusFormSchema;
76
85
  value?: TQorusForm;
77
86
  }>;
78
87
  export declare const fixOptions: (value?: TQorusForm | TQorusFlatForm, options?: IQorusFormSchema, operators?: IOperatorsSchema, isRendererOnly?: TRendererOnlyCheck) => TQorusForm;
88
+ /**
89
+ * Does this rebuild say anything the parent does not already hold?
90
+ *
91
+ * `false` means the rebuild is a MIRROR: `fixOptions` found no default to
92
+ * materialise, so the result repeats the `value` the parent handed down. The
93
+ * compare is empty-normalized because `fixOptions` round-trips a required-empty
94
+ * field between `{ value: '' }` and no `value` key, and that cosmetic
95
+ * difference would otherwise read as new information forever.
96
+ */
97
+ export declare const isMirrorOfValue: (fixedValue: TQorusForm | TQorusFlatForm | undefined, value: TQorusForm | TQorusFlatForm | undefined) => boolean;
98
+ /**
99
+ * What this rebuild lets the form agree with the parent on, if anything.
100
+ *
101
+ * Returns the rebuild when it mirrors `value`, and `undefined` when it
102
+ * contributed something the parent has yet to learn.
103
+ *
104
+ * Adopting the parent's value IS agreement, and saying so matters as much as
105
+ * staying quiet about it. The sync-down skips only when the parent echoed what
106
+ * this form last sent; if adopting a value never updates that record, it points
107
+ * at an older state forever, the skip can never fire again, and the form
108
+ * rebuilds on every single change. Holding the mirror back WITHOUT recording
109
+ * the agreement was measured making the starvation worse, not better — 8 s
110
+ * became a 45 s timeout — which is why the two belong together.
111
+ */
112
+ export declare const agreementFromRebuild: (fixedValue: TQorusForm | TQorusFlatForm | undefined, value: TQorusForm | TQorusFlatForm | undefined) => TQorusForm | TQorusFlatForm | undefined;
113
+ /** The state the emit decision is made against. */
114
+ export interface IEmitDecision {
115
+ /** The form's own copy of the value, as it stands now. */
116
+ localValue: TQorusForm | TQorusFlatForm | undefined;
117
+ /** The `value` prop, read at the moment the decision is made. */
118
+ value: TQorusForm | TQorusFlatForm | undefined;
119
+ /**
120
+ * The last rebuild that mirrored `value` without adding anything, if the most
121
+ * recent one did. `undefined` when the last rebuild contributed something.
122
+ */
123
+ mirroredValue: TQorusForm | TQorusFlatForm | undefined;
124
+ }
125
+ /**
126
+ * Should the form report `localValue` to its parent as an answer?
127
+ *
128
+ * Extracted and pure because the situation it exists for cannot be reproduced
129
+ * through a rendered form: it needs the emit to be decided against a `value`
130
+ * NEWER than the `localValue` built from it, which only happens when two
131
+ * components' effects land in one React commit — and a test renderer flushes
132
+ * effects between updates, so the two never fall out of step. The states below
133
+ * were recorded from a live instrumented run instead, and this is what makes
134
+ * them assertable.
135
+ *
136
+ * Two ways the answer is no:
137
+ *
138
+ * 1. `localValue` is a mirror — a rebuild of the parent's own value that added
139
+ * nothing. Repeating it back is not an answer. **Checked first**, because
140
+ * the comparison in (2) reads whatever `value` has become by now, which,
141
+ * when a nested engine shares the parent value, is already that engine's
142
+ * newer write; comparing against it would find a difference this form never
143
+ * made and emit the older mirror over the newer write. That is the loop.
144
+ * 2. `localValue` already equals `value` — there is nothing to report.
145
+ */
146
+ export declare const shouldEmitLocalValue: ({ localValue, value, mirroredValue, }: IEmitDecision) => boolean;
79
147
  export declare const flattenOptions: (options: TQorusForm) => TQorusFlatForm;
80
148
  export declare const getTypeAndCanBeNull: (type?: TQorusType | TQorusType[], allowed_values?: any[], operatorData?: TOperatorValue, operators?: IOperatorsSchema) => {
81
149
  type: TQorusType;
@@ -133,6 +201,13 @@ export interface IFormEngineProps extends Omit<IReqoreCollectionProps, 'onChange
133
201
  recordRequiresSearchOptions?: boolean;
134
202
  readOnly?: boolean;
135
203
  allowTemplates?: boolean;
204
+ /**
205
+ * The form's SHARED template vocabulary — config items, system properties —
206
+ * offered to every field that supports templates.
207
+ *
208
+ * A field may also declare `templates` of its own in the schema, and that
209
+ * narrower list wins for that field: see {@link TFieldWithOwnTemplates}.
210
+ */
136
211
  stringTemplates?: IReqoreFormTemplates;
137
212
  /** Opt-in: fetch global templates from `system/getContextData` for this context. */
138
213
  interfaceContext?: string;
@@ -207,13 +282,29 @@ export interface IFormEngineProps extends Omit<IReqoreCollectionProps, 'onChange
207
282
  * the reader is choosing WHICH to open rather than reading this one, e.g. a
208
283
  * template's per-action option forms stacked in a drawer.
209
284
  *
210
- * Two escapes override this and are not negotiable: a box always opens while
211
- * a search query is running (`ReqorePanel` unmounts collapsed content, so a
212
- * match inside a closed box would be unreachable), and the Optional box stays
213
- * open when every row is optional, because collapsing it would render a card
214
- * that looks empty and broken.
285
+ * One escape is not negotiable: a box always opens while a search query is
286
+ * running (`ReqorePanel` unmounts collapsed content, so a match inside a
287
+ * closed box would be unreachable).
288
+ *
289
+ * A second applies only by DEFAULT: the Optional box stays open when every
290
+ * row is optional, because a form that collapsed its only box would render a
291
+ * card that looks empty and broken. Passing this prop explicitly waives it —
292
+ * a host that supplies its own heading and explanation around the form (a
293
+ * run-options panel, say) has already told the reader what the card is, and
294
+ * asked for the settings to start folded away.
215
295
  */
216
296
  compactCollapsedGroups?: TFormEngineBoxKey[];
297
+ /**
298
+ * Compact mode only: rename the status boxes.
299
+ *
300
+ * The three are `Needs attention`, `Set` and `Optional`, which read correctly
301
+ * when the form is the page's subject. Inside a host that already named the
302
+ * subject — a panel headed "Change a setting for this run" — a bare
303
+ * `Optional` names a category rather than the things in it, and
304
+ * `Optional settings` is what the reader is looking at. Only the labels
305
+ * change; bucketing, icons and intents are untouched.
306
+ */
307
+ compactBoxLabels?: Partial<Record<TFormEngineBoxKey, string>>;
217
308
  /**
218
309
  * Compact mode only: which parts of the form's toolbar to show. `true`
219
310
  * (default) shows all of it; `false` hides the whole thing.
@@ -354,12 +445,17 @@ export interface IFormEngineProps extends Omit<IReqoreCollectionProps, 'onChange
354
445
  * for the pane to exist at all — so a pasted or reloaded link lands on a
355
446
  * collapsed form.
356
447
  *
357
- * Applied once, on the first render where the schema has rows, so an
358
- * async-loaded schema is covered. It never re-expands a row the user has
359
- * since collapsed, and it does not participate in `expandMode: 'single'`
360
- * accordion collapsing — the caller is naming a starting point, not
361
- * driving the state. Only a remount re-arms it. No-op in classic
362
- * (non-compact) mode.
448
+ * Applied once, on the first render that actually CONTAINS one of the named
449
+ * rows — not merely the first render with any rows — so a schema arriving in
450
+ * pieces still gets its address applied rather than spending the one shot on
451
+ * a form the field had not reached yet.
452
+ *
453
+ * It never re-expands a row the user has since collapsed, and it does not
454
+ * participate in `expandMode: 'single'` accordion collapsing — the caller is
455
+ * naming a starting point, not driving the state. That holds against the
456
+ * engine's own openers too: `expandFirstRequired` / `autoFocusFirstRequired`
457
+ * open their target ALONGSIDE these rows in single mode instead of replacing
458
+ * them. Only a remount re-arms it. No-op in classic (non-compact) mode.
363
459
  */
364
460
  initialExpandedOptions?: string[];
365
461
  /**
@@ -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;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