@dosgato/dialog 1.1.20 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/Button.svelte.d.ts +6 -6
  2. package/dist/ButtonGroup.svelte.d.ts +4 -4
  3. package/dist/Checkbox.svelte.d.ts +4 -4
  4. package/dist/Container.svelte +3 -3
  5. package/dist/Container.svelte.d.ts +2 -2
  6. package/dist/Dialog.svelte.d.ts +9 -9
  7. package/dist/FieldAutocomplete.svelte.d.ts +8 -8
  8. package/dist/FieldCheckbox.svelte.d.ts +5 -5
  9. package/dist/FieldChoices.svelte +1 -1
  10. package/dist/FieldChoices.svelte.d.ts +5 -5
  11. package/dist/FieldChooserLink.svelte.d.ts +8 -8
  12. package/dist/FieldDate.svelte.d.ts +5 -5
  13. package/dist/FieldDateTime.svelte.d.ts +5 -5
  14. package/dist/FieldDualListbox.svelte.d.ts +7 -7
  15. package/dist/FieldHidden.svelte.d.ts +4 -4
  16. package/dist/FieldIdentifier.svelte.d.ts +1 -1
  17. package/dist/FieldMultiple.svelte.d.ts +7 -7
  18. package/dist/FieldMultiselect.svelte.d.ts +8 -8
  19. package/dist/FieldNumber.svelte.d.ts +6 -6
  20. package/dist/FieldRadio.svelte.d.ts +10 -10
  21. package/dist/FieldSelect.svelte.d.ts +12 -12
  22. package/dist/FieldStandard.svelte.d.ts +8 -8
  23. package/dist/FieldText.svelte.d.ts +10 -10
  24. package/dist/FieldTextArea.svelte.d.ts +7 -7
  25. package/dist/FileIcon.svelte.d.ts +3 -3
  26. package/dist/Form.svelte.d.ts +41 -7
  27. package/dist/FormDialog.svelte.d.ts +8 -8
  28. package/dist/Icon.svelte.d.ts +1 -1
  29. package/dist/Input.svelte.d.ts +9 -9
  30. package/dist/Listbox.svelte.d.ts +6 -6
  31. package/dist/Radio.svelte.d.ts +4 -4
  32. package/dist/Switcher.svelte.d.ts +10 -10
  33. package/dist/Tabs.svelte.d.ts +3 -3
  34. package/dist/Tooltip.svelte.d.ts +5 -5
  35. package/dist/chooser/Chooser.svelte.d.ts +5 -5
  36. package/dist/chooser/Details.svelte.d.ts +1 -1
  37. package/dist/chooser/Thumbnail.svelte.d.ts +3 -3
  38. package/dist/chooser/UploadUI.svelte.d.ts +5 -5
  39. package/dist/code/CodeEditor.svelte.d.ts +4 -4
  40. package/dist/code/FieldCodeEditor.svelte.d.ts +9 -9
  41. package/dist/colorpicker/FieldColorPicker.svelte.d.ts +5 -5
  42. package/dist/cropper/FieldCropper.svelte +1 -1
  43. package/dist/cropper/FieldCropper.svelte.d.ts +4 -4
  44. package/dist/iconpicker/FieldIconPicker.svelte +27 -8
  45. package/dist/iconpicker/FieldIconPicker.svelte.d.ts +3 -3
  46. package/dist/imageposition/FieldImagePosition.svelte +197 -0
  47. package/dist/imageposition/FieldImagePosition.svelte.d.ts +25 -0
  48. package/dist/imageposition/index.d.ts +2 -0
  49. package/dist/imageposition/index.js +2 -0
  50. package/dist/imageposition/position.d.ts +4 -0
  51. package/dist/imageposition/position.js +1 -0
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.js +1 -0
  54. package/dist/tree/Tree.svelte.d.ts +2 -2
  55. package/package.json +8 -9
