@camstack/types 1.2.424 → 1.2.426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capabilities/broker.cap.d.ts +6 -0
- package/dist/capabilities/power-meter.cap.d.ts +109 -1
- package/dist/composition/customize/scalar-merge.d.ts +21 -0
- package/dist/generated/customize-catalog.d.ts +113 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +335 -17
- package/dist/index.mjs +331 -18
- package/dist/interfaces/config-ui.d.ts +12 -0
- package/package.json +1 -1
|
@@ -143,6 +143,18 @@ export interface ConfigFieldBase {
|
|
|
143
143
|
readonly placeholder?: string;
|
|
144
144
|
/** Default value used when the current value is undefined */
|
|
145
145
|
readonly default?: unknown;
|
|
146
|
+
/**
|
|
147
|
+
* A default that depends on the operator's country (ISO 3166 alpha-2, read
|
|
148
|
+
* from the browser locale, e.g. `it-IT` is `IT`). Wins over `default` when
|
|
149
|
+
* the country is listed; a form that creates a record uses it to prefill
|
|
150
|
+
* what the operator would otherwise have to look up.
|
|
151
|
+
*/
|
|
152
|
+
readonly defaultByCountry?: Readonly<Record<string, unknown>>;
|
|
153
|
+
/**
|
|
154
|
+
* The value is written by an interactive sign-in the kind offers, never typed
|
|
155
|
+
* first. A form that has such a sign-in tucks the field under "Advanced".
|
|
156
|
+
*/
|
|
157
|
+
readonly filledBySignIn?: boolean;
|
|
146
158
|
readonly span?: 1 | 2 | 3 | 4;
|
|
147
159
|
readonly showWhen?: ConfigCondition;
|
|
148
160
|
/**
|