@speles7172/controls 0.1.0 → 0.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/README.md CHANGED
@@ -4,7 +4,8 @@ Reusable React form controls. One package that grows: a control needed in two
4
4
  places belongs here rather than being copied into the second one.
5
5
 
6
6
  Today that is **`<SearchableMultiSelect>`** and its single-select sibling
7
- **`<SearchableSelect>`**.
7
+ **`<SearchableSelect>`**, the typed field **`<ValueInput>`**, and
8
+ **`<KeyValueList>`** for a setting that is really several.
8
9
 
9
10
  ```bash
10
11
  npm install @speles7172/controls
@@ -77,6 +78,59 @@ to render them from.
77
78
  | `renderOption` | Render an option yourself. Gets the option and the current term. |
78
79
  | `theme` | `light` (default), `dark`, or `auto`. Light by default because the control sits in someone else's page, and the host decides what that page looks like. |
79
80
 
81
+ ## A field whose type varies
82
+
83
+ `<ValueInput>` is the control every admin form was writing a `switch` for: a
84
+ checkbox for a boolean, a date picker for a date, a textarea for JSON, a
85
+ searchable select for a reference to one of your records.
86
+
87
+ ```tsx
88
+ import { ValueInput } from '@speles7172/controls';
89
+
90
+ <ValueInput
91
+ type="number" // text | multiline | number | boolean | date
92
+ label="Payment window" // | datetime | json | choice | reference
93
+ value={value} // always a string, whatever the type
94
+ onChange={setValue}
95
+ min={1}
96
+ max={365}
97
+ hint="Days until an invoice is due."
98
+ error={error}
99
+ />;
100
+ ```
101
+
102
+ **The value is always a string**, in every mode. One representation is what lets
103
+ a caller hold a whole form in one shape and lets the control stay ignorant of
104
+ what a value *means* — the caller encodes and decodes.
105
+ `@speles7172/config-client/core` has those functions if you want them.
106
+
107
+ `choice` and `reference` delegate to `<SearchableSelect>`, so a field over forty
108
+ thousand records is the same component as a field over three.
109
+
110
+ ## A list of labelled entries
111
+
112
+ `<KeyValueList>` edits a setting that is really several — a feature-flag set, a
113
+ set of named thresholds, an enum-like list somebody maintains.
114
+
115
+ ```tsx
116
+ import { KeyValueList } from '@speles7172/controls';
117
+
118
+ <KeyValueList
119
+ label="Feature flags"
120
+ itemType="boolean"
121
+ value={items} // [{ label: 'Invoice scanning', key: 'invoice_scan', value: 'true' }]
122
+ onChange={setItems}
123
+ />;
124
+ ```
125
+
126
+ `label` is for a person, `key` is for code, `value` is the setting — separate
127
+ because they change independently: renaming "Invoice scanning" must not break
128
+ the `invoice_scan` every consumer matches on.
129
+
130
+ Two entries sharing a key are flagged on the row, because one of them is
131
+ unreachable whichever way the list is read. Reordering is two buttons rather
132
+ than a drag handle, and unlike the implementation this generalises, they work.
133
+
80
134
  ## Keyboard and screen readers
81
135
 
82
136
  `↑` `↓` move, wrapping. `Home` / `End` jump to the ends. `Enter` toggles the
package/dist/.tsbuildinfo CHANGED
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../controls-client/dist/core/errors.d.ts","../../controls-client/dist/core/option.d.ts","../../controls-client/dist/core/query.d.ts","../../controls-client/dist/core/match.d.ts","../../controls-client/dist/core/index.d.ts","../src/types.ts","../src/useoptionselect.ts","../src/searchablemultiselect.tsx","../src/searchableselect.tsx","../src/index.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/esrecurse/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/lib/type-overrides.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[90,140,157,158],[79,80,90,140,157,158],[90,137,138,140,157,158],[90,139,140,157,158],[140,157,158],[90,140,145,157,158,175],[90,140,141,146,151,157,158,160,172,183],[90,140,141,142,151,157,158,160],[85,86,87,90,140,157,158],[90,140,143,157,158,184],[90,140,144,145,152,157,158,161],[90,140,145,157,158,172,180],[90,140,146,148,151,157,158,160],[90,139,140,147,157,158],[90,140,148,149,157,158],[90,140,150,151,157,158],[90,139,140,151,157,158],[90,140,151,152,153,157,158,172,183],[90,140,151,152,153,157,158,167,172,175],[90,132,140,148,151,154,157,158,160,172,183],[90,140,151,152,154,155,157,158,160,172,180,183],[90,140,154,156,157,158,172,180,183],[88,89,90,91,92,93,94,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],[90,140,151,157,158],[90,140,157,158,159,183],[90,140,148,151,157,158,160,172],[90,140,157,158,161],[90,140,157,158,162],[90,139,140,157,158,163],[90,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],[90,140,157,158,165],[90,140,157,158,166],[90,140,151,157,158,167,168],[90,140,157,158,167,169,184,186],[90,140,152,157,158],[90,140,151,157,158,172,173,175],[90,140,157,158,174,175],[90,140,157,158,172,173],[90,140,157,158,175],[90,140,157,158,176],[90,137,140,157,158,172,177,183],[90,140,151,157,158,178,179],[90,140,157,158,178,179],[90,140,145,157,158,160,172,180],[90,140,157,158,181],[90,140,157,158,160,182],[90,140,154,157,158,166,183],[90,140,145,157,158,184],[90,140,157,158,172,185],[90,140,157,158,159,186],[90,140,157,158,187],[90,132,140,157,158],[90,132,140,151,153,157,158,163,172,175,183,185,186,188],[90,140,157,158,172,189],[90,140,151,157,158,172,180,190,191,192,195,196,197],[90,140,157,158,197],[66,90,140,157,158],[64,65,90,140,157,158],[90,140,157,158,192,193,194],[90,140,157,158,172,192],[90,104,108,140,157,158,183],[90,104,140,157,158,172,183],[90,99,140,157,158],[90,101,104,140,157,158,180,183],[90,140,157,158,160,180],[90,140,157,158,190],[90,99,140,157,158,190],[90,101,104,140,157,158,160,183],[90,96,97,100,103,140,151,157,158,172,183],[90,104,111,140,157,158],[90,96,102,140,157,158],[90,104,125,126,140,157,158],[90,100,104,140,157,158,175,183,190],[90,125,140,157,158,190],[90,98,99,140,157,158,190],[90,104,140,157,158],[90,98,99,100,101,102,103,104,105,106,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,126,127,128,129,130,131,140,157,158],[90,104,119,140,157,158],[90,104,111,112,140,157,158],[90,102,104,112,113,140,157,158],[90,103,140,157,158],[90,96,99,104,140,157,158],[90,104,108,112,113,140,157,158],[90,108,140,157,158],[90,102,104,107,140,157,158,183],[90,96,101,104,111,140,157,158],[90,140,157,158,172],[90,99,104,125,140,157,158,188,190],[68,69,70,71,90,140,157,158],[69,90,140,157,158],[67,72,73,74,75,76,90,140,157,158],[66,67,72,73,74,90,140,157,158],[67,75,90,140,157,158],[67,72,90,140,157,158],[66,67,72,73,90,140,157,158]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e29f41b158de217f94cb9676bf9cbd0cd9b5a46e1985141ed36e075c52bf6ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"814d5c7384f3ca276e9dc4bcfde5545801a3ea0bfae09916b3336774e662fd1b","impliedFormat":1},{"version":"b838d4c72740eb0afd284bf7575b74c624b105eff2e8c7b4aeead57e7ac320ff","impliedFormat":1},"8a11ecf9d7d5ee4e1f8f1c4972eb8106af76b2aed6d17e7c6a4a4e0e85d3584b","db43d1fea288945f5943c4f4d4582119b146baecb9be2ee881f4a58ab9b21cd8","065b9fa76b79334013b85009ba8b401299514e10d24dcbb03cf9e23d407fc8a1","f7e381e55f937015777f6388af402c211a0d17d6189835730800c1d69a212237","568f3e9626c246cc94723676bd20965bac8a9778d608baa1dcf784d304745d24",{"version":"805849bb36b5bfd0828e4ead496dadcb456173ec8284d95b1d0f1a3bcfbd08f5","signature":"a538cb42c818efc1b257a2d99ce1a7b9beb145fcfb0dfc06e8e34a67b3ac1fb4"},{"version":"b2e433f9c986209385d2523f134db5504787a0a20e6fb2addb7af7d47bfb9b18","signature":"5b67956b18f2cb16a1b00ebd51d6795f04ad3d3a44e02c0a56c90aa6d45f52d5"},{"version":"e4c64b3cdd525a7988a89cbb541a34c0ffcaed04b7cc27c6b756c28e9344ad03","signature":"a39b5111161648254d2d33e0e85be088356e45a562a85babbbbb58d66eb8f288"},{"version":"95caacd176774af872d703584e555a3771915da0f061d870a622a4111daae658","signature":"01224a612db346ce514039cffe35263c0a2e5cbd337eced90098a5963a891012"},{"version":"4b0f73144fbb9d9144f6f1748a522a48131e3d099c4626302a25f688191b032e","signature":"2f2cbc980aa57af308e3de32746ed970a2da60cf2c0752e9de90bb2b2e088b0d"},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"d5799bcf7fe4e6de3063abf4e321c14b051706f03cf5716d8a19f22fe1f69519","impliedFormat":1},{"version":"751764bb94219b4ce8f5475dc35d3de2e432fea01a0c9610cd7f69ad05e398c6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"78dbea00e90d2df8ea3dbef0cc379d95b8be9b71cd6bde4c28728f306811803b","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e1e46d0a9837ee058c100501080c920fa98081ea3956af0374308ba6f22a33e","impliedFormat":1},{"version":"272ca407e0c9068bdc5152552d876e68037ceae3de62e529306403e973dec8e1","impliedFormat":1},{"version":"fa7834c715d5357e4540cee40ce96c3250ddb67a7b879a6b7fa0e86d6696f121","impliedFormat":1},{"version":"22dfb07a7ab15b66ac043829056fe70124844636ae719551812ac631ba04985b","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"0cb167c371eaa8c869f8a7656a7296f2e4fae43b4d8b803a680236b24794e5f9","impliedFormat":1},{"version":"0a839dba0287cc0481ad4beedd48a1c64acf1e212ae865d1315f7007ca215161","impliedFormat":1},{"version":"38dc4655376cd1a4bd6bb3763d92949233e33d38d3dd3cbea7bbf218175a38ef","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"d61e0a64cd175208ac0b83670151a9a6b5916f0d1ffcdc5c29c90b1cebfc5045","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"48a679952eefe4cb776d5a0e1ccba2d3eb53b57448bbb7abc1fcebcbd5440188","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2d14da6ecb49bf828d83948765ec2d3a579d476bbb9645e749610baa6ec880ca","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"0aef708fb4c7a6b915e8305cbfac40cd207b032dbaabe9a01889a5fff3254681","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"ad9bdafb4e7abf14cc53ce7970486a84c87831e62891e5dfe798ddcd55e84701","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"71d3ae6a5e73ca4130762560425e00984ebaff64d5353a3333d1bb7eb86ef336","impliedFormat":1},{"version":"f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","impliedFormat":1},{"version":"4a20a0a39aca8738cc5088f9dea2969bf2af3ca1341c56071f513059b122d150","impliedFormat":1},{"version":"a33c98f95c099c2a9a383b156c8f2a16605843d29455a954c1431bcbbc1ce35a","impliedFormat":1},{"version":"effa1fd4980f6dff4e81ed67009b847d34449087504319f9a0dd081e8cf23a31","impliedFormat":1},{"version":"c2c9f431f788b434e6ae327844ef6712bb6a6a88ad08acf20bf6cfeb41d154ba","impliedFormat":1},{"version":"798367363a3274220cbed839b883fe2f52ba7197b25e8cb2ac59c1e1fd8af6b7","impliedFormat":1},{"version":"cb850fef5e66935c65a230a1a0dae219286feb6510a092fecd3cbe1e1eb2b5b1","impliedFormat":1},{"version":"be1cc4d94ea60cbe567bc29ed479d42587bf1e6cba490f123d329976b0fe4ee5","impliedFormat":1}],"root":[[73,77]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"jsx":4,"module":99,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[78,1],[81,2],[79,1],[82,1],[83,1],[84,1],[137,3],[138,3],[139,4],[90,5],[140,6],[141,7],[142,8],[85,1],[88,9],[86,1],[87,1],[143,10],[144,11],[145,12],[146,13],[147,14],[148,15],[149,15],[150,16],[151,17],[152,18],[153,19],[91,1],[89,1],[154,20],[155,21],[156,22],[190,23],[157,24],[158,1],[159,25],[160,26],[161,27],[162,28],[163,29],[164,30],[165,31],[166,32],[167,33],[168,33],[169,34],[170,1],[171,35],[172,36],[174,37],[173,38],[175,39],[176,40],[177,41],[178,42],[179,43],[180,44],[181,45],[182,46],[183,47],[184,48],[185,49],[186,50],[187,51],[92,1],[93,1],[94,1],[133,52],[134,1],[135,1],[136,39],[188,53],[189,54],[197,55],[196,56],[198,57],[64,1],[66,58],[67,57],[80,1],[95,1],[65,1],[195,59],[192,1],[194,60],[193,1],[191,1],[62,1],[63,1],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[23,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[8,1],[52,1],[49,1],[50,1],[51,1],[53,1],[9,1],[54,1],[55,1],[56,1],[58,1],[57,1],[59,1],[60,1],[10,1],[61,1],[1,1],[111,61],[121,62],[110,61],[131,63],[102,64],[101,65],[130,66],[124,67],[129,68],[104,69],[118,70],[103,71],[127,72],[99,73],[98,66],[128,74],[100,75],[105,76],[106,1],[109,76],[96,1],[132,77],[122,78],[113,79],[114,80],[116,81],[112,82],[115,83],[125,66],[107,84],[108,85],[117,86],[97,87],[120,78],[119,76],[123,1],[126,88],[68,1],[72,89],[71,90],[69,1],[70,1],[77,91],[75,92],[76,93],[73,94],[74,95]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../controls-client/dist/core/errors.d.ts","../../controls-client/dist/core/option.d.ts","../../controls-client/dist/core/query.d.ts","../../controls-client/dist/core/match.d.ts","../../controls-client/dist/core/index.d.ts","../src/types.ts","../src/useOptionSelect.ts","../src/SearchableMultiSelect.tsx","../src/SearchableSelect.tsx","../src/ValueInput.tsx","../src/KeyValueList.tsx","../src/index.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/esrecurse/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/lib/type-overrides.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[92,142,159,160],[81,82,92,142,159,160],[92,139,140,142,159,160],[92,141,142,159,160],[142,159,160],[92,142,147,159,160,177],[92,142,143,148,153,159,160,162,174,185],[92,142,143,144,153,159,160,162],[87,88,89,92,142,159,160],[92,142,145,159,160,186],[92,142,146,147,154,159,160,163],[92,142,147,159,160,174,182],[92,142,148,150,153,159,160,162],[92,141,142,149,159,160],[92,142,150,151,159,160],[92,142,152,153,159,160],[92,141,142,153,159,160],[92,142,153,154,155,159,160,174,185],[92,142,153,154,155,159,160,169,174,177],[92,134,142,150,153,156,159,160,162,174,185],[92,142,153,154,156,157,159,160,162,174,182,185],[92,142,156,158,159,160,174,182,185],[90,91,92,93,94,95,96,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191],[92,142,153,159,160],[92,142,159,160,161,185],[92,142,150,153,159,160,162,174],[92,142,159,160,163],[92,142,159,160,164],[92,141,142,159,160,165],[92,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191],[92,142,159,160,167],[92,142,159,160,168],[92,142,153,159,160,169,170],[92,142,159,160,169,171,186,188],[92,142,154,159,160],[92,142,153,159,160,174,175,177],[92,142,159,160,176,177],[92,142,159,160,174,175],[92,142,159,160,177],[92,142,159,160,178],[92,139,142,159,160,174,179,185],[92,142,153,159,160,180,181],[92,142,159,160,180,181],[92,142,147,159,160,162,174,182],[92,142,159,160,183],[92,142,159,160,162,184],[92,142,156,159,160,168,185],[92,142,147,159,160,186],[92,142,159,160,174,187],[92,142,159,160,161,188],[92,142,159,160,189],[92,134,142,159,160],[92,134,142,153,155,159,160,165,174,177,185,187,188,190],[92,142,159,160,174,191],[92,142,153,159,160,174,182,192,193,194,197,198,199],[92,142,159,160,199],[66,92,142,159,160],[64,65,92,142,159,160],[92,142,159,160,194,195,196],[92,142,159,160,174,194],[92,106,110,142,159,160,185],[92,106,142,159,160,174,185],[92,101,142,159,160],[92,103,106,142,159,160,182,185],[92,142,159,160,162,182],[92,142,159,160,192],[92,101,142,159,160,192],[92,103,106,142,159,160,162,185],[92,98,99,102,105,142,153,159,160,174,185],[92,106,113,142,159,160],[92,98,104,142,159,160],[92,106,127,128,142,159,160],[92,102,106,142,159,160,177,185,192],[92,127,142,159,160,192],[92,100,101,142,159,160,192],[92,106,142,159,160],[92,100,101,102,103,104,105,106,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,142,159,160],[92,106,121,142,159,160],[92,106,113,114,142,159,160],[92,104,106,114,115,142,159,160],[92,105,142,159,160],[92,98,101,106,142,159,160],[92,106,110,114,115,142,159,160],[92,110,142,159,160],[92,104,106,109,142,159,160,185],[92,98,103,106,113,142,159,160],[92,142,159,160,174],[92,101,106,127,142,159,160,190,192],[68,69,70,71,92,142,159,160],[69,92,142,159,160],[66,67,73,92,142,159,160],[66,67,72,73,74,92,142,159,160],[67,75,92,142,159,160],[66,67,73,76,92,142,159,160],[67,72,73,74,75,76,77,78,92,142,159,160],[67,72,92,142,159,160],[66,67,72,73,92,142,159,160]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e29f41b158de217f94cb9676bf9cbd0cd9b5a46e1985141ed36e075c52bf6ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"814d5c7384f3ca276e9dc4bcfde5545801a3ea0bfae09916b3336774e662fd1b","impliedFormat":1},{"version":"b838d4c72740eb0afd284bf7575b74c624b105eff2e8c7b4aeead57e7ac320ff","impliedFormat":1},"8a11ecf9d7d5ee4e1f8f1c4972eb8106af76b2aed6d17e7c6a4a4e0e85d3584b","db43d1fea288945f5943c4f4d4582119b146baecb9be2ee881f4a58ab9b21cd8","065b9fa76b79334013b85009ba8b401299514e10d24dcbb03cf9e23d407fc8a1","f7e381e55f937015777f6388af402c211a0d17d6189835730800c1d69a212237","568f3e9626c246cc94723676bd20965bac8a9778d608baa1dcf784d304745d24",{"version":"805849bb36b5bfd0828e4ead496dadcb456173ec8284d95b1d0f1a3bcfbd08f5","signature":"a538cb42c818efc1b257a2d99ce1a7b9beb145fcfb0dfc06e8e34a67b3ac1fb4"},{"version":"b2e433f9c986209385d2523f134db5504787a0a20e6fb2addb7af7d47bfb9b18","signature":"5b67956b18f2cb16a1b00ebd51d6795f04ad3d3a44e02c0a56c90aa6d45f52d5"},{"version":"e4c64b3cdd525a7988a89cbb541a34c0ffcaed04b7cc27c6b756c28e9344ad03","signature":"a39b5111161648254d2d33e0e85be088356e45a562a85babbbbb58d66eb8f288"},{"version":"95caacd176774af872d703584e555a3771915da0f061d870a622a4111daae658","signature":"01224a612db346ce514039cffe35263c0a2e5cbd337eced90098a5963a891012"},{"version":"8d352d2f97776812a6bbb29e70b76216b370699435b491246664e4e2f1978321","signature":"64bcae3543aff941bcecefb4a0aac33636478dbfeb85e10b2885c9f2b4deb458"},{"version":"17896d500cde8a2fe3798a18c8561a7a767201ff9d57e7a693d1d0866584ef7f","signature":"ae9e38ee6c1309da03a14cf8e83d9e64c0ecd32a4d9b293aff2dd254767c346d"},{"version":"44cda76dde1218eaaa7f06c42606accac071a9fb8137f1b8205a6fbcd63bdad7","signature":"ae81e0c7e57fbcd778cc5e71ba6e0e56e0be134fe615e81732f530aa341e45ee"},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"d5799bcf7fe4e6de3063abf4e321c14b051706f03cf5716d8a19f22fe1f69519","impliedFormat":1},{"version":"751764bb94219b4ce8f5475dc35d3de2e432fea01a0c9610cd7f69ad05e398c6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"78dbea00e90d2df8ea3dbef0cc379d95b8be9b71cd6bde4c28728f306811803b","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e1e46d0a9837ee058c100501080c920fa98081ea3956af0374308ba6f22a33e","impliedFormat":1},{"version":"272ca407e0c9068bdc5152552d876e68037ceae3de62e529306403e973dec8e1","impliedFormat":1},{"version":"fa7834c715d5357e4540cee40ce96c3250ddb67a7b879a6b7fa0e86d6696f121","impliedFormat":1},{"version":"22dfb07a7ab15b66ac043829056fe70124844636ae719551812ac631ba04985b","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"0cb167c371eaa8c869f8a7656a7296f2e4fae43b4d8b803a680236b24794e5f9","impliedFormat":1},{"version":"0a839dba0287cc0481ad4beedd48a1c64acf1e212ae865d1315f7007ca215161","impliedFormat":1},{"version":"38dc4655376cd1a4bd6bb3763d92949233e33d38d3dd3cbea7bbf218175a38ef","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"d61e0a64cd175208ac0b83670151a9a6b5916f0d1ffcdc5c29c90b1cebfc5045","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"48a679952eefe4cb776d5a0e1ccba2d3eb53b57448bbb7abc1fcebcbd5440188","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2d14da6ecb49bf828d83948765ec2d3a579d476bbb9645e749610baa6ec880ca","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"0aef708fb4c7a6b915e8305cbfac40cd207b032dbaabe9a01889a5fff3254681","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"ad9bdafb4e7abf14cc53ce7970486a84c87831e62891e5dfe798ddcd55e84701","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"71d3ae6a5e73ca4130762560425e00984ebaff64d5353a3333d1bb7eb86ef336","impliedFormat":1},{"version":"f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","impliedFormat":1},{"version":"4a20a0a39aca8738cc5088f9dea2969bf2af3ca1341c56071f513059b122d150","impliedFormat":1},{"version":"a33c98f95c099c2a9a383b156c8f2a16605843d29455a954c1431bcbbc1ce35a","impliedFormat":1},{"version":"effa1fd4980f6dff4e81ed67009b847d34449087504319f9a0dd081e8cf23a31","impliedFormat":1},{"version":"c2c9f431f788b434e6ae327844ef6712bb6a6a88ad08acf20bf6cfeb41d154ba","impliedFormat":1},{"version":"798367363a3274220cbed839b883fe2f52ba7197b25e8cb2ac59c1e1fd8af6b7","impliedFormat":1},{"version":"cb850fef5e66935c65a230a1a0dae219286feb6510a092fecd3cbe1e1eb2b5b1","impliedFormat":1},{"version":"be1cc4d94ea60cbe567bc29ed479d42587bf1e6cba490f123d329976b0fe4ee5","impliedFormat":1}],"root":[[73,79]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"jsx":4,"module":99,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[80,1],[83,2],[81,1],[84,1],[85,1],[86,1],[139,3],[140,3],[141,4],[92,5],[142,6],[143,7],[144,8],[87,1],[90,9],[88,1],[89,1],[145,10],[146,11],[147,12],[148,13],[149,14],[150,15],[151,15],[152,16],[153,17],[154,18],[155,19],[93,1],[91,1],[156,20],[157,21],[158,22],[192,23],[159,24],[160,1],[161,25],[162,26],[163,27],[164,28],[165,29],[166,30],[167,31],[168,32],[169,33],[170,33],[171,34],[172,1],[173,35],[174,36],[176,37],[175,38],[177,39],[178,40],[179,41],[180,42],[181,43],[182,44],[183,45],[184,46],[185,47],[186,48],[187,49],[188,50],[189,51],[94,1],[95,1],[96,1],[135,52],[136,1],[137,1],[138,39],[190,53],[191,54],[199,55],[198,56],[200,57],[64,1],[66,58],[67,57],[82,1],[97,1],[65,1],[197,59],[194,1],[196,60],[195,1],[193,1],[62,1],[63,1],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[23,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[8,1],[52,1],[49,1],[50,1],[51,1],[53,1],[9,1],[54,1],[55,1],[56,1],[58,1],[57,1],[59,1],[60,1],[10,1],[61,1],[1,1],[113,61],[123,62],[112,61],[133,63],[104,64],[103,65],[132,66],[126,67],[131,68],[106,69],[120,70],[105,71],[129,72],[101,73],[100,66],[130,74],[102,75],[107,76],[108,1],[111,76],[98,1],[134,77],[124,78],[115,79],[116,80],[118,81],[114,82],[117,83],[127,66],[109,84],[110,85],[119,86],[99,87],[122,78],[121,76],[125,1],[128,88],[68,1],[72,89],[71,90],[69,1],[70,1],[78,91],[75,92],[76,93],[77,94],[79,95],[73,96],[74,97]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,58 @@
1
+ import type { ControlTheme } from './types.js';
2
+ /** How one entry's value is typed. */
3
+ export type KeyValueItemType = 'text' | 'number' | 'boolean';
4
+ /**
5
+ * One entry: something to read, something to match on, and what it is set to.
6
+ *
7
+ * `label` is for a person, `key` is for code, `value` is the setting. The three
8
+ * are separate because they change independently — renaming "Invoice scanning"
9
+ * to "Document scanning" must not break the `invoice_scan` every consumer
10
+ * matches on.
11
+ */
12
+ export interface KeyValueItem {
13
+ label: string;
14
+ key: string;
15
+ value: string;
16
+ type?: KeyValueItemType;
17
+ }
18
+ export interface KeyValueListProps {
19
+ value: readonly KeyValueItem[];
20
+ onChange(items: KeyValueItem[]): void;
21
+ label?: string;
22
+ /** The editor for entries that do not carry a `type` of their own. */
23
+ itemType?: KeyValueItemType;
24
+ /** Column headings, for a list whose three columns mean something specific. */
25
+ headings?: {
26
+ label: string;
27
+ key: string;
28
+ value: string;
29
+ };
30
+ addLabel?: string;
31
+ disabled?: boolean;
32
+ readOnly?: boolean;
33
+ emptyLabel?: string;
34
+ className?: string;
35
+ theme?: ControlTheme;
36
+ 'data-testid'?: string;
37
+ }
38
+ /**
39
+ * An editable list of labelled entries.
40
+ *
41
+ * The control behind a feature-flag set, a set of named thresholds, an
42
+ * enum-like list of choices an administrator maintains — anywhere a single
43
+ * setting is really several, and the several are not known in advance.
44
+ *
45
+ * Two things it does that the implementation this generalises did not:
46
+ *
47
+ * - **Reordering actually reorders.** The reference rendered a drag handle
48
+ * (`<GripVertical/>`) that was not draggable and was wired to nothing, so a
49
+ * list whose order mattered could only be reordered by deleting entries and
50
+ * retyping them in sequence. Two buttons are less elegant than a drag and
51
+ * they work, including from a keyboard.
52
+ * - **A duplicate key is shown as one.** Two entries with the same key make the
53
+ * second unreachable — a `find` keeps the first, a map keeps the last — so
54
+ * whichever way the consumer reads the list, one of the two entries is doing
55
+ * nothing. It is flagged on the row rather than only refused on save.
56
+ */
57
+ export declare function KeyValueList({ value, onChange, label, itemType, headings, addLabel, disabled, readOnly, emptyLabel, className, theme, 'data-testid': testId, }: KeyValueListProps): import("react").JSX.Element;
58
+ //# sourceMappingURL=KeyValueList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueList.d.ts","sourceRoot":"","sources":["../src/KeyValueList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,sCAAsC;AACtC,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAEtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,+EAA+E;IAC/E,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,QAAiB,EACjB,QAA2B,EAC3B,QAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,UAA4B,EAC5B,SAAS,EACT,KAAe,EACf,aAAa,EAAE,MAAM,GACtB,EAAE,iBAAiB,+BAkJnB"}
@@ -0,0 +1,54 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useId } from 'react';
3
+ const DEFAULT_HEADINGS = { label: 'Label', key: 'Key', value: 'Value' };
4
+ /**
5
+ * An editable list of labelled entries.
6
+ *
7
+ * The control behind a feature-flag set, a set of named thresholds, an
8
+ * enum-like list of choices an administrator maintains — anywhere a single
9
+ * setting is really several, and the several are not known in advance.
10
+ *
11
+ * Two things it does that the implementation this generalises did not:
12
+ *
13
+ * - **Reordering actually reorders.** The reference rendered a drag handle
14
+ * (`<GripVertical/>`) that was not draggable and was wired to nothing, so a
15
+ * list whose order mattered could only be reordered by deleting entries and
16
+ * retyping them in sequence. Two buttons are less elegant than a drag and
17
+ * they work, including from a keyboard.
18
+ * - **A duplicate key is shown as one.** Two entries with the same key make the
19
+ * second unreachable — a `find` keeps the first, a map keeps the last — so
20
+ * whichever way the consumer reads the list, one of the two entries is doing
21
+ * nothing. It is flagged on the row rather than only refused on save.
22
+ */
23
+ export function KeyValueList({ value, onChange, label, itemType = 'text', headings = DEFAULT_HEADINGS, addLabel = 'Add item', disabled, readOnly, emptyLabel = 'No items yet.', className, theme = 'light', 'data-testid': testId, }) {
24
+ const ids = useId();
25
+ const locked = disabled === true || readOnly === true;
26
+ const counts = new Map();
27
+ for (const item of value)
28
+ counts.set(item.key, (counts.get(item.key) ?? 0) + 1);
29
+ const replace = (index, patch) => {
30
+ onChange(value.map((item, position) => (position === index ? { ...item, ...patch } : item)));
31
+ };
32
+ const move = (index, by) => {
33
+ const target = index + by;
34
+ if (target < 0 || target >= value.length)
35
+ return;
36
+ const next = [...value];
37
+ const [item] = next.splice(index, 1);
38
+ if (item !== undefined)
39
+ next.splice(target, 0, item);
40
+ onChange(next);
41
+ };
42
+ const add = () => {
43
+ onChange([
44
+ ...value,
45
+ { label: '', key: '', value: itemType === 'boolean' ? 'false' : '', type: itemType },
46
+ ]);
47
+ };
48
+ return (_jsxs("div", { className: `ctl ctl-kv${className === undefined ? '' : ` ${className}`}`, "data-ctl-theme": theme, "data-testid": testId, children: [label !== undefined && (_jsx("span", { className: "ctl-label", id: `${ids}-label`, children: label })), value.length === 0 ? (_jsx("p", { className: "ctl-note ctl-kv-empty", children: emptyLabel })) : (_jsxs("div", { className: "ctl-kv-head", "aria-hidden": "true", children: [_jsx("span", { className: "ctl-kv-cell", children: headings.label }), _jsx("span", { className: "ctl-kv-cell", children: headings.key }), _jsx("span", { className: "ctl-kv-cell", children: headings.value }), _jsx("span", { className: "ctl-kv-actions" })] })), value.map((item, index) => {
49
+ const duplicate = item.key !== '' && (counts.get(item.key) ?? 0) > 1;
50
+ const type = item.type ?? itemType;
51
+ return (_jsxs("div", { className: `ctl-kv-row${duplicate ? ' ctl-kv-duplicate' : ''}`, children: [_jsx("input", { className: "ctl-input ctl-kv-cell", "aria-label": `${headings.label} ${index + 1}`, value: item.label, disabled: locked, onChange: (event) => replace(index, { label: event.target.value }) }), _jsx("input", { className: "ctl-input ctl-kv-cell", "aria-label": `${headings.key} ${index + 1}`, "aria-invalid": duplicate ? true : undefined, value: item.key, disabled: locked, onChange: (event) => replace(index, { key: event.target.value }) }), type === 'boolean' ? (_jsxs("label", { className: "ctl-switch ctl-kv-cell", children: [_jsx("input", { type: "checkbox", className: "ctl-switch-box", "aria-label": `${headings.value} ${index + 1}`, checked: item.value === 'true', disabled: locked, onChange: (event) => replace(index, { value: event.target.checked ? 'true' : 'false' }) }), _jsx("span", { className: "ctl-switch-text", children: item.value === 'true' ? 'On' : 'Off' })] })) : (_jsx("input", { className: "ctl-input ctl-kv-cell", type: type === 'number' ? 'number' : 'text', step: type === 'number' ? 'any' : undefined, "aria-label": `${headings.value} ${index + 1}`, value: item.value, disabled: locked, onChange: (event) => replace(index, { value: event.target.value }) })), _jsxs("span", { className: "ctl-kv-actions", children: [_jsx("button", { type: "button", className: "ctl-icon-button", "aria-label": `Move ${headings.label} ${index + 1} up`, disabled: locked || index === 0, onClick: () => move(index, -1), children: "\u2191" }), _jsx("button", { type: "button", className: "ctl-icon-button", "aria-label": `Move ${headings.label} ${index + 1} down`, disabled: locked || index === value.length - 1, onClick: () => move(index, 1), children: "\u2193" }), _jsx("button", { type: "button", className: "ctl-icon-button", "aria-label": `Remove ${headings.label} ${index + 1}`, disabled: locked, onClick: () => onChange(value.filter((_, position) => position !== index)), children: "\u2715" })] })] }, `${ids}-${index}`));
52
+ }), [...counts.entries()].some(([key, count]) => key !== '' && count > 1) && (_jsx("p", { className: "ctl-note ctl-error", role: "alert", children: "Two entries share a key. Only one of them will ever be read." })), !locked && (_jsxs("button", { type: "button", className: "ctl-link ctl-kv-add", onClick: add, children: ["+ ", addLabel] }))] }));
53
+ }
54
+ //# sourceMappingURL=KeyValueList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueList.js","sourceRoot":"","sources":["../src/KeyValueList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAuC9B,MAAM,gBAAgB,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAW,CAAC;AAEjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ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EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,uBAGtB,EACT,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,iBAAiB,gBACf,UAAU,QAAQ,CAAC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,EACnD,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,uBAGnE,IACJ,KAxEF,GAAG,GAAG,IAAI,KAAK,EAAE,CAyElB,CACP,CAAC;YACJ,CAAC,CAAC,EAED,CAAC,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CACxE,YAAG,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,OAAO,6EAE1C,CACL,EAEA,CAAC,MAAM,IAAI,CACV,kBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,GAAG,mBAC7D,QAAQ,IACJ,CACV,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,95 @@
1
+ import type { ControlTheme, Option, OptionTransport } from './types.js';
2
+ /**
3
+ * The kinds of value a form field can hold.
4
+ *
5
+ * Not a *domain* vocabulary — there is no `email`, no `currency`, no `percent`,
6
+ * because those are the same input with different validation, and validation is
7
+ * the caller's. These are the distinct **editors**: nine ways of typing a
8
+ * value, each one a different control.
9
+ */
10
+ export type ValueInputType = 'text' | 'multiline' | 'number' | 'boolean' | 'date' | 'datetime' | 'json' | 'choice' | 'reference';
11
+ export interface ValueInputProps {
12
+ type: ValueInputType;
13
+ /**
14
+ * The value, always as a string.
15
+ *
16
+ * One representation for every type, which is what lets a caller store a
17
+ * whole form in one shape and lets this control stay ignorant of what a value
18
+ * *means*. `'true'`, `'12.5'`, `'2026-08-20'`, `'{"a":1}'` — the caller
19
+ * encodes and decodes; `@speles7172/config-client/core` has the functions for
20
+ * it, and no dependency on them is needed here.
21
+ */
22
+ value: string;
23
+ onChange(value: string): void;
24
+ label?: string;
25
+ /** Shown under the field, in the error colour. */
26
+ error?: string | null;
27
+ /** Shown under the field, in the muted colour, when there is no error. */
28
+ hint?: string;
29
+ placeholder?: string;
30
+ disabled?: boolean;
31
+ /** Renders the value, refuses to change it. For a setting the deployment owns. */
32
+ readOnly?: boolean;
33
+ required?: boolean;
34
+ /** For `choice`: the values on offer. */
35
+ options?: readonly Option[];
36
+ /** For `reference`: where to search for records. */
37
+ transport?: OptionTransport;
38
+ /** For `number`, and for the seconds granularity of `datetime` (default 1). */
39
+ min?: number;
40
+ max?: number;
41
+ step?: number | 'any';
42
+ /** For `multiline` and `json`. */
43
+ rows?: number;
44
+ className?: string;
45
+ theme?: ControlTheme;
46
+ 'data-testid'?: string;
47
+ }
48
+ /**
49
+ * `datetime-local` will not accept an ISO instant, and says nothing about it.
50
+ *
51
+ * `<input type="datetime-local" value="2026-08-20T13:45:00Z">` renders **empty**
52
+ * — the trailing `Z` makes the value invalid for that input, and browsers
53
+ * silently blank an invalid value rather than reporting one. The symptom is a
54
+ * date field that looks unset for a setting that is set, and the fix is not
55
+ * discoverable from the markup.
56
+ *
57
+ * So the instant is shown in the viewer's own timezone and converted back on
58
+ * the way out. What is stored stays an ISO instant; what is displayed is the
59
+ * local time, which is what the person setting "send the digest at" means.
60
+ *
61
+ * **Seconds are rendered, and `step` defaults to 1 so the browser shows them.**
62
+ * A `datetime-local` at its default step is minute-granular: it displays
63
+ * `13:45` for a value of `13:45:37`, and the moment anyone edits the field the
64
+ * `:37` is gone — the box never showed it, so nothing looks lost. Rendering
65
+ * seconds makes the field display exactly what an edit will keep.
66
+ *
67
+ * Milliseconds are still dropped by an edit, and there is no `step` that fixes
68
+ * that honestly: a control that showed `.000` for every value would be
69
+ * inventing precision it cannot offer. A setting needing sub-second precision
70
+ * wants `text` and its own format.
71
+ *
72
+ * Exported so this conversion can be tested for what it is. jsdom normalises a
73
+ * `datetime-local` value down to minutes whatever the step, so reading the
74
+ * rendered input back proves nothing about the seconds — the rule has to be
75
+ * asserted on the function.
76
+ */
77
+ export declare function toLocalInput(iso: string): string;
78
+ export declare function fromLocalInput(local: string): string;
79
+ /**
80
+ * One field, whichever kind of value it holds.
81
+ *
82
+ * The control every admin form in this organisation was writing a `switch` for:
83
+ * a checkbox for booleans, a date picker for dates, a searchable select for a
84
+ * reference to a record, a textarea for JSON. Written once, it is also the
85
+ * thing that makes them all agree — a boolean edited on one page and a boolean
86
+ * edited on another should not be a checkbox in one place and a Yes/No dropdown
87
+ * in the other.
88
+ *
89
+ * Markup is plain semantic HTML with `ctl-` class names and no styling
90
+ * dependency; `choice` and `reference` delegate to {@link SearchableSelect}, so
91
+ * a field over forty thousand records is the same component as a field over
92
+ * three.
93
+ */
94
+ export declare function ValueInput({ type, value, onChange, label, error, hint, placeholder, disabled, readOnly, required, options, transport, min, max, step, rows, className, theme, 'data-testid': testId, }: ValueInputProps): import("react").JSX.Element;
95
+ //# sourceMappingURL=ValueInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValueInput.d.ts","sourceRoot":"","sources":["../src/ValueInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAExE;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,WAAW,GACX,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,WAAW,CAAC;AAEhB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,CAAC;IACrB;;;;;;;;OAQG;IACH,KAAK,EAAE,MAAM,CA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,GACtB,EAAE,eAAe,+BA4GjB"}
@@ -0,0 +1,100 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useId } from 'react';
3
+ import { SearchableSelect } from './SearchableSelect.js';
4
+ /**
5
+ * `datetime-local` will not accept an ISO instant, and says nothing about it.
6
+ *
7
+ * `<input type="datetime-local" value="2026-08-20T13:45:00Z">` renders **empty**
8
+ * — the trailing `Z` makes the value invalid for that input, and browsers
9
+ * silently blank an invalid value rather than reporting one. The symptom is a
10
+ * date field that looks unset for a setting that is set, and the fix is not
11
+ * discoverable from the markup.
12
+ *
13
+ * So the instant is shown in the viewer's own timezone and converted back on
14
+ * the way out. What is stored stays an ISO instant; what is displayed is the
15
+ * local time, which is what the person setting "send the digest at" means.
16
+ *
17
+ * **Seconds are rendered, and `step` defaults to 1 so the browser shows them.**
18
+ * A `datetime-local` at its default step is minute-granular: it displays
19
+ * `13:45` for a value of `13:45:37`, and the moment anyone edits the field the
20
+ * `:37` is gone — the box never showed it, so nothing looks lost. Rendering
21
+ * seconds makes the field display exactly what an edit will keep.
22
+ *
23
+ * Milliseconds are still dropped by an edit, and there is no `step` that fixes
24
+ * that honestly: a control that showed `.000` for every value would be
25
+ * inventing precision it cannot offer. A setting needing sub-second precision
26
+ * wants `text` and its own format.
27
+ *
28
+ * Exported so this conversion can be tested for what it is. jsdom normalises a
29
+ * `datetime-local` value down to minutes whatever the step, so reading the
30
+ * rendered input back proves nothing about the seconds — the rule has to be
31
+ * asserted on the function.
32
+ */
33
+ export function toLocalInput(iso) {
34
+ if (iso.trim() === '')
35
+ return '';
36
+ const date = new Date(iso);
37
+ if (Number.isNaN(date.getTime()))
38
+ return '';
39
+ const pad = (part) => String(part).padStart(2, '0');
40
+ return (`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}` +
41
+ `T${pad(date.getHours())}:${pad(date.getMinutes())}:${pad(date.getSeconds())}`);
42
+ }
43
+ export function fromLocalInput(local) {
44
+ if (local === '')
45
+ return '';
46
+ const date = new Date(local);
47
+ // An unparseable half-typed value is handed back untouched rather than
48
+ // becoming an empty string — otherwise the field clears itself under you as
49
+ // you type into it.
50
+ return Number.isNaN(date.getTime()) ? local : date.toISOString();
51
+ }
52
+ /**
53
+ * One field, whichever kind of value it holds.
54
+ *
55
+ * The control every admin form in this organisation was writing a `switch` for:
56
+ * a checkbox for booleans, a date picker for dates, a searchable select for a
57
+ * reference to a record, a textarea for JSON. Written once, it is also the
58
+ * thing that makes them all agree — a boolean edited on one page and a boolean
59
+ * edited on another should not be a checkbox in one place and a Yes/No dropdown
60
+ * in the other.
61
+ *
62
+ * Markup is plain semantic HTML with `ctl-` class names and no styling
63
+ * dependency; `choice` and `reference` delegate to {@link SearchableSelect}, so
64
+ * a field over forty thousand records is the same component as a field over
65
+ * three.
66
+ */
67
+ export function ValueInput({ type, value, onChange, label, error, hint, placeholder, disabled, readOnly, required, options, transport, min, max, step, rows, className, theme = 'light', 'data-testid': testId, }) {
68
+ const id = useId();
69
+ const root = `ctl ctl-field${className === undefined ? '' : ` ${className}`}`;
70
+ // A picker is a whole control of its own, with its own label and its own
71
+ // root — wrapping it in a second `.ctl` would nest two popover contexts and
72
+ // two labels for one field.
73
+ if (type === 'choice' || type === 'reference') {
74
+ return (_jsx(SearchableSelect, { ...(label === undefined ? {} : { label }), ...(options === undefined ? {} : { options }), ...(transport === undefined ? {} : { transport }), ...(placeholder === undefined ? {} : { placeholder }), ...(testId === undefined ? {} : { 'data-testid': testId }), ...(className === undefined ? {} : { className }), value: value === '' ? null : value, onChange: (next) => onChange(next ?? ''), disabled: disabled === true || readOnly === true, clearable: required !== true, theme: theme }));
75
+ }
76
+ // `null` and `undefined` both mean "no error", and so does an empty string —
77
+ // a caller mapping a validator's output straight through should not have to
78
+ // normalise which of the three it produces.
79
+ const hasError = error !== undefined && error !== null && error !== '';
80
+ const described = hasError ? `${id}-error` : hint === undefined ? undefined : `${id}-hint`;
81
+ const shared = {
82
+ id,
83
+ disabled,
84
+ readOnly,
85
+ required,
86
+ 'aria-invalid': hasError ? true : undefined,
87
+ 'aria-describedby': described,
88
+ 'data-testid': testId,
89
+ };
90
+ return (_jsxs("div", { className: root, "data-ctl-theme": theme, children: [label !== undefined && (_jsx("label", { className: "ctl-label", htmlFor: id, children: label })), type === 'boolean' ? (_jsxs("label", { className: "ctl-switch", children: [_jsx("input", { ...shared, type: "checkbox", className: "ctl-switch-box", checked: value === 'true',
91
+ // Never `!checked` off the current string: a value of `'yes'` reads
92
+ // as unchecked, and toggling it would then write `'true'` — which
93
+ // is right — but toggling a value of `'1'` must not write `'false'`
94
+ // and quietly turn a feature off.
95
+ onChange: (event) => onChange(event.target.checked ? 'true' : 'false') }), _jsx("span", { className: "ctl-switch-text", children: value === 'true' ? 'On' : 'Off' })] })) : type === 'multiline' || type === 'json' ? (_jsx("textarea", { ...shared, className: `ctl-textarea${type === 'json' ? ' ctl-mono' : ''}`, value: value, rows: rows ?? (type === 'json' ? 6 : 3), placeholder: placeholder, onChange: (event) => onChange(event.target.value) })) : type === 'datetime' ? (_jsx("input", { ...shared, type: "datetime-local", className: "ctl-input",
96
+ // Without a step of 1 the browser renders no seconds field *and*
97
+ // rejects a value that carries seconds — which blanks the box.
98
+ step: step ?? 1, value: toLocalInput(value), onChange: (event) => onChange(fromLocalInput(event.target.value)) })) : (_jsx("input", { ...shared, type: type === 'number' ? 'number' : type === 'date' ? 'date' : 'text', className: "ctl-input", value: value, placeholder: placeholder, min: min, max: max, step: type === 'number' ? (step ?? 'any') : undefined, onChange: (event) => onChange(event.target.value) })), hasError ? (_jsx("p", { className: "ctl-note ctl-error", id: `${id}-error`, role: "alert", children: error })) : hint === undefined ? null : (_jsx("p", { className: "ctl-note", id: `${id}-hint`, children: hint }))] }));
99
+ }
100
+ //# sourceMappingURL=ValueInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValueInput.js","sourceRoot":"","sources":["../src/ValueInput.tsx"],"names":[],"mappings":";AAAA,OA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M,CAAC,CAAC,CAAC,MAAM,EACtE,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EACrD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GACjD,CACH,EAEA,QAAQ,CAAC,CAAC,CAAC,CACV,YAAG,SAAS,EAAC,oBAAoB,EAAC,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAC,OAAO,YAC9D,KAAK,GACJ,CACL,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9B,YAAG,SAAS,EAAC,UAAU,EAAC,EAAE,EAAE,GAAG,EAAE,OAAO,YACrC,IAAI,GACH,CACL,IACG,CACP,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -4,7 +4,9 @@
4
4
  *
5
5
  * One package that grows: a control that turns out to be needed in two places
6
6
  * belongs here rather than being copied into the second one. Today that is a
7
- * searchable multi-select and its single-select sibling.
7
+ * searchable multi-select and its single-select sibling, the typed field
8
+ * `<ValueInput>` that picks an editor from the kind of value it holds, and
9
+ * `<KeyValueList>` for a setting that is really several.
8
10
  *
9
11
  * Each control takes either a fixed array of options or an
10
12
  * {@link OptionTransport}, and behaves the same either way — the difference
@@ -33,6 +35,8 @@
33
35
  */
34
36
  export { SearchableMultiSelect, type SearchableMultiSelectProps, } from './SearchableMultiSelect.js';
35
37
  export { SearchableSelect, type SearchableSelectProps } from './SearchableSelect.js';
38
+ export { ValueInput, type ValueInputProps, type ValueInputType } from './ValueInput.js';
39
+ export { KeyValueList, type KeyValueItem, type KeyValueItemType, type KeyValueListProps, } from './KeyValueList.js';
36
40
  export { useOptionSelect, type OptionSelectState, type UseOptionSelectOptions, } from './useOptionSelect.js';
37
41
  /**
38
42
  * Re-exported from `@speles7172/controls-client/core` so a frontend that only
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAErF,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B;;;;GAIG;AACH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,YAAY,EACZ,MAAM,EACN,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,eAAe,GAChB,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAExF,OAAO,EACL,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B;;;;GAIG;AACH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,YAAY,EACZ,MAAM,EACN,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,eAAe,GAChB,MAAM,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -4,7 +4,9 @@
4
4
  *
5
5
  * One package that grows: a control that turns out to be needed in two places
6
6
  * belongs here rather than being copied into the second one. Today that is a
7
- * searchable multi-select and its single-select sibling.
7
+ * searchable multi-select and its single-select sibling, the typed field
8
+ * `<ValueInput>` that picks an editor from the kind of value it holds, and
9
+ * `<KeyValueList>` for a setting that is really several.
8
10
  *
9
11
  * Each control takes either a fixed array of options or an
10
12
  * {@link OptionTransport}, and behaves the same either way — the difference
@@ -33,6 +35,8 @@
33
35
  */
34
36
  export { SearchableMultiSelect, } from './SearchableMultiSelect.js';
35
37
  export { SearchableSelect } from './SearchableSelect.js';
38
+ export { ValueInput } from './ValueInput.js';
39
+ export { KeyValueList, } from './KeyValueList.js';
36
40
  export { useOptionSelect, } from './useOptionSelect.js';
37
41
  /**
38
42
  * Re-exported from `@speles7172/controls-client/core` so a frontend that only
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EACL,qBAAqB,GAEtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAA8B,MAAM,uBAAuB,CAAC;AAErF,OAAO,EACL,eAAe,GAGhB,MAAM,sBAAsB,CAAC;AAE9B;;;;GAIG;AACH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EACL,qBAAqB,GAEtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAA8B,MAAM,uBAAuB,CAAC;AAErF,OAAO,EAAE,UAAU,EAA6C,MAAM,iBAAiB,CAAC;AAExF,OAAO,EACL,YAAY,GAIb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,eAAe,GAGhB,MAAM,sBAAsB,CAAC;AAE9B;;;;GAIG;AACH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,kCAAkC,CAAC"}
package/dist/styles.css CHANGED
@@ -32,6 +32,7 @@
32
32
  --ctl-mark-bg: #fef08a;
33
33
  --ctl-mark-text: #422006;
34
34
  --ctl-error-text: #b91c1c;
35
+ --ctl-error-soft: #fef2f2;
35
36
  --ctl-radius: 8px;
36
37
  --ctl-shadow: 0 8px 24px rgb(15 23 42 / 12%);
37
38
 
@@ -55,6 +56,7 @@
55
56
  --ctl-mark-bg: #854d0e;
56
57
  --ctl-mark-text: #fef9c3;
57
58
  --ctl-error-text: #fca5a5;
59
+ --ctl-error-soft: #450a0a;
58
60
  --ctl-shadow: 0 8px 24px rgb(0 0 0 / 45%);
59
61
  }
60
62
 
@@ -70,6 +72,7 @@
70
72
  --ctl-mark-bg: #854d0e;
71
73
  --ctl-mark-text: #fef9c3;
72
74
  --ctl-error-text: #fca5a5;
75
+ --ctl-error-soft: #450a0a;
73
76
  --ctl-shadow: 0 8px 24px rgb(0 0 0 / 45%);
74
77
  }
75
78
  }
@@ -367,3 +370,122 @@
367
370
  .ctl-link:hover {
368
371
  text-decoration: underline;
369
372
  }
373
+
374
+ /*
375
+ * ── Fields ────────────────────────────────────────────────────────────────
376
+ *
377
+ * `<ValueInput>` and the rows of `<KeyValueList>`. They share `.ctl-input` on
378
+ * purpose: a text box inside a list of entries and a text box on its own are
379
+ * the same thing to a reader, and giving each its own rule is how two controls
380
+ * in one form end up a pixel apart.
381
+ */
382
+
383
+ .ctl-field {
384
+ gap: 6px;
385
+ }
386
+
387
+ .ctl-input,
388
+ .ctl-textarea {
389
+ width: 100%;
390
+ padding: 8px 10px;
391
+ font: inherit;
392
+ color: var(--ctl-text);
393
+ background: var(--ctl-bg);
394
+ border: 1px solid var(--ctl-border);
395
+ border-radius: var(--ctl-radius);
396
+ }
397
+
398
+ .ctl-input:focus-visible,
399
+ .ctl-textarea:focus-visible {
400
+ outline: 2px solid var(--ctl-accent);
401
+ outline-offset: -1px;
402
+ }
403
+
404
+ .ctl-input:disabled,
405
+ .ctl-textarea:disabled {
406
+ color: var(--ctl-muted);
407
+ background: var(--ctl-surface);
408
+ cursor: not-allowed;
409
+ }
410
+
411
+ .ctl-input[aria-invalid="true"],
412
+ .ctl-textarea[aria-invalid="true"] {
413
+ border-color: var(--ctl-error-text);
414
+ }
415
+
416
+ .ctl-textarea {
417
+ resize: vertical;
418
+ }
419
+
420
+ /* JSON is read by shape as much as by content, and a proportional font hides it. */
421
+ .ctl-mono {
422
+ font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
423
+ font-size: 13px;
424
+ }
425
+
426
+ .ctl-switch {
427
+ display: inline-flex;
428
+ gap: 8px;
429
+ align-items: center;
430
+ cursor: pointer;
431
+ }
432
+
433
+ .ctl-switch-box {
434
+ width: 16px;
435
+ height: 16px;
436
+ accent-color: var(--ctl-accent);
437
+ cursor: inherit;
438
+ }
439
+
440
+ .ctl-switch-text {
441
+ color: var(--ctl-muted);
442
+ }
443
+
444
+ /*
445
+ * ── Key/value list ────────────────────────────────────────────────────────
446
+ *
447
+ * Four columns, and the same grid on the heading row and every entry so the
448
+ * headings stay over the boxes they name at any width.
449
+ */
450
+
451
+ .ctl-kv {
452
+ gap: 6px;
453
+ }
454
+
455
+ .ctl-kv-head,
456
+ .ctl-kv-row {
457
+ display: grid;
458
+ grid-template-columns: 1fr 1fr 1fr auto;
459
+ gap: 6px;
460
+ align-items: center;
461
+ }
462
+
463
+ .ctl-kv-head {
464
+ font-size: 12px;
465
+ color: var(--ctl-muted);
466
+ }
467
+
468
+ .ctl-kv-cell {
469
+ min-width: 0;
470
+ }
471
+
472
+ .ctl-kv-duplicate {
473
+ padding: 2px;
474
+ margin: -2px;
475
+ background: var(--ctl-error-soft);
476
+ border-radius: var(--ctl-radius);
477
+ }
478
+
479
+ .ctl-kv-actions {
480
+ display: flex;
481
+ gap: 2px;
482
+ justify-content: flex-end;
483
+ }
484
+
485
+ .ctl-kv-empty {
486
+ padding: 6px 0;
487
+ }
488
+
489
+ .ctl-kv-add {
490
+ align-self: flex-start;
491
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speles7172/controls",
3
- "version": "0.1.0",
4
- "description": "Reusable React form controls — starting with a searchable multi-select — over static options or a transport you supply.",
3
+ "version": "0.2.0",
4
+ "description": "Reusable React form controls — searchable selects, a typed value field and an editable key/value list — over static options or a transport you supply.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",