@object-ui/plugin-form 17.1.0 → 17.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,232 @@
1
1
  # @object-ui/plugin-form
2
2
 
3
+ ## 17.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4a51e77: Stop declaring 14 symbols across ten packages under names `@objectstack/spec`
8
+ owns (objectui#3161, objectstack#4115 batch 7 — the long tail, one or two
9
+ entries per package). All ten packages leave the ledger, which drops from 17
10
+ collisions across 11 packages to 3 across 1.
11
+
12
+ **Renamed exports** — in every case the spec exports the same name for a
13
+ _different_ thing, so the old name was a mis-description rather than a dialect:
14
+
15
+ | package | was | now | what the spec's same-named export is |
16
+ | :------------------------- | :--------------------------------- | :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------- |
17
+ | `@object-ui/fields` | `FieldWidgetProps` | `FieldWidgetComponentProps` | the DECLARED field-widget plugin props contract (a zod object; `field.type` is the `FieldType` enum, `readonly`/`required` carry defaults) |
18
+ | `@object-ui/layout` | `PageHeaderProps` | `PageHeaderComponentProps` | the authored `page:header` node — a zod schema of `title`, `subtitle`, an icon NAME, `breadcrumb`, `actions: string[]` |
19
+ | `@object-ui/layout` | `Page` | `PageNodeRenderer` | the authored page metadata DOCUMENT (`name`, `label`, `type`, `regions`) |
20
+ | `@object-ui/plugin-detail` | `ObjectFieldLike` | `ObjectDefFieldLike` | the i18n duck type `translateObject` walks (`help`/`description`, plus `[key: string]: any`) |
21
+ | `@object-ui/plugin-grid` | `ColumnSummaryConfig` | `ColumnSummarySetting` | the OBJECT form of `ListColumn.summary` **only** — the local one was the whole union, shorthand included |
22
+ | `@object-ui/plugin-grid` | `isMultiValueField` | `hasMultiValueShape` | the spec's classifier, which requires a def with a `type`; the local one is called with `undefined` |
23
+ | `@object-ui/collaboration` | `RealtimeConfig` | `RealtimeSubscriptionConfig` | the app's realtime DECLARATION (`enabled`, `transport`, `subscriptions[]`) |
24
+ | `@object-ui/plugin-charts` | `ChartConfig` | `ChartContainerConfig` | the authored chart document (`type`, `xAxis`, `series`, `showLegend`, …) |
25
+ | `@object-ui/plugin-form` | `FormSection` / `FormSectionProps` | `FormSectionContainer` / `FormSectionContainerProps` | the authored form-section metadata (`name`, `pane`, `visibleWhen`, `fields`) |
26
+ | `@object-ui/providers` | `Theme` | `ThemePreference` | a whole theme DOCUMENT (`name`, `label`, `colors`, `typography`) |
27
+ | `@object-ui/runner` | `App` (default export) | `RunnerApp` | the authored application metadata type **and** the `App.create()` builder |
28
+ | `@object-ui/sdui-parser` | `ValidationResult` | `ManifestValidationResult` | plugin-manifest validation (`{ valid, errors?, warnings? }`), exported from both `kernel` and `contracts` |
29
+
30
+ `ManifestValidationResult` follows the `<what was validated>Validation<Error|Result>`
31
+ convention registered on objectstack#4115 (`@object-ui/core` took
32
+ `SchemaNodeValidationResult` in batch 4). `PageHeaderComponentProps` deliberately
33
+ reuses the name `@object-ui/app-shell` already chose for its own header props in
34
+ batch 3, so one concept does not acquire two dialect names one package apart.
35
+
36
+ **Now derived from the spec instead of hand-written:**
37
+
38
+ - `@object-ui/fields` — `isFileIdToken` is re-exported from
39
+ `@objectstack/spec/data`. The local copy was character-for-character identical
40
+ to the spec's function while its comment said it "mirrors" it, so every
41
+ behaviour test passed and only reference identity could tell the two apart.
42
+ The regex is a wire decision: widening it server-side while a copy here kept
43
+ the old bound would make every new id read as "not a reference", and the
44
+ widget would submit the legacy inline blob to a backend expecting a reference.
45
+ - `@object-ui/plugin-detail` — `FeedFilterMode` is re-exported from
46
+ `@objectstack/spec/data`, in a file that already imported the sibling
47
+ `FeedItemType` from the spec.
48
+ - `@object-ui/plugin-grid` — the eleven-member aggregation union is now the
49
+ spec's `ColumnSummary` enum, so the total `Record<ColumnSummaryType, string>`
50
+ label map turns a member the spec adds into a compile error instead of a
51
+ blank footer cell. `ColumnSummarySetting` is `NonNullable<ListColumn['summary']>`,
52
+ i.e. whatever forms the spec itself accepts. `hasMultiValueShape` delegates to
53
+ the spec's `isMultiValueField` rather than re-deriving it from
54
+ `MULTI_OPTION_TYPES` / `MULTI_CAPABLE_TYPES`.
55
+ - `@object-ui/providers` — `ThemePreference` is the spec's `ThemeMode` union
56
+ plus the one legacy `'system'` spelling this provider still honours for stored
57
+ preferences, read off the schema's own `_zod` carrier so the package takes no
58
+ zod dependency.
59
+
60
+ `@objectstack/spec` moves from `devDependencies` to `dependencies` in
61
+ `@object-ui/fields` (it re-exports a runtime function) and `@object-ui/providers`
62
+ (its public `.d.ts` now references the spec).
63
+
64
+ Scored `minor`, not `major`, per this repo's fixed-group rule — objectui's major
65
+ tracks `@objectstack`, so breaking changes of our own ship as minor with the
66
+ semantics spelled out above (see AGENTS.md §版本号策略). A `major` here would carry
67
+ all 39 packages of the fixed group to `18.0.0` and off objectstack's 17.x line.
68
+
69
+ ### Patch Changes
70
+
71
+ - 335041c: Stop declaring 13 `@object-ui/core` symbols under names `@objectstack/spec` owns
72
+ (objectui#3158, objectstack#4115 batch 4).
73
+
74
+ **Breaking for importers of `@object-ui/core`** — seven exported names changed,
75
+ because the spec exports the same name for a _different_ thing:
76
+
77
+ | was | now | what the spec's same-named export actually is |
78
+ | :----------------------- | :-------------------------------- | :--------------------------------------------------------------------------- |
79
+ | `ChartSeries` | `ChartSeriesBinding` | the authored dataset-binding descriptor (a measure `name`, no `data`) |
80
+ | `ActionHandler` | `ActionRunnerHandler` | the SERVER-side objectql handler, `(ctx) => unknown` |
81
+ | `PluginDefinition` | `RegistryPluginDefinition` | the platform PACKAGE manifest (`id`/`slug`/`staticPath`/install hooks) |
82
+ | `ValidationError` | `SchemaNodeValidationError` | plugin-manifest validation, keyed by `field`, no severity |
83
+ | `ValidationResult` | `SchemaNodeValidationResult` | ditto, with both arrays optional |
84
+ | `defineView` | `defineSystemView` | the VIEW-DOCUMENT factory: parses a `ViewSchema`, returns a validated `View` |
85
+ | `resolveCrudAffordances` | `resolveEffectiveCrudAffordances` | the object-level affordance matrix, with no notion of server API operations |
86
+
87
+ The other six keep their names and are now **imported from the spec** instead of
88
+ re-declared: `StyleMap`, `ResponsiveStyles` (ADR-0065), `RowHeight`,
89
+ `CONTEXT_TOKENS`, `CrudAffordances`, `RowCrudPredicates`.
90
+
91
+ **The copies were live misdescriptions, not just duplicates.** Three said so in
92
+ their own comments:
93
+
94
+ - `CONTEXT_TOKENS` carried a note that the duplication was "temporary until the
95
+ next coordinated release… because the installed `@objectstack/spec` predates
96
+ that export". The installed spec (17.0.0-rc.0) exports it, and the copy was
97
+ byte-identical — so it passed every value comparison and every behavioural
98
+ test for the whole interval in which its stated reason was false.
99
+ - `RowHeight` advertised itself as "the spec's `RowHeightSchema` vocabulary"
100
+ while being a hand-written union. It happened to be correct; nothing would
101
+ have caught the day it stopped being.
102
+ - `managedBy.ts` described itself as a "UI-side mirror of the framework's
103
+ `resolveCrudAffordances()`" and carried its own `DEFAULTS` table — a
104
+ line-for-line copy of the spec's `CRUD_AFFORDANCE_DEFAULTS`, plus a copy of
105
+ its override parser.
106
+
107
+ `resolveEffectiveCrudAffordances` now **delegates** the bucket/`userActions` half
108
+ to the spec's `resolveCrudAffordances()`, so the bucket table has exactly one
109
+ definition on the platform. What stays objectui's is the part the spec has no
110
+ notion of: intersecting that matrix with the server-resolved effective API
111
+ operation set (#3391), so the UI never offers a button the server would 405 —
112
+ and the name now says that instead of claiming to be the spec's function.
113
+
114
+ Deriving `RowCrudPredicates` also **tightens** it: the local copy typed
115
+ `visibleWhen`/`disabledWhen` as `unknown`, where the spec types them as
116
+ `Expression | ExpressionInput`. That was imprecision, not a deliberate dialect.
117
+
118
+ - 5eaa861: `list-view` and `embeddable-form` get a data source on the registry path — their required `objectName` was binding to nothing (#3144).
119
+
120
+ `SchemaRenderer` puts the data source on `SchemaRendererContext` and **never** injects it into
121
+ component props. A component that reads `props.dataSource` therefore needs its registration to
122
+ bridge the two. `object-form`, `object-kanban` and `object-calendar` each register a small
123
+ renderer that does exactly that. These two did not:
124
+
125
+ - `list-view` (and its `view:list` alias) registered the bare `ListView`, which reads
126
+ `props.dataSource` — so its `getObjectSchema` effect returned immediately, nothing was ever
127
+ fetched, and it rendered the `empty-state` "Nothing here".
128
+ - `embeddable-form`'s renderer was `({ schema }) => <EmbeddableForm config={schema} />`, dropping
129
+ the context entirely — so the read-only source it derives for its inner `ObjectForm` was never
130
+ built, and its submit path (`if (dataSource) await dataSource.create(...)`) had nothing to call.
131
+
132
+ Both declare `objectName` **required** in their registry `inputs`. A binding the protocol obliges
133
+ an author to supply, that nothing on that path can consume, is objectstack#4413's shape one layer
134
+ up — and the reason it went unnoticed is that the console never takes this path: it reaches
135
+ ListView through `ObjectView`'s `renderListView` render-prop, which passes a data source itself.
136
+ Broken on the registry/SDUI path, which is the path `sdui.manifest.json` describes and a
137
+ `kind:'react'` page walks.
138
+
139
+ Found by `apps/console/src/__tests__/public-block-binding-reach.test.tsx` (objectstack#4472), not
140
+ by hand — that suite mounts every public block declaring an `objectName` under a recording
141
+ `dataSource` and asserts the binding arrives. Its ledger carried these two as named debt; with the
142
+ bridge in place the ledger's both-directions assertion **failed until the entries were deleted**,
143
+ which is the mechanism working as designed. Only `record:related_list` remains, and legitimately
144
+ (it needs a parent record id from `RecordContext` before it may fetch).
145
+
146
+ An explicit `dataSource` prop still wins, so hosts passing their own are unaffected, and
147
+ `ListViewRenderer` forwards refs so `ListViewHandle` still works through the registry.
148
+
149
+ - a8ad6c0: A required boolean must be savable in its UNCHECKED state — `false` and `0` are values.
150
+
151
+ Reported against an AI-built task tracker whose 任务 object has a required
152
+ `是否完成` boolean: the create form showed the switch OFF, answered "是否完成不能
153
+ 为空", and saved instantly once the switch was turned ON. The app could only ever
154
+ create ALREADY-DONE tasks — the one state the control shows by default was the
155
+ one value it refused to save (cloud#972).
156
+
157
+ Two defects stacked, and either alone is enough to break it:
158
+
159
+ **The `required` verdict read truthiness, not presence.** `@objectstack/spec`
160
+ FieldSchema.required (ADR-0113) is "an insert must provide a NON-NULL value",
161
+ and objectql's record validator implements exactly that. react-hook-form's
162
+ built-in rule instead fails whenever `isBoolean(value) && !value` — its
163
+ accept-the-terms checkbox heritage — silently redefining every required boolean
164
+ as "must be TRUE", including a select whose chosen option value is `false`. It
165
+ also disagreed the other way, letting a whitespace-only string through for the
166
+ server to reject with a 400. The form renderer no longer hands RHF its own
167
+ `required`: the check is now a `validate` entry keyed `required` (so the error
168
+ still surfaces as `type: 'required'`, which the conditional-required cleanup
169
+ keys on) backed by a new shared `isMissingForRequired` in `@object-ui/core`, a
170
+ deliberate mirror of objectql `record-validator.isMissing` — `undefined`,
171
+ `null`, blank-after-trim string, empty array. Deleting the inherited rule also
172
+ stops a `required` that rode in on `validation` from outliving a `requiredWhen`
173
+ that resolved to FALSE.
174
+
175
+ **A boolean field held `undefined` while displaying "off".** A two-state control
176
+ has no third state, but a field with no entry in `defaultValues` rendered an OFF
177
+ switch backed by nothing: the create payload omitted the column (it lands null,
178
+ which reads as unchecked but isn't) and the presence check above would still
179
+ refuse it. The form renderer now folds `false` into `defaultValues` for every
180
+ boolean-widget field the caller left unset — in `defaultValues` itself, not
181
+ per-Controller, because that object is also the dirty-check baseline and what
182
+ the defaults-reset window replays. Every surface gets it, including the
183
+ modal/drawer create dialogs that start from a bare `{}`. An authored default
184
+ (or a loaded record, `null` included) still wins.
185
+
186
+ `WizardForm`'s cross-step gate had its own copy of the empty-value predicate; it
187
+ now imports the shared one so it cannot drift from the per-field verdict. And
188
+ the field-demo renderer read `schema.defaultValue || schema.value`, throwing
189
+ away an authored default of `false` / `0` / `''` — same falsy-as-empty class,
190
+ now `??`.
191
+
192
+ Verified end to end on a local stack against the exact metadata shape
193
+ `apply_blueprint` materializes (`{ type: 'boolean', required: true }`, no
194
+ default): a 是否完成 = 否 task with 工时 = 0 now creates and persists as
195
+ `{ hours: 0, is_done: false }`, turning the switch on still stores `true`, and a
196
+ blank required text is still refused.
197
+
198
+ - Updated dependencies [4ae0ac4]
199
+ - Updated dependencies [696e3c1]
200
+ - Updated dependencies [bca45cc]
201
+ - Updated dependencies [a889e31]
202
+ - Updated dependencies [09d30a4]
203
+ - Updated dependencies [4bf612c]
204
+ - Updated dependencies [335041c]
205
+ - Updated dependencies [b414983]
206
+ - Updated dependencies [256f8cc]
207
+ - Updated dependencies [d9668a7]
208
+ - Updated dependencies [4b470b9]
209
+ - Updated dependencies [785b8a5]
210
+ - Updated dependencies [cb82705]
211
+ - Updated dependencies [f572849]
212
+ - Updated dependencies [4a51e77]
213
+ - Updated dependencies [f6e8d78]
214
+ - Updated dependencies [ea96284]
215
+ - Updated dependencies [d3584c6]
216
+ - Updated dependencies [a8ad6c0]
217
+ - Updated dependencies [444457c]
218
+ - Updated dependencies [850033c]
219
+ - Updated dependencies [022e4c3]
220
+ - Updated dependencies [009e25d]
221
+ - Updated dependencies [726b89c]
222
+ - @object-ui/types@17.2.0
223
+ - @object-ui/components@17.2.0
224
+ - @object-ui/core@17.2.0
225
+ - @object-ui/react@17.2.0
226
+ - @object-ui/i18n@17.2.0
227
+ - @object-ui/fields@17.2.0
228
+ - @object-ui/permissions@17.2.0
229
+
3
230
  ## 17.1.0
4
231
 
5
232
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export interface FormSectionProps {
2
+ export interface FormSectionContainerProps {
3
3
  /**
4
4
  * Section title/label
5
5
  */
@@ -47,18 +47,18 @@ export interface FormSectionProps {
47
47
  showBorder?: boolean;
48
48
  }
49
49
  /**
50
- * FormSection Component
50
+ * FormSectionContainer Component
51
51
  *
52
52
  * Groups form fields with optional header, collapsibility, and multi-column layout.
53
53
  *
54
54
  * @example
55
55
  * ```tsx
56
- * <FormSection label="Contact Details" columns={2} collapsible>
56
+ * <FormSectionContainer label="Contact Details" columns={2} collapsible>
57
57
  * <FormField name="firstName" />
58
58
  * <FormField name="lastName" />
59
- * </FormSection>
59
+ * </FormSectionContainer>
60
60
  * ```
61
61
  */
62
- export declare const FormSection: React.FC<FormSectionProps>;
63
- export default FormSection;
62
+ export declare const FormSectionContainer: React.FC<FormSectionContainerProps>;
63
+ export default FormSectionContainer;
64
64
  //# sourceMappingURL=FormSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../src/FormSection.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqFlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../src/FormSection.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAA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AM,CAAC;IAE3B;;iBAEa;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAElC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAujBhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ObjectForm } from './ObjectForm';
2
2
  export { ObjectForm };
3
3
  export type { ObjectFormProps } from './ObjectForm';
4
- export { FormSection } from './FormSection';
5
- export type { FormSectionProps } from './FormSection';
4
+ export { FormSectionContainer } from './FormSection';
5
+ export type { FormSectionContainerProps } from './FormSection';
6
6
  export { applyAutoLayout, inferColumns, inferModalSize, isWideFieldType, isAutoGeneratedFieldType, applyAutoColSpan, containerGridColsFor, filterCreateModeFields, filterSystemFields, filterAutoGeneratedFields, } from './autoLayout';
7
7
  export { TabbedForm } from './TabbedForm';
8
8
  export type { TabbedFormProps, TabbedFormSchema, FormSectionConfig } from './TabbedForm';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EACL,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,S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