@axium/client 0.26.0 → 0.26.2
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/locales.d.ts +1 -0
- package/lib/ZodInput.svelte +1 -1
- package/locales/en.json +1 -0
- package/package.json +1 -1
package/dist/locales.d.ts
CHANGED
|
@@ -247,6 +247,7 @@ declare let currentLoaded: {
|
|
|
247
247
|
readonly street1: "Street address";
|
|
248
248
|
readonly street2: "Street address line 2";
|
|
249
249
|
};
|
|
250
|
+
readonly audit_severity: readonly ["Emergency", "Alert", "Critical", "Error", "Warning", "Notice", "Info", "Debug"];
|
|
250
251
|
readonly preference: {
|
|
251
252
|
readonly debug: "Debug mode";
|
|
252
253
|
};
|
package/lib/ZodInput.svelte
CHANGED
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
{:else if schema.type == 'literal'}
|
|
164
164
|
<div class="ZodInput">
|
|
165
165
|
<label for={id}>{labelText}</label>
|
|
166
|
-
<select bind:value {id} {
|
|
166
|
+
<select bind:value {id} {onchange} required={!optional}>
|
|
167
167
|
{#each schema.values as literal}
|
|
168
168
|
<option value={literal} selected={value === literal}>{subText(String(literal), { $default: String(literal) })}</option>
|
|
169
169
|
{/each}
|
package/locales/en.json
CHANGED