@happyvertical/smrt-ui 0.43.10 → 0.44.1
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/components/calendar/Calendar.svelte +4 -0
- package/dist/components/calendar/Calendar.svelte.d.ts +4 -0
- package/dist/components/calendar/Calendar.svelte.d.ts.map +1 -1
- package/dist/components/calendar/DayView.svelte +4 -0
- package/dist/components/calendar/DayView.svelte.d.ts +4 -0
- package/dist/components/calendar/DayView.svelte.d.ts.map +1 -1
- package/dist/components/data/CollectionList.svelte +14 -0
- package/dist/components/data/CollectionList.svelte.d.ts +14 -0
- package/dist/components/data/CollectionList.svelte.d.ts.map +1 -1
- package/dist/components/data/CollectionToolbar.svelte +13 -0
- package/dist/components/data/CollectionToolbar.svelte.d.ts +13 -0
- package/dist/components/data/CollectionToolbar.svelte.d.ts.map +1 -1
- package/dist/components/feedback/Alert.svelte +7 -0
- package/dist/components/feedback/Alert.svelte.d.ts +7 -0
- package/dist/components/feedback/Alert.svelte.d.ts.map +1 -1
- package/dist/components/feedback/Drawer.svelte +11 -0
- package/dist/components/feedback/Drawer.svelte.d.ts +11 -0
- package/dist/components/feedback/Drawer.svelte.d.ts.map +1 -1
- package/dist/components/feedback/Meter.svelte +10 -0
- package/dist/components/feedback/Meter.svelte.d.ts +10 -0
- package/dist/components/feedback/Meter.svelte.d.ts.map +1 -1
- package/dist/components/feedback/Progress.svelte +8 -0
- package/dist/components/feedback/Progress.svelte.d.ts +8 -0
- package/dist/components/feedback/Progress.svelte.d.ts.map +1 -1
- package/dist/components/feedback/Spinner.svelte +3 -0
- package/dist/components/feedback/Spinner.svelte.d.ts +3 -0
- package/dist/components/feedback/Spinner.svelte.d.ts.map +1 -1
- package/dist/components/feedback/ToastViewport.svelte +3 -0
- package/dist/components/feedback/ToastViewport.svelte.d.ts +3 -0
- package/dist/components/feedback/ToastViewport.svelte.d.ts.map +1 -1
- package/dist/components/forms/Checkbox.svelte +5 -0
- package/dist/components/forms/Checkbox.svelte.d.ts +5 -0
- package/dist/components/forms/Checkbox.svelte.d.ts.map +1 -1
- package/dist/components/forms/Combobox.svelte +11 -0
- package/dist/components/forms/Combobox.svelte.d.ts +11 -0
- package/dist/components/forms/Combobox.svelte.d.ts.map +1 -1
- package/dist/components/forms/DatePicker.svelte +4 -0
- package/dist/components/forms/DatePicker.svelte.d.ts +4 -0
- package/dist/components/forms/DatePicker.svelte.d.ts.map +1 -1
- package/dist/components/forms/ErrorSummary.svelte +4 -0
- package/dist/components/forms/ErrorSummary.svelte.d.ts +4 -0
- package/dist/components/forms/ErrorSummary.svelte.d.ts.map +1 -1
- package/dist/components/forms/Fieldset.svelte +5 -0
- package/dist/components/forms/Fieldset.svelte.d.ts +5 -0
- package/dist/components/forms/Fieldset.svelte.d.ts.map +1 -1
- package/dist/components/forms/FilePicker.svelte +7 -0
- package/dist/components/forms/FilePicker.svelte.d.ts +7 -0
- package/dist/components/forms/FilePicker.svelte.d.ts.map +1 -1
- package/dist/components/forms/Form.svelte +3 -0
- package/dist/components/forms/Form.svelte.d.ts +3 -0
- package/dist/components/forms/Form.svelte.d.ts.map +1 -1
- package/dist/components/forms/FormGroup.svelte +6 -0
- package/dist/components/forms/FormGroup.svelte.d.ts +6 -0
- package/dist/components/forms/FormGroup.svelte.d.ts.map +1 -1
- package/dist/components/forms/Input.svelte +2 -0
- package/dist/components/forms/Input.svelte.d.ts +2 -0
- package/dist/components/forms/Input.svelte.d.ts.map +1 -1
- package/dist/components/forms/InputGroup.svelte +4 -0
- package/dist/components/forms/InputGroup.svelte.d.ts +4 -0
- package/dist/components/forms/InputGroup.svelte.d.ts.map +1 -1
- package/dist/components/forms/Listbox.svelte +8 -0
- package/dist/components/forms/Listbox.svelte.d.ts +8 -0
- package/dist/components/forms/Listbox.svelte.d.ts.map +1 -1
- package/dist/components/forms/MultiSelect.svelte +9 -0
- package/dist/components/forms/MultiSelect.svelte.d.ts +9 -0
- package/dist/components/forms/MultiSelect.svelte.d.ts.map +1 -1
- package/dist/components/forms/Radio.svelte +3 -0
- package/dist/components/forms/Radio.svelte.d.ts +3 -0
- package/dist/components/forms/Radio.svelte.d.ts.map +1 -1
- package/dist/components/forms/RadioGroup.svelte +11 -0
- package/dist/components/forms/RadioGroup.svelte.d.ts +11 -0
- package/dist/components/forms/RadioGroup.svelte.d.ts.map +1 -1
- package/dist/components/forms/RangeSlider.svelte +13 -0
- package/dist/components/forms/RangeSlider.svelte.d.ts +13 -0
- package/dist/components/forms/RangeSlider.svelte.d.ts.map +1 -1
- package/dist/components/forms/SegmentedControl.svelte +9 -0
- package/dist/components/forms/SegmentedControl.svelte.d.ts +9 -0
- package/dist/components/forms/SegmentedControl.svelte.d.ts.map +1 -1
- package/dist/components/forms/Select.svelte +4 -0
- package/dist/components/forms/Select.svelte.d.ts +4 -0
- package/dist/components/forms/Select.svelte.d.ts.map +1 -1
- package/dist/components/forms/Slider.svelte +10 -0
- package/dist/components/forms/Slider.svelte.d.ts +10 -0
- package/dist/components/forms/Slider.svelte.d.ts.map +1 -1
- package/dist/components/forms/StagedControlReview.svelte +5 -0
- package/dist/components/forms/StagedControlReview.svelte.d.ts +5 -0
- package/dist/components/forms/StagedControlReview.svelte.d.ts.map +1 -1
- package/dist/components/forms/Switch.svelte +6 -0
- package/dist/components/forms/Switch.svelte.d.ts +6 -0
- package/dist/components/forms/Switch.svelte.d.ts.map +1 -1
- package/dist/components/forms/TagsInput.svelte +10 -0
- package/dist/components/forms/TagsInput.svelte.d.ts +10 -0
- package/dist/components/forms/TagsInput.svelte.d.ts.map +1 -1
- package/dist/components/forms/Textarea.svelte +4 -0
- package/dist/components/forms/Textarea.svelte.d.ts +4 -0
- package/dist/components/forms/Textarea.svelte.d.ts.map +1 -1
- package/dist/components/forms/TimePicker.svelte +4 -0
- package/dist/components/forms/TimePicker.svelte.d.ts +4 -0
- package/dist/components/forms/TimePicker.svelte.d.ts.map +1 -1
- package/dist/components/forms/ToggleButton.svelte +4 -0
- package/dist/components/forms/ToggleButton.svelte.d.ts +4 -0
- package/dist/components/forms/ToggleButton.svelte.d.ts.map +1 -1
- package/dist/components/layout/Container.svelte +2 -0
- package/dist/components/layout/Container.svelte.d.ts +2 -0
- package/dist/components/layout/Container.svelte.d.ts.map +1 -1
- package/dist/components/layout/Footer.svelte +1 -0
- package/dist/components/layout/Footer.svelte.d.ts +1 -0
- package/dist/components/layout/Footer.svelte.d.ts.map +1 -1
- package/dist/components/layout/Header.svelte +2 -0
- package/dist/components/layout/Header.svelte.d.ts +2 -0
- package/dist/components/layout/Header.svelte.d.ts.map +1 -1
- package/dist/components/layout/Masthead.svelte +6 -0
- package/dist/components/layout/Masthead.svelte.d.ts +6 -0
- package/dist/components/layout/Masthead.svelte.d.ts.map +1 -1
- package/dist/components/memberships/MembershipCard.svelte +5 -0
- package/dist/components/memberships/MembershipCard.svelte.d.ts +5 -0
- package/dist/components/memberships/MembershipCard.svelte.d.ts.map +1 -1
- package/dist/components/memberships/MembershipList.svelte +6 -0
- package/dist/components/memberships/MembershipList.svelte.d.ts +6 -0
- package/dist/components/memberships/MembershipList.svelte.d.ts.map +1 -1
- package/dist/components/roles/RoleBadge.svelte +2 -0
- package/dist/components/roles/RoleBadge.svelte.d.ts +2 -0
- package/dist/components/roles/RoleBadge.svelte.d.ts.map +1 -1
- package/dist/components/roles/RoleSelector.svelte +6 -0
- package/dist/components/roles/RoleSelector.svelte.d.ts +6 -0
- package/dist/components/roles/RoleSelector.svelte.d.ts.map +1 -1
- package/dist/components/ui/Accordion.svelte +5 -0
- package/dist/components/ui/Accordion.svelte.d.ts +5 -0
- package/dist/components/ui/Accordion.svelte.d.ts.map +1 -1
- package/dist/components/ui/AccordionItem.svelte +4 -0
- package/dist/components/ui/AccordionItem.svelte.d.ts +4 -0
- package/dist/components/ui/AccordionItem.svelte.d.ts.map +1 -1
- package/dist/components/ui/Badge.svelte +3 -0
- package/dist/components/ui/Badge.svelte.d.ts +3 -0
- package/dist/components/ui/Badge.svelte.d.ts.map +1 -1
- package/dist/components/ui/Button.svelte +2 -0
- package/dist/components/ui/Button.svelte.d.ts +2 -0
- package/dist/components/ui/Button.svelte.d.ts.map +1 -1
- package/dist/components/ui/Card.svelte +6 -0
- package/dist/components/ui/Card.svelte.d.ts +6 -0
- package/dist/components/ui/Card.svelte.d.ts.map +1 -1
- package/dist/components/ui/Disclosure.svelte +6 -0
- package/dist/components/ui/Disclosure.svelte.d.ts +6 -0
- package/dist/components/ui/Disclosure.svelte.d.ts.map +1 -1
- package/dist/components/ui/Popover.svelte +9 -0
- package/dist/components/ui/Popover.svelte.d.ts +9 -0
- package/dist/components/ui/Popover.svelte.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
2
2
|
import type { SegmentedControlOption } from './types.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
/** The available segments and their values. */
|
|
4
5
|
options: SegmentedControlOption[];
|
|
6
|
+
/** The currently selected option value. */
|
|
5
7
|
value?: string | number;
|
|
8
|
+
/** Accessibility label for the control. */
|
|
6
9
|
label: string;
|
|
10
|
+
/** Form field identifier. */
|
|
7
11
|
name?: string;
|
|
12
|
+
/** Blocks interaction and submission of this control. */
|
|
8
13
|
disabled?: boolean;
|
|
14
|
+
/** Makes the control stretch to full container width. */
|
|
9
15
|
fullWidth?: boolean;
|
|
16
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
10
17
|
interaction?: ControlInteractionOptions | false;
|
|
18
|
+
/** Fired when the selected segment changes. */
|
|
11
19
|
onvaluechange?: (value: string | number) => void;
|
|
20
|
+
/** Additional CSS class names. */
|
|
12
21
|
class?: string;
|
|
13
22
|
}
|
|
14
23
|
declare const SegmentedControl: import("svelte").Component<Props, {}, "value">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/SegmentedControl.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAS1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAGzD,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuFD,QAAA,MAAM,gBAAgB,gDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"SegmentedControl.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/SegmentedControl.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAS1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAGzD,MAAM,WAAW,KAAK;IACpB,+CAA+C;IAC/C,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,+CAA+C;IAC/C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACjD,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuFD,QAAA,MAAM,gBAAgB,gDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
|
@@ -13,9 +13,13 @@ import { tryGetFormGroupContext } from './form-group-context.js';
|
|
|
13
13
|
import { useControlRegistration } from './use-control-registration.svelte.js';
|
|
14
14
|
|
|
15
15
|
export interface Props extends Omit<HTMLSelectAttributes, 'class' | 'value'> {
|
|
16
|
+
/** The currently selected option value. */
|
|
16
17
|
value?: string;
|
|
18
|
+
/** Additional CSS class names. */
|
|
17
19
|
class?: string;
|
|
20
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
18
21
|
interaction?: ControlInteractionOptions | false;
|
|
22
|
+
/** The option and optgroup elements. */
|
|
19
23
|
children: Snippet;
|
|
20
24
|
}
|
|
21
25
|
|
|
@@ -2,9 +2,13 @@ import type { Snippet } from 'svelte';
|
|
|
2
2
|
import type { HTMLSelectAttributes } from 'svelte/elements';
|
|
3
3
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
4
4
|
export interface Props extends Omit<HTMLSelectAttributes, 'class' | 'value'> {
|
|
5
|
+
/** The currently selected option value. */
|
|
5
6
|
value?: string;
|
|
7
|
+
/** Additional CSS class names. */
|
|
6
8
|
class?: string;
|
|
9
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
7
10
|
interaction?: ControlInteractionOptions | false;
|
|
11
|
+
/** The option and optgroup elements. */
|
|
8
12
|
children: Snippet;
|
|
9
13
|
}
|
|
10
14
|
declare const Select: import("svelte").Component<Props, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Select.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAO1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+HD,QAAA,MAAM,MAAM;iBAjBO,IAAI;sBAIC,iBAAiB,GAAG,IAAI;WAaI,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Select.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Select.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAO1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1E,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,wCAAwC;IACxC,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+HD,QAAA,MAAM,MAAM;iBAjBO,IAAI;sBAIC,iBAAiB,GAAG,IAAI;WAaI,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -19,15 +19,25 @@ export interface Props
|
|
|
19
19
|
HTMLInputAttributes,
|
|
20
20
|
'type' | 'class' | 'value' | 'min' | 'max' | 'step'
|
|
21
21
|
> {
|
|
22
|
+
/** The current slider value. */
|
|
22
23
|
value?: number;
|
|
24
|
+
/** Minimum allowed value. */
|
|
23
25
|
min?: number;
|
|
26
|
+
/** Maximum allowed value. */
|
|
24
27
|
max?: number;
|
|
28
|
+
/** Increment step for the slider. */
|
|
25
29
|
step?: number;
|
|
30
|
+
/** Header label displayed above the slider. */
|
|
26
31
|
label?: string;
|
|
32
|
+
/** Unit suffix appended to the displayed value. */
|
|
27
33
|
unit?: string;
|
|
34
|
+
/** Shows an editable number input alongside the slider. */
|
|
28
35
|
showInput?: boolean;
|
|
36
|
+
/** Formats the value for display in the output element. */
|
|
29
37
|
formatValue?: (value: number) => string;
|
|
38
|
+
/** Additional CSS class names. */
|
|
30
39
|
class?: string;
|
|
40
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
31
41
|
interaction?: ControlInteractionOptions | false;
|
|
32
42
|
}
|
|
33
43
|
let {
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import type { HTMLInputAttributes } from 'svelte/elements';
|
|
2
2
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
3
3
|
export interface Props extends Omit<HTMLInputAttributes, 'type' | 'class' | 'value' | 'min' | 'max' | 'step'> {
|
|
4
|
+
/** The current slider value. */
|
|
4
5
|
value?: number;
|
|
6
|
+
/** Minimum allowed value. */
|
|
5
7
|
min?: number;
|
|
8
|
+
/** Maximum allowed value. */
|
|
6
9
|
max?: number;
|
|
10
|
+
/** Increment step for the slider. */
|
|
7
11
|
step?: number;
|
|
12
|
+
/** Header label displayed above the slider. */
|
|
8
13
|
label?: string;
|
|
14
|
+
/** Unit suffix appended to the displayed value. */
|
|
9
15
|
unit?: string;
|
|
16
|
+
/** Shows an editable number input alongside the slider. */
|
|
10
17
|
showInput?: boolean;
|
|
18
|
+
/** Formats the value for display in the output element. */
|
|
11
19
|
formatValue?: (value: number) => string;
|
|
20
|
+
/** Additional CSS class names. */
|
|
12
21
|
class?: string;
|
|
22
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
13
23
|
interaction?: ControlInteractionOptions | false;
|
|
14
24
|
}
|
|
15
25
|
declare const Slider: import("svelte").Component<Props, {}, "value">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Slider.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAU1E,MAAM,WAAW,KACf,SAAQ,IAAI,CACV,mBAAmB,EACnB,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CACpD;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAsHD,QAAA,MAAM,MAAM,gDAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Slider.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Slider.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAU1E,MAAM,WAAW,KACf,SAAQ,IAAI,CACV,mBAAmB,EACnB,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CACpD;IACD,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAsHD,QAAA,MAAM,MAAM,gDAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -15,10 +15,15 @@ import type { StagedControlReviewLabels } from './staged-control-review.js';
|
|
|
15
15
|
const { t } = useI18n();
|
|
16
16
|
|
|
17
17
|
export interface Props {
|
|
18
|
+
/** The control interaction registry tracking staged changes. */
|
|
18
19
|
registry: ControlInteractionRegistry;
|
|
20
|
+
/** Identifier for the form being reviewed. */
|
|
19
21
|
formId: string;
|
|
22
|
+
/** Form element containing the controls; enables auto-refresh on field changes. */
|
|
20
23
|
formElement?: HTMLFormElement | null;
|
|
24
|
+
/** Shows the review summary and list of staged changes. */
|
|
21
25
|
summary?: boolean;
|
|
26
|
+
/** Customized text labels for the review interface. */
|
|
22
27
|
labels?: Partial<StagedControlReviewLabels>;
|
|
23
28
|
}
|
|
24
29
|
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { ControlInteractionRegistry } from './control-interaction.js';
|
|
2
2
|
import type { StagedControlReviewLabels } from './staged-control-review.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
/** The control interaction registry tracking staged changes. */
|
|
4
5
|
registry: ControlInteractionRegistry;
|
|
6
|
+
/** Identifier for the form being reviewed. */
|
|
5
7
|
formId: string;
|
|
8
|
+
/** Form element containing the controls; enables auto-refresh on field changes. */
|
|
6
9
|
formElement?: HTMLFormElement | null;
|
|
10
|
+
/** Shows the review summary and list of staged changes. */
|
|
7
11
|
summary?: boolean;
|
|
12
|
+
/** Customized text labels for the review interface. */
|
|
8
13
|
labels?: Partial<StagedControlReviewLabels>;
|
|
9
14
|
}
|
|
10
15
|
declare const StagedControlReview: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StagedControlReview.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/StagedControlReview.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,0BAA0B,CAAC;AAKlC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAG5E,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,0BAA0B,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAC7C;AAkkBD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"StagedControlReview.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/StagedControlReview.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,0BAA0B,CAAC;AAKlC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAG5E,MAAM,WAAW,KAAK;IACpB,gEAAgE;IAChE,QAAQ,EAAE,0BAA0B,CAAC;IACrC,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACrC,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uDAAuD;IACvD,MAAM,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAC7C;AAkkBD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
|
|
@@ -20,11 +20,17 @@ export interface Props
|
|
|
20
20
|
HTMLInputAttributes,
|
|
21
21
|
'type' | 'class' | 'checked' | 'role' | 'size'
|
|
22
22
|
> {
|
|
23
|
+
/** Whether the switch is checked. */
|
|
23
24
|
checked?: boolean;
|
|
25
|
+
/** Text displayed next to the switch. */
|
|
24
26
|
label?: string;
|
|
27
|
+
/** Position of the label relative to the switch. */
|
|
25
28
|
labelPosition?: 'left' | 'right';
|
|
29
|
+
/** Visual size of the switch control. */
|
|
26
30
|
size?: 'sm' | 'md' | 'lg';
|
|
31
|
+
/** Additional CSS class names. */
|
|
27
32
|
class?: string;
|
|
33
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
28
34
|
interaction?: ControlInteractionOptions | false;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import type { HTMLInputAttributes } from 'svelte/elements';
|
|
2
2
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
3
3
|
export interface Props extends Omit<HTMLInputAttributes, 'type' | 'class' | 'checked' | 'role' | 'size'> {
|
|
4
|
+
/** Whether the switch is checked. */
|
|
4
5
|
checked?: boolean;
|
|
6
|
+
/** Text displayed next to the switch. */
|
|
5
7
|
label?: string;
|
|
8
|
+
/** Position of the label relative to the switch. */
|
|
6
9
|
labelPosition?: 'left' | 'right';
|
|
10
|
+
/** Visual size of the switch control. */
|
|
7
11
|
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
/** Additional CSS class names. */
|
|
8
13
|
class?: string;
|
|
14
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
9
15
|
interaction?: ControlInteractionOptions | false;
|
|
10
16
|
}
|
|
11
17
|
declare const Switch: import("svelte").Component<Props, {}, "checked">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Switch.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAW1E,MAAM,WAAW,KACf,SAAQ,IAAI,CACV,mBAAmB,EACnB,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAC/C;IACD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAuGD,QAAA,MAAM,MAAM,kDAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Switch.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Switch.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAW1E,MAAM,WAAW,KACf,SAAQ,IAAI,CACV,mBAAmB,EACnB,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAC/C;IACD,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,yCAAyC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAuGD,QAAA,MAAM,MAAM,kDAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -12,15 +12,25 @@ import {
|
|
|
12
12
|
import { validatesStringArray } from './control-value-validation.js';
|
|
13
13
|
import { useControlRegistration } from './use-control-registration.svelte.js';
|
|
14
14
|
export interface Props {
|
|
15
|
+
/** The array of tag strings currently in the input. */
|
|
15
16
|
values?: string[];
|
|
17
|
+
/** Label displayed above the tags input. */
|
|
16
18
|
label: string;
|
|
19
|
+
/** Form field name for the hidden tag inputs. */
|
|
17
20
|
name?: string;
|
|
21
|
+
/** Placeholder text for the input field. */
|
|
18
22
|
placeholder?: string;
|
|
23
|
+
/** Blocks adding or removing tags. */
|
|
19
24
|
disabled?: boolean;
|
|
25
|
+
/** Maximum number of tags allowed in the input. */
|
|
20
26
|
maxTags?: number;
|
|
27
|
+
/** Allows the same tag value to be added multiple times. */
|
|
21
28
|
allowDuplicates?: boolean;
|
|
29
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
22
30
|
interaction?: ControlInteractionOptions | false;
|
|
31
|
+
/** Fired when the tag array is modified. */
|
|
23
32
|
onvalueschange?: (values: string[]) => void;
|
|
33
|
+
/** Additional CSS class names. */
|
|
24
34
|
class?: string;
|
|
25
35
|
}
|
|
26
36
|
let {
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
2
2
|
export interface Props {
|
|
3
|
+
/** The array of tag strings currently in the input. */
|
|
3
4
|
values?: string[];
|
|
5
|
+
/** Label displayed above the tags input. */
|
|
4
6
|
label: string;
|
|
7
|
+
/** Form field name for the hidden tag inputs. */
|
|
5
8
|
name?: string;
|
|
9
|
+
/** Placeholder text for the input field. */
|
|
6
10
|
placeholder?: string;
|
|
11
|
+
/** Blocks adding or removing tags. */
|
|
7
12
|
disabled?: boolean;
|
|
13
|
+
/** Maximum number of tags allowed in the input. */
|
|
8
14
|
maxTags?: number;
|
|
15
|
+
/** Allows the same tag value to be added multiple times. */
|
|
9
16
|
allowDuplicates?: boolean;
|
|
17
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
10
18
|
interaction?: ControlInteractionOptions | false;
|
|
19
|
+
/** Fired when the tag array is modified. */
|
|
11
20
|
onvalueschange?: (values: string[]) => void;
|
|
21
|
+
/** Additional CSS class names. */
|
|
12
22
|
class?: string;
|
|
13
23
|
}
|
|
14
24
|
declare const TagsInput: import("svelte").Component<Props, {}, "values">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagsInput.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/TagsInput.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAQ1E,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgHD,QAAA,MAAM,SAAS,iDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"TagsInput.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/TagsInput.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAQ1E,MAAM,WAAW,KAAK;IACpB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,4CAA4C;IAC5C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgHD,QAAA,MAAM,SAAS,iDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
|
|
@@ -15,9 +15,13 @@ import { tryGetFormGroupContext } from './form-group-context.js';
|
|
|
15
15
|
import { useControlRegistration } from './use-control-registration.svelte.js';
|
|
16
16
|
|
|
17
17
|
export interface Props extends Omit<HTMLTextareaAttributes, 'class' | 'value'> {
|
|
18
|
+
/** The text content of the textarea. */
|
|
18
19
|
value?: string;
|
|
20
|
+
/** Number of visible text rows. */
|
|
19
21
|
rows?: number;
|
|
22
|
+
/** Additional CSS class names. */
|
|
20
23
|
class?: string;
|
|
24
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
21
25
|
interaction?: ControlInteractionOptions | false;
|
|
22
26
|
}
|
|
23
27
|
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type { HTMLTextareaAttributes } from 'svelte/elements';
|
|
2
2
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
3
3
|
export interface Props extends Omit<HTMLTextareaAttributes, 'class' | 'value'> {
|
|
4
|
+
/** The text content of the textarea. */
|
|
4
5
|
value?: string;
|
|
6
|
+
/** Number of visible text rows. */
|
|
5
7
|
rows?: number;
|
|
8
|
+
/** Additional CSS class names. */
|
|
6
9
|
class?: string;
|
|
10
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
7
11
|
interaction?: ControlInteractionOptions | false;
|
|
8
12
|
}
|
|
9
13
|
declare const Textarea: import("svelte").Component<Props, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Textarea.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAM9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAU1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAgHD,QAAA,MAAM,QAAQ;iBAfK,IAAI;sBAIC,mBAAmB,GAAG,IAAI;WAWI,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"Textarea.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Textarea.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAM9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAU1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5E,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAgHD,QAAA,MAAM,QAAQ;iBAfK,IAAI;sBAIC,mBAAmB,GAAG,IAAI;WAWI,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
|
@@ -4,9 +4,13 @@ import type { ControlInteractionOptions } from './control-interaction.js';
|
|
|
4
4
|
import Input from './Input.svelte';
|
|
5
5
|
export interface Props
|
|
6
6
|
extends Omit<HTMLInputAttributes, 'type' | 'value' | 'class'> {
|
|
7
|
+
/** The selected time value in HH:mm format. */
|
|
7
8
|
value?: string;
|
|
9
|
+
/** Label displayed above the time input. */
|
|
8
10
|
label: string;
|
|
11
|
+
/** Additional CSS class names. */
|
|
9
12
|
class?: string;
|
|
13
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
10
14
|
interaction?: ControlInteractionOptions | false;
|
|
11
15
|
}
|
|
12
16
|
let {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type { HTMLInputAttributes } from 'svelte/elements';
|
|
2
2
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
3
3
|
export interface Props extends Omit<HTMLInputAttributes, 'type' | 'value' | 'class'> {
|
|
4
|
+
/** The selected time value in HH:mm format. */
|
|
4
5
|
value?: string;
|
|
6
|
+
/** Label displayed above the time input. */
|
|
5
7
|
label: string;
|
|
8
|
+
/** Additional CSS class names. */
|
|
6
9
|
class?: string;
|
|
10
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
7
11
|
interaction?: ControlInteractionOptions | false;
|
|
8
12
|
}
|
|
9
13
|
declare const TimePicker: import("svelte").Component<Props, {}, "value">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/TimePicker.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAG1E,MAAM,WAAW,KACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAuBD,QAAA,MAAM,UAAU,gDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"TimePicker.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/TimePicker.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAG1E,MAAM,WAAW,KACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IAC7D,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;CACjD;AAuBD,QAAA,MAAM,UAAU,gDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|
|
@@ -15,9 +15,13 @@ import { prepareBooleanControlValue } from './control-value-validation.js';
|
|
|
15
15
|
import { useControlRegistration } from './use-control-registration.svelte.js';
|
|
16
16
|
|
|
17
17
|
export interface Props extends Omit<HTMLButtonAttributes, 'class'> {
|
|
18
|
+
/** Whether the button is in pressed state. */
|
|
18
19
|
pressed?: boolean;
|
|
20
|
+
/** Additional CSS class names. */
|
|
19
21
|
class?: string;
|
|
22
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
20
23
|
interaction?: ControlInteractionOptions | false;
|
|
24
|
+
/** The button content. */
|
|
21
25
|
children?: Snippet;
|
|
22
26
|
}
|
|
23
27
|
let {
|
|
@@ -2,9 +2,13 @@ import type { Snippet } from 'svelte';
|
|
|
2
2
|
import type { HTMLButtonAttributes } from 'svelte/elements';
|
|
3
3
|
import type { ControlInteractionOptions } from './control-interaction.js';
|
|
4
4
|
export interface Props extends Omit<HTMLButtonAttributes, 'class'> {
|
|
5
|
+
/** Whether the button is in pressed state. */
|
|
5
6
|
pressed?: boolean;
|
|
7
|
+
/** Additional CSS class names. */
|
|
6
8
|
class?: string;
|
|
9
|
+
/** Registers this control for agent interaction; omit or pass false to exclude. */
|
|
7
10
|
interaction?: ControlInteractionOptions | false;
|
|
11
|
+
/** The button content. */
|
|
8
12
|
children?: Snippet;
|
|
9
13
|
}
|
|
10
14
|
declare const ToggleButton: import("svelte").Component<Props, {}, "pressed">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleButton.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ToggleButton.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAS1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA6ED,QAAA,MAAM,YAAY,kDAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"ToggleButton.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ToggleButton.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAS1E,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IAChE,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,WAAW,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAAC;IAChD,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA6ED,QAAA,MAAM,YAAY,kDAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -5,7 +5,9 @@ import type { HTMLAttributes } from 'svelte/elements';
|
|
|
5
5
|
type MaxWidth = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
6
6
|
|
|
7
7
|
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, 'class'> {
|
|
8
|
+
/** Maximum width constraint for the container. */
|
|
8
9
|
maxWidth?: MaxWidth;
|
|
10
|
+
/** The container content. */
|
|
9
11
|
children?: Snippet;
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -2,7 +2,9 @@ import type { Snippet } from 'svelte';
|
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
3
|
type MaxWidth = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
4
4
|
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, 'class'> {
|
|
5
|
+
/** Maximum width constraint for the container. */
|
|
5
6
|
maxWidth?: MaxWidth;
|
|
7
|
+
/** The container content. */
|
|
6
8
|
children?: Snippet;
|
|
7
9
|
}
|
|
8
10
|
declare const Container: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Container.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,KAAK,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAEnD,UAAU,KAAM,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACnE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD,QAAA,MAAM,SAAS,2CAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"Container.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Container.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,KAAK,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAEnD,UAAU,KAAM,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACnE,kDAAkD;IAClD,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD,QAAA,MAAM,SAAS,2CAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Footer.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAMtC,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiCD,QAAA,MAAM,MAAM,2CAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Footer.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Footer.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAMtC,MAAM,WAAW,KAAK;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiCD,QAAA,MAAM,MAAM,2CAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Header.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAItC,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AA+BD,QAAA,MAAM,MAAM,2CAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Header.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Header.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAItC,MAAM,WAAW,KAAK;IACpB,kCAAkC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gCAAgC;IAChC,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AA+BD,QAAA,MAAM,MAAM,2CAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -7,11 +7,17 @@ import Container from './Container.svelte';
|
|
|
7
7
|
const { t } = useI18n();
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
10
|
+
/** Formatted date string displayed in the masthead. */
|
|
10
11
|
date?: string;
|
|
12
|
+
/** URL for the date link; omit to make it non-interactive. */
|
|
11
13
|
dateHref?: string;
|
|
14
|
+
/** Location text displayed in the masthead. */
|
|
12
15
|
location?: string;
|
|
16
|
+
/** URL for the location link. */
|
|
13
17
|
locationHref?: string;
|
|
18
|
+
/** Navigation links displayed on desktop. */
|
|
14
19
|
nav?: Snippet;
|
|
20
|
+
/** Navigation links displayed on mobile; falls back to nav if omitted. */
|
|
15
21
|
mobileNav?: Snippet;
|
|
16
22
|
}
|
|
17
23
|
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
export interface Props {
|
|
3
|
+
/** Formatted date string displayed in the masthead. */
|
|
3
4
|
date?: string;
|
|
5
|
+
/** URL for the date link; omit to make it non-interactive. */
|
|
4
6
|
dateHref?: string;
|
|
7
|
+
/** Location text displayed in the masthead. */
|
|
5
8
|
location?: string;
|
|
9
|
+
/** URL for the location link. */
|
|
6
10
|
locationHref?: string;
|
|
11
|
+
/** Navigation links displayed on desktop. */
|
|
7
12
|
nav?: Snippet;
|
|
13
|
+
/** Navigation links displayed on mobile; falls back to nav if omitted. */
|
|
8
14
|
mobileNav?: Snippet;
|
|
9
15
|
}
|
|
10
16
|
declare const Masthead: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Masthead.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Masthead.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAMtC,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA+ED,QAAA,MAAM,QAAQ,2CAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"Masthead.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Masthead.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAMtC,MAAM,WAAW,KAAK;IACpB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA+ED,QAAA,MAAM,QAAQ,2CAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
|
@@ -6,10 +6,15 @@ import RoleBadge from '../roles/RoleBadge.svelte';
|
|
|
6
6
|
const { t } = useI18n();
|
|
7
7
|
|
|
8
8
|
interface Props {
|
|
9
|
+
/** The membership record to display. */
|
|
9
10
|
membership: Membership;
|
|
11
|
+
/** The tenant associated with this membership. */
|
|
10
12
|
tenant: Tenant;
|
|
13
|
+
/** The role assigned in this membership. */
|
|
11
14
|
role: Role;
|
|
15
|
+
/** Fired when the remove button is clicked. */
|
|
12
16
|
onremove?: () => void;
|
|
17
|
+
/** Fired when the change role button is clicked. */
|
|
13
18
|
onchangerole?: () => void;
|
|
14
19
|
}
|
|
15
20
|
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { Membership, Role, Tenant } from '@happyvertical/smrt-types';
|
|
2
2
|
interface Props {
|
|
3
|
+
/** The membership record to display. */
|
|
3
4
|
membership: Membership;
|
|
5
|
+
/** The tenant associated with this membership. */
|
|
4
6
|
tenant: Tenant;
|
|
7
|
+
/** The role assigned in this membership. */
|
|
5
8
|
role: Role;
|
|
9
|
+
/** Fired when the remove button is clicked. */
|
|
6
10
|
onremove?: () => void;
|
|
11
|
+
/** Fired when the change role button is clicked. */
|
|
7
12
|
onchangerole?: () => void;
|
|
8
13
|
}
|
|
9
14
|
declare const MembershipCard: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembershipCard.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/memberships/MembershipCard.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAK1E,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAkED,QAAA,MAAM,cAAc,2CAAwC,CAAC;AAC7D,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACxD,eAAe,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"MembershipCard.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/memberships/MembershipCard.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAK1E,UAAU,KAAK;IACb,wCAAwC;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,IAAI,EAAE,IAAI,CAAC;IACX,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAkED,QAAA,MAAM,cAAc,2CAAwC,CAAC;AAC7D,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACxD,eAAe,cAAc,CAAC"}
|
|
@@ -13,11 +13,17 @@ interface MembershipWithContext {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
interface Props {
|
|
16
|
+
/** Array of memberships with associated tenant and role data. */
|
|
16
17
|
memberships: MembershipWithContext[];
|
|
18
|
+
/** Fired when a membership is removed, passed the membership object. */
|
|
17
19
|
onremove?: (membership: Membership) => void;
|
|
20
|
+
/** Fired when a membership role changes, passed the membership object. */
|
|
18
21
|
onchangerole?: (membership: Membership) => void;
|
|
22
|
+
/** Message displayed when the memberships array is empty. */
|
|
19
23
|
emptyMessage?: string;
|
|
24
|
+
/** Custom empty state content; replaces emptyMessage when provided. */
|
|
20
25
|
empty?: Snippet;
|
|
26
|
+
/** Shows the loading spinner and hides membership cards. */
|
|
21
27
|
loading?: boolean;
|
|
22
28
|
}
|
|
23
29
|
|
|
@@ -6,11 +6,17 @@ interface MembershipWithContext {
|
|
|
6
6
|
role: Role;
|
|
7
7
|
}
|
|
8
8
|
interface Props {
|
|
9
|
+
/** Array of memberships with associated tenant and role data. */
|
|
9
10
|
memberships: MembershipWithContext[];
|
|
11
|
+
/** Fired when a membership is removed, passed the membership object. */
|
|
10
12
|
onremove?: (membership: Membership) => void;
|
|
13
|
+
/** Fired when a membership role changes, passed the membership object. */
|
|
11
14
|
onchangerole?: (membership: Membership) => void;
|
|
15
|
+
/** Message displayed when the memberships array is empty. */
|
|
12
16
|
emptyMessage?: string;
|
|
17
|
+
/** Custom empty state content; replaces emptyMessage when provided. */
|
|
13
18
|
empty?: Snippet;
|
|
19
|
+
/** Shows the loading spinner and hides membership cards. */
|
|
14
20
|
loading?: boolean;
|
|
15
21
|
}
|
|
16
22
|
declare const MembershipList: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembershipList.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/memberships/MembershipList.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAE1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAItC,UAAU,qBAAqB;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,UAAU,KAAK;IACb,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA4CD,QAAA,MAAM,cAAc,2CAAwC,CAAC;AAC7D,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACxD,eAAe,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"MembershipList.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/memberships/MembershipList.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAE1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAItC,UAAU,qBAAqB;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,UAAU,KAAK;IACb,iEAAiE;IACjE,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,wEAAwE;IACxE,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC5C,0EAA0E;IAC1E,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAChD,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA4CD,QAAA,MAAM,cAAc,2CAAwC,CAAC;AAC7D,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACxD,eAAe,cAAc,CAAC"}
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { Role } from '@happyvertical/smrt-types';
|
|
6
6
|
export interface Props {
|
|
7
|
+
/** The role object whose name is displayed. */
|
|
7
8
|
role: Role;
|
|
9
|
+
/** Visual size of the badge. */
|
|
8
10
|
size?: 'sm' | 'md' | 'lg';
|
|
9
11
|
}
|
|
10
12
|
declare const RoleBadge: import("svelte").Component<Props, {}, "">;
|