@@ -2,12 +2,12 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import type { IconifyIcon } from '@iconify/svelte';
3
3
  declare const __propDef: {
4
4
  props: {
5
- type?: "button" | "submit" | undefined;
6
- disabled?: boolean | undefined;
7
- compact?: boolean | undefined;
8
- cancel?: boolean | undefined;
9
- destructive?: boolean | undefined;
10
- secondary?: boolean | undefined;
5
+ type?: "button" | "submit";
6
+ disabled?: boolean;
7
+ compact?: boolean;
8
+ cancel?: boolean;
9
+ destructive?: boolean;
10
+ secondary?: boolean;
11
11
  describedby?: string | undefined;
12
12
  element?: HTMLElement | undefined;
13
13
  icon?: IconifyIcon | undefined;
@@ -4,13 +4,13 @@ declare const __propDef: {
4
4
  props: {
5
5
  name?: string | undefined;
6
6
  choices: PopupMenuItem[];
7
- value?: string | undefined;
7
+ value?: string;
8
8
  groupid?: string | undefined;
9
9
  messagesid?: string | undefined;
10
10
  ariaControls?: string | undefined;
11
- disabled?: boolean | undefined;
12
- valid?: boolean | undefined;
13
- invalid?: boolean | undefined;
11
+ disabled?: boolean;
12
+ valid?: boolean;
13
+ invalid?: boolean;
14
14
  };
15
15
  events: {
16
16
  blur: FocusEvent;
@@ -7,10 +7,10 @@ declare const __propDef: {
7
7
  onChange?: any;
8
8
  onBlur?: any;
9
9
  descid?: string | undefined;
10
- disabled?: boolean | undefined;
11
- valid?: boolean | undefined;
12
- invalid?: boolean | undefined;
13
- inputelement?: HTMLInputElement | undefined;
10
+ disabled?: boolean;
11
+ valid?: boolean;
12
+ invalid?: boolean;
13
+ inputelement?: HTMLInputElement;
14
14
  };
15
15
  events: {
16
16
  [evt: string]: CustomEvent<any>;
@@ -60,10 +60,10 @@ onDestroy(() => {
60
60
  {#if helptext}
61
61
  <!-- svelte-ignore a11y-click-events-have-key-events -->
62
62
  <!-- svelte-ignore a11y-no-static-element-interactions -->
63
- <div use:resize={{ debounce: 10 }} on:resize={setNeedsShowHelp} id={helptextid} class="dialog-field-help" class:needsShowHelp class:expanded={showhelp} on:click={() => { if (needsShowHelp) showhelp = !showhelp }}>
64
- <span bind:this={helpelement}>{@html helptext}</span>
63
+ <div use:resize={{ debounce: 10 }} on:resize={setNeedsShowHelp} class="dialog-field-help" class:needsShowHelp class:expanded={showhelp} on:click={() => { if (needsShowHelp) showhelp = !showhelp }}>
64
+ <span bind:this={helpelement} id={helptextid}>{@html helptext}</span>
65
65
  {#if needsShowHelp}
66
- <button type="button" class="dialog-field-help-expand">Show {#if showhelp}Less{:else}More{/if}<ScreenReaderOnly>, ignore this, the help text it controls will be read to you as input description</ScreenReaderOnly></button>
66
+ <button type="button" class="dialog-field-help-expand">Show {#if showhelp}Less{:else}More{/if}<ScreenReaderOnly>, ignore this, the help text it controls will be fully read to you as input description</ScreenReaderOnly></button>
67
67
  {/if}
68
68
  </div>
69
69
  {/if}
@@ -9,8 +9,8 @@ declare const __propDef: {
9
9
  /** If `descid` is defined then this assumes you've made an outside label referenced to by descid `<div id={descid}`.
10
10
  Useful for things like checkboxes and radio buttons that have their own individual labels. */ descid?: string | undefined;
11
11
  helptext?: string | undefined;
12
- /** Syntactic sugar that toggles a '*' to be appended to label. */ required?: boolean | undefined;
13
- related?: number | true | undefined;
12
+ /** Syntactic sugar that toggles a '*' to be appended to label. */ required?: boolean;
13
+ related?: true | number;
14
14
  conditional?: boolean | undefined;
15
15
  };
16
16
  events: {
@@ -13,18 +13,18 @@ import type { IconifyIcon } from '@iconify/svelte';
13
13
  declare const __propDef: {
14
14
  props: {
15
15
  initialfocus?: string | undefined;
16
- title?: string | undefined;
16
+ title?: string;
17
17
  icon?: IconifyIcon | undefined;
18
- size?: "small" | "normal" | "tiny" | "large" | "xl" | undefined;
18
+ size?: "tiny" | "small" | "normal" | "large" | "xl";
19
19
  cancelText?: string | undefined;
20
- continueText?: string | undefined;
20
+ continueText?: string;
21
21
  continueIcon?: IconifyIcon | undefined;
22
- escapable?: boolean | undefined;
23
- expandable?: boolean | undefined;
24
- disabled?: boolean | undefined;
25
- ignoreTabs?: boolean | undefined;
26
- labelid?: string | undefined;
27
- descid?: string | undefined;
22
+ escapable?: boolean;
23
+ expandable?: boolean;
24
+ disabled?: boolean;
25
+ ignoreTabs?: boolean;
26
+ labelid?: string;
27
+ descid?: string;
28
28
  };
29
29
  events: {
30
30
  escape: CustomEvent<any>;
@@ -3,11 +3,11 @@ declare const __propDef: {
3
3
  props: {
4
4
  id?: string | undefined;
5
5
  path: string;
6
- label?: string | undefined;
7
- placeholder?: string | undefined;
8
- class?: string | undefined;
9
- notNull?: boolean | undefined;
10
- disabled?: boolean | undefined;
6
+ label?: string;
7
+ placeholder?: string;
8
+ class?: string;
9
+ notNull?: boolean;
10
+ disabled?: boolean;
11
11
  choices: {
12
12
  label?: string;
13
13
  value: string;
@@ -15,9 +15,9 @@ declare const __propDef: {
15
15
  }[];
16
16
  defaultValue?: string | undefined;
17
17
  conditional?: boolean | undefined;
18
- required?: boolean | undefined;
19
- inputelement?: HTMLInputElement | undefined;
20
- related?: number | true | undefined;
18
+ required?: boolean;
19
+ inputelement?: HTMLInputElement;
20
+ related?: true | number;
21
21
  extradescid?: string | undefined;
22
22
  helptext?: string | undefined;
23
23
  };
@@ -1,16 +1,16 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
7
+ label?: string;
8
8
  boxLabel: string;
9
9
  defaultValue?: boolean | undefined;
10
10
  conditional?: boolean | undefined;
11
- required?: boolean | undefined;
12
- inputelement?: HTMLInputElement | undefined;
13
- related?: number | true | undefined;
11
+ required?: boolean;
12
+ inputelement?: HTMLInputElement;
13
+ related?: true | number;
14
14
  extradescid?: string | undefined;
15
15
  helptext?: string | undefined;
16
16
  };
@@ -49,7 +49,7 @@ function onChangeCheckbox(setVal, choice, included) {
49
49
  }
50
50
  const descid = randomid();
51
51
  function reactToChoices(..._) {
52
- const choiceSet = new Set(choices?.map(c => c.value));
52
+ const choiceSet = new Set(choices?.filter(c => !c.disabled).map(c => c.value));
53
53
  const val = get($store, finalPath);
54
54
  const filtered = val?.filter(v => choiceSet.has(v));
55
55
  if (filtered?.length !== val?.length)
@@ -1,10 +1,10 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
7
+ label?: string;
8
8
  choices: {
9
9
  label?: string;
10
10
  value: any;
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  }[];
13
13
  defaultValue?: any;
14
14
  conditional?: boolean | undefined;
15
- maxwidth?: number | undefined;
16
- leftToRight?: boolean | undefined;
17
- related?: number | true | undefined;
15
+ maxwidth?: number;
16
+ leftToRight?: boolean;
17
+ related?: true | number;
18
18
  extradescid?: string | undefined;
19
19
  helptext?: string | undefined;
20
20
  };
@@ -5,18 +5,18 @@ declare const __propDef: {
5
5
  props: {
6
6
  id?: string | undefined;
7
7
  path: string;
8
- label?: string | undefined;
8
+ label?: string;
9
9
  defaultValue?: boolean | undefined;
10
10
  conditional?: boolean | undefined;
11
- required?: boolean | undefined;
12
- images?: boolean | undefined;
13
- pages?: boolean | undefined;
14
- assets?: boolean | undefined;
15
- folders?: boolean | undefined;
16
- urlEntry?: boolean | undefined;
11
+ required?: boolean;
12
+ images?: boolean;
13
+ pages?: boolean;
14
+ assets?: boolean;
15
+ folders?: boolean;
16
+ urlEntry?: boolean;
17
17
  initialSource?: string | undefined;
18
18
  initialPath?: string | undefined;
19
- related?: number | true | undefined;
19
+ related?: true | number;
20
20
  extradescid?: string | undefined;
21
21
  helptext?: string | undefined;
22
22
  selectedAsset?: AnyItem | RawURL | BrokenURL | undefined;
@@ -1,10 +1,10 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
7
+ label?: string;
8
8
  defaultValue?: any;
9
9
  min?: Date | {
10
10
  toJSDate: () => Date;
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  } | undefined;
15
15
  step?: number | undefined;
16
16
  conditional?: boolean | undefined;
17
- required?: boolean | undefined;
18
- inputelement?: HTMLInputElement | undefined;
19
- related?: number | true | undefined;
17
+ required?: boolean;
18
+ inputelement?: HTMLInputElement;
19
+ related?: true | number;
20
20
  extradescid?: string | undefined;
21
21
  helptext?: string | undefined;
22
22
  };
@@ -1,10 +1,10 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
7
+ label?: string;
8
8
  defaultValue?: any;
9
9
  min?: Date | {
10
10
  toJSDate: () => Date;
@@ -14,11 +14,11 @@ declare const __propDef: {
14
14
  } | undefined;
15
15
  step?: number | undefined;
16
16
  conditional?: boolean | undefined;
17
- required?: boolean | undefined;
18
- related?: number | true | undefined;
17
+ required?: boolean;
18
+ related?: true | number;
19
19
  extradescid?: string | undefined;
20
20
  helptext?: string | undefined;
21
- inputelement?: HTMLInputElement | undefined;
21
+ inputelement?: HTMLInputElement;
22
22
  };
23
23
  events: {
24
24
  [evt: string]: CustomEvent<any>;
@@ -4,15 +4,15 @@ declare const __propDef: {
4
4
  props: {
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
8
- sourceLabel?: string | undefined;
9
- selectedLabel?: string | undefined;
10
- multiselect?: boolean | undefined;
7
+ label?: string;
8
+ sourceLabel?: string;
9
+ selectedLabel?: string;
10
+ multiselect?: boolean;
11
11
  choices: PopupMenuItem[];
12
- defaultValue?: string[] | undefined;
12
+ defaultValue?: string[];
13
13
  conditional?: boolean | undefined;
14
- required?: boolean | undefined;
15
- related?: number | true | undefined;
14
+ required?: boolean;
15
+ related?: true | number;
16
16
  extradescid?: string | undefined;
17
17
  helptext?: string | undefined;
18
18
  };
@@ -3,10 +3,10 @@ declare const __propDef: {
3
3
  props: {
4
4
  id?: string | undefined;
5
5
  path: string;
6
- value?: string | number | boolean | undefined;
7
- notNull?: boolean | undefined;
8
- boolean?: boolean | undefined;
9
- number?: boolean | undefined;
6
+ value?: string | boolean | number;
7
+ notNull?: boolean;
8
+ boolean?: boolean;
9
+ number?: boolean;
10
10
  conditional?: boolean | undefined;
11
11
  };
12
12
  events: {
@@ -3,7 +3,7 @@ declare const __propDef: {
3
3
  props: {
4
4
  path: string;
5
5
  conditional?: boolean | undefined;
6
- length?: number | undefined;
6
+ length?: number;
7
7
  };
8
8
  events: {
9
9
  [evt: string]: CustomEvent<any>;
@@ -5,16 +5,16 @@ declare const __propDef: {
5
5
  path: string;
6
6
  label: string;
7
7
  initialState?: any | ((index: number) => any);
8
- minLength?: number | undefined;
8
+ minLength?: number;
9
9
  maxLength?: number | undefined;
10
- compact?: boolean | undefined;
11
- removable?: boolean | undefined;
12
- reorder?: boolean | undefined;
10
+ compact?: boolean;
11
+ removable?: boolean;
12
+ reorder?: boolean;
13
13
  conditional?: boolean | undefined;
14
- addMoreText?: string | undefined;
15
- maxedText?: string | undefined;
14
+ addMoreText?: string;
15
+ maxedText?: string;
16
16
  addMoreClass?: string | undefined;
17
- related?: number | true | undefined;
17
+ related?: true | number;
18
18
  helptext?: string | undefined;
19
19
  /**
20
20
  * If you want to ask users if they're sure before removing an array element, fill this
@@ -9,15 +9,15 @@ declare const __propDef: {
9
9
  tracked and automatically filtered from the popup if returned as one of the
10
10
  `PopupMenuItem[]` by `getOptions`. */ getOptions: (search: string) => Promise<PopupMenuItem[]>;
11
11
  id?: string | undefined;
12
- label?: string | undefined;
13
- /** Text to display in the text input when it's empty. */ placeholder?: string | undefined;
14
- disabled?: boolean | undefined;
15
- defaultValue?: string[] | undefined;
12
+ label?: string;
13
+ /** Text to display in the text input when it's empty. */ placeholder?: string;
14
+ disabled?: boolean;
15
+ defaultValue?: string[];
16
16
  conditional?: boolean | undefined;
17
- required?: boolean | undefined;
18
- /** Max number of selections to be allowed before disabling the input - 0 for unlimited. */ maxSelections?: number | undefined;
19
- lookupByValue?: ((val: string) => Promise<PopupMenuItem | undefined>) | undefined;
20
- related?: number | true | undefined;
17
+ required?: boolean;
18
+ /** Max number of selections to be allowed before disabling the input - 0 for unlimited. */ maxSelections?: number;
19
+ lookupByValue?: (val: string) => Promise<PopupMenuItem | undefined>;
20
+ related?: true | number;
21
21
  extradescid?: string | undefined;
22
22
  helptext?: string | undefined;
23
23
  };
@@ -1,19 +1,19 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
7
+ label?: string;
8
8
  defaultValue?: number | undefined;
9
- nullable?: boolean | undefined;
9
+ nullable?: boolean;
10
10
  min?: number | undefined;
11
11
  max?: number | undefined;
12
12
  step?: number | undefined;
13
13
  conditional?: boolean | undefined;
14
- required?: boolean | undefined;
15
- inputelement?: HTMLInputElement | undefined;
16
- related?: number | true | undefined;
14
+ required?: boolean;
15
+ inputelement?: HTMLInputElement;
16
+ related?: true | number;
17
17
  extradescid?: string | undefined;
18
18
  helptext?: string | undefined;
19
19
  };
@@ -1,11 +1,11 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
8
- notNull?: boolean | undefined;
7
+ label?: string;
8
+ notNull?: boolean;
9
9
  choices: {
10
10
  label?: string;
11
11
  value: any;
@@ -13,15 +13,15 @@ declare const __propDef: {
13
13
  }[];
14
14
  defaultValue?: any;
15
15
  conditional?: boolean | undefined;
16
- required?: boolean | undefined;
17
- horizontal?: boolean | undefined;
18
- related?: number | true | undefined;
16
+ required?: boolean;
17
+ horizontal?: boolean;
18
+ related?: true | number;
19
19
  extradescid?: string | undefined;
20
20
  helptext?: string | undefined;
21
- number?: boolean | undefined;
22
- date?: boolean | undefined;
23
- datetime?: boolean | undefined;
24
- boolean?: boolean | undefined;
21
+ number?: boolean;
22
+ date?: boolean;
23
+ datetime?: boolean;
24
+ boolean?: boolean;
25
25
  serialize?: ((value: any) => string) | undefined;
26
26
  deserialize?: ((value: string) => any) | undefined;
27
27
  };
@@ -1,13 +1,13 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- class?: string | undefined;
4
+ class?: string;
5
5
  id?: string | undefined;
6
6
  path: string;
7
- label?: string | undefined;
8
- placeholder?: string | undefined;
9
- notNull?: boolean | undefined;
10
- disabled?: boolean | undefined;
7
+ label?: string;
8
+ placeholder?: string;
9
+ notNull?: boolean;
10
+ disabled?: boolean;
11
11
  choices: {
12
12
  label?: string;
13
13
  value: any;
@@ -15,15 +15,15 @@ declare const __propDef: {
15
15
  }[];
16
16
  defaultValue?: any;
17
17
  conditional?: boolean | undefined;
18
- required?: boolean | undefined;
19
- inputelement?: HTMLSelectElement | undefined;
20
- related?: number | true | undefined;
18
+ required?: boolean;
19
+ inputelement?: HTMLSelectElement;
20
+ related?: true | number;
21
21
  extradescid?: string | undefined;
22
22
  helptext?: string | undefined;
23
- number?: boolean | undefined;
24
- date?: boolean | undefined;
25
- datetime?: boolean | undefined;
26
- boolean?: boolean | undefined;
23
+ number?: boolean;
24
+ date?: boolean;
25
+ datetime?: boolean;
26
+ boolean?: boolean;
27
27
  serialize?: ((value: any) => string) | undefined;
28
28
  deserialize?: ((value: string) => any) | undefined;
29
29
  };
@@ -1,24 +1,24 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- /** If the input that's being built has an id pass it here so the label can point at it. */ id?: string | undefined;
4
+ /** If the input that's being built has an id pass it here so the label can point at it. */ id?: string;
5
5
  /** If `descid` is defined then this assumes you've made an outside label referenced to by descid `<div id={descid}`.
6
6
  Useful for things like checkboxes and radio buttons that have their own individual labels. */ descid?: string | undefined;
7
7
  path: string;
8
8
  defaultValue?: any;
9
9
  /** A label for the Container `<div>`. */ label: string;
10
- notNull?: boolean | undefined;
11
- number?: boolean | undefined;
12
- date?: boolean | undefined;
13
- datetime?: boolean | undefined;
14
- boolean?: boolean | undefined;
10
+ notNull?: boolean;
11
+ number?: boolean;
12
+ date?: boolean;
13
+ datetime?: boolean;
14
+ boolean?: boolean;
15
15
  serialize?: ((value: any) => string) | undefined;
16
16
  deserialize?: ((value: string) => any) | undefined;
17
17
  /** If you need to do some processing just before submit or validate define that processing here. */ finalize?: ((value: any, isSubmit: boolean) => any) | undefined;
18
18
  /** If you specified a finalize, you probably need an initialize to invert it. */ initialize?: ((value: any) => any) | undefined;
19
19
  conditional?: boolean | undefined;
20
- required?: boolean | undefined;
21
- related?: number | true | undefined;
20
+ required?: boolean;
21
+ related?: true | number;
22
22
  helptext?: string | undefined;
23
23
  };
24
24
  events: {
@@ -2,21 +2,21 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import type { HTMLActionEntry } from '@txstate-mws/svelte-components';
3
3
  declare const __propDef: {
4
4
  props: {
5
- class?: string | undefined;
5
+ class?: string;
6
6
  id?: string | undefined;
7
7
  path: string;
8
- label?: string | undefined;
9
- notNull?: boolean | undefined;
8
+ label?: string;
9
+ notNull?: boolean;
10
10
  defaultValue?: any;
11
- type?: string | undefined;
12
- allowlastpass?: boolean | undefined;
11
+ type?: string;
12
+ allowlastpass?: boolean;
13
13
  maxlength?: number | undefined;
14
14
  conditional?: boolean | undefined;
15
- required?: boolean | undefined;
16
- use?: HTMLActionEntry[] | undefined;
17
- inputelement?: HTMLInputElement | undefined;
18
- related?: number | true | undefined;
19
- autocomplete?: string | undefined;
15
+ required?: boolean;
16
+ use?: HTMLActionEntry[];
17
+ inputelement?: HTMLInputElement;
18
+ related?: true | number;
19
+ autocomplete?: string;
20
20
  extradescid?: string | undefined;
21
21
  helptext?: string | undefined;
22
22
  };
@@ -2,19 +2,19 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import { type HTMLActionEntry } from '@txstate-mws/svelte-components';
3
3
  declare const __propDef: {
4
4
  props: {
5
- class?: string | undefined;
5
+ class?: string;
6
6
  id?: string | undefined;
7
7
  path: string;
8
- label?: string | undefined;
9
- notNull?: boolean | undefined;
8
+ label?: string;
9
+ notNull?: boolean;
10
10
  defaultValue?: any;
11
11
  maxlength?: number | undefined;
12
12
  rows?: number | undefined;
13
13
  conditional?: boolean | undefined;
14
- required?: boolean | undefined;
15
- use?: HTMLActionEntry[] | undefined;
16
- inputelement?: HTMLTextAreaElement | undefined;
17
- related?: number | true | undefined;
14
+ required?: boolean;
15
+ use?: HTMLActionEntry[];
16
+ inputelement?: HTMLTextAreaElement;
17
+ related?: true | number;
18
18
  extradescid?: string | undefined;
19
19
  helptext?: string | undefined;
20
20
  };
@@ -3,9 +3,9 @@ declare const __propDef: {
3
3
  props: {
4
4
  mime: string;
5
5
  hiddenLabel?: string | undefined;
6
- inline?: boolean | undefined;
7
- width?: string | number | undefined;
8
- height?: string | number | undefined;
6
+ inline?: boolean;
7
+ width?: string | number;
8
+ height?: string | number;
9
9
  };
10
10
  events: {
11
11
  [evt: string]: CustomEvent<any>;