@infotrust/ui 0.0.0-stage → 0.30.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/LICENSE +24 -0
- package/NOTICE.md +37 -0
- package/README.md +53 -2
- package/dist/assistant-session-DP4_70Xk.js +1381 -0
- package/dist/command-Bjncx7YR.js +1279 -0
- package/dist/components/actions/ItActionMenu.vue.d.ts +24 -0
- package/dist/components/actions/ItDecisionToggle.vue.d.ts +22 -0
- package/dist/components/actions/ItIconButton.vue.d.ts +24 -0
- package/dist/components/actions/ItLinkButton.vue.d.ts +17 -0
- package/dist/components/actions/action-menu.d.ts +19 -0
- package/dist/components/charts/ItBarChart.vue.d.ts +121 -0
- package/dist/components/charts/ItCalendarChart.vue.d.ts +80 -0
- package/dist/components/charts/ItChartLegend.vue.d.ts +47 -0
- package/dist/components/charts/ItChartTable.vue.d.ts +16 -0
- package/dist/components/charts/ItChartTooltip.vue.d.ts +52 -0
- package/dist/components/charts/ItDonutChart.vue.d.ts +79 -0
- package/dist/components/charts/ItProportionBar.vue.d.ts +42 -0
- package/dist/components/charts/ItSparkline.vue.d.ts +42 -0
- package/dist/components/charts/ItTrendChart.vue.d.ts +80 -0
- package/dist/components/charts/chart.d.ts +84 -0
- package/dist/components/charts/selection.d.ts +14 -0
- package/dist/components/charts/skeleton.d.ts +16 -0
- package/dist/components/command/ItAssistantPanel.vue.d.ts +56 -0
- package/dist/components/command/ItAssistantThread.vue.d.ts +73 -0
- package/dist/components/command/ItCommandPalette.vue.d.ts +102 -0
- package/dist/components/command/ItMarkdown.vue.d.ts +12 -0
- package/dist/components/command/assistant-session.d.ts +26 -0
- package/dist/components/command/command.d.ts +127 -0
- package/dist/components/command/markdown.d.ts +55 -0
- package/dist/components/content/ItDocsArticle.vue.d.ts +18 -0
- package/dist/components/content/ItDocsLayout.vue.d.ts +29 -0
- package/dist/components/content/ItDocsPager.vue.d.ts +12 -0
- package/dist/components/content/ItProse.vue.d.ts +18 -0
- package/dist/components/content/docs.d.ts +23 -0
- package/dist/components/dag/ItDagCanvas.vue.d.ts +143 -0
- package/dist/components/dag/ItDagControls.vue.d.ts +2 -0
- package/dist/components/dag/ItDagEdge.vue.d.ts +21 -0
- package/dist/components/dag/ItDagLibrary.vue.d.ts +19 -0
- package/dist/components/dag/ItDagNode.vue.d.ts +20 -0
- package/dist/components/dag/dag.d.ts +182 -0
- package/dist/components/dag/history.d.ts +51 -0
- package/dist/components/dag/layout.d.ts +54 -0
- package/dist/components/dag/route.d.ts +24 -0
- package/dist/components/data/DataError.vue.d.ts +12 -0
- package/dist/components/data/ItChangeList.vue.d.ts +48 -0
- package/dist/components/data/ItCodeBlock.vue.d.ts +23 -0
- package/dist/components/data/ItDataTable.vue.d.ts +135 -0
- package/dist/components/data/ItDataToolbar.vue.d.ts +57 -0
- package/dist/components/data/ItDescriptionList.vue.d.ts +30 -0
- package/dist/components/data/ItEmptyState.vue.d.ts +22 -0
- package/dist/components/data/ItKpiCard.vue.d.ts +89 -0
- package/dist/components/data/ItKpiDetail.vue.d.ts +40 -0
- package/dist/components/data/ItKpiGrid.vue.d.ts +19 -0
- package/dist/components/data/ItObjectName.vue.d.ts +64 -0
- package/dist/components/data/ItPaginator.vue.d.ts +46 -0
- package/dist/components/data/ItResourceList.vue.d.ts +39 -0
- package/dist/components/data/ItResourceListItem.vue.d.ts +40 -0
- package/dist/components/data/ItSkeleton.vue.d.ts +14 -0
- package/dist/components/data/ItTablePaginator.vue.d.ts +34 -0
- package/dist/components/data/ItTime.vue.d.ts +13 -0
- package/dist/components/data/ItTreeTable.vue.d.ts +109 -0
- package/dist/components/data/TableChevron.vue.d.ts +8 -0
- package/dist/components/data/TableExpansion.vue.d.ts +22 -0
- package/dist/components/data/column-sizing.d.ts +31 -0
- package/dist/components/data/data-table.d.ts +15 -0
- package/dist/components/data/highlight-worker.d.ts +1 -0
- package/dist/components/data/highlight.d.ts +3 -0
- package/dist/components/data/kpi-placement.d.ts +40 -0
- package/dist/components/data/kpi.d.ts +16 -0
- package/dist/components/data/sticky-header.d.ts +9 -0
- package/dist/components/data/table-skeleton.d.ts +11 -0
- package/dist/components/data/table-source.d.ts +77 -0
- package/dist/components/data/tree-table-public.d.ts +17 -0
- package/dist/components/data/tree-table.d.ts +30 -0
- package/dist/components/feedback/ItCallout.vue.d.ts +25 -0
- package/dist/components/feedback/ItConfirmHost.vue.d.ts +2 -0
- package/dist/components/feedback/ItOverlayHost.vue.d.ts +2 -0
- package/dist/components/feedback/ItProgressBar.vue.d.ts +19 -0
- package/dist/components/feedback/ItToastHost.vue.d.ts +2 -0
- package/dist/components/forms/FieldClearButton.vue.d.ts +11 -0
- package/dist/components/forms/ItAutoComplete.vue.d.ts +69 -0
- package/dist/components/forms/ItCheckboxGroup.vue.d.ts +27 -0
- package/dist/components/forms/ItChipInput.vue.d.ts +32 -0
- package/dist/components/forms/ItCodeEditor.vue.d.ts +64 -0
- package/dist/components/forms/ItDatePicker.vue.d.ts +35 -0
- package/dist/components/forms/ItFileDrop.vue.d.ts +47 -0
- package/dist/components/forms/ItFilterChip.vue.d.ts +13 -0
- package/dist/components/forms/ItFilterMenu.vue.d.ts +37 -0
- package/dist/components/forms/ItFilterPopover.vue.d.ts +44 -0
- package/dist/components/forms/ItFormActions.vue.d.ts +14 -0
- package/dist/components/forms/ItFormField.vue.d.ts +44 -0
- package/dist/components/forms/ItFormRows.vue.d.ts +50 -0
- package/dist/components/forms/ItFormSection.vue.d.ts +28 -0
- package/dist/components/forms/ItLabelCell.vue.d.ts +42 -0
- package/dist/components/forms/ItLabelPicker.vue.d.ts +34 -0
- package/dist/components/forms/ItMultiSelect.vue.d.ts +53 -0
- package/dist/components/forms/ItOptionCardGroup.vue.d.ts +35 -0
- package/dist/components/forms/ItRadioGroup.vue.d.ts +29 -0
- package/dist/components/forms/ItSearchInput.vue.d.ts +25 -0
- package/dist/components/forms/ItSegmentedControl.vue.d.ts +25 -0
- package/dist/components/forms/ItSelect.vue.d.ts +50 -0
- package/dist/components/forms/ItSwitch.vue.d.ts +31 -0
- package/dist/components/forms/ItTabs.vue.d.ts +27 -0
- package/dist/components/forms/OptionSourceSlot.vue.d.ts +13 -0
- package/dist/components/forms/choice.d.ts +24 -0
- package/dist/components/forms/code-editor.d.ts +17 -0
- package/dist/components/forms/field-context.d.ts +39 -0
- package/dist/components/forms/file-drop.d.ts +19 -0
- package/dist/components/forms/form-errors.d.ts +7 -0
- package/dist/components/forms/form-rows.d.ts +8 -0
- package/dist/components/forms/option-source.d.ts +39 -0
- package/dist/components/forms/virtual-options.d.ts +12 -0
- package/dist/components/layout/ItBreadcrumb.vue.d.ts +12 -0
- package/dist/components/layout/ItDetailSection.vue.d.ts +21 -0
- package/dist/components/layout/ItPage.vue.d.ts +44 -0
- package/dist/components/layout/ItPanel.vue.d.ts +47 -0
- package/dist/components/layout/ItSectionNav.vue.d.ts +43 -0
- package/dist/components/layout/ItWizard.vue.d.ts +57 -0
- package/dist/components/layout/ItWizardSteps.vue.d.ts +15 -0
- package/dist/components/layout/SectionNavLinks.vue.d.ts +15 -0
- package/dist/components/layout/panel.d.ts +18 -0
- package/dist/components/layout/section-nav.d.ts +17 -0
- package/dist/components/layout/wizard.d.ts +13 -0
- package/dist/components/logic/ItFieldPicker.vue.d.ts +40 -0
- package/dist/components/logic/ItLogicBuilder.vue.d.ts +58 -0
- package/dist/components/logic/ItLogicCondition.vue.d.ts +9 -0
- package/dist/components/logic/ItLogicGroup.vue.d.ts +9 -0
- package/dist/components/logic/ItOperatorSelect.vue.d.ts +25 -0
- package/dist/components/logic/ItValueInput.vue.d.ts +29 -0
- package/dist/components/logic/logic.d.ts +263 -0
- package/dist/components/logic/region.d.ts +44 -0
- package/dist/components/overlays/ItDrawer.vue.d.ts +48 -0
- package/dist/components/overlays/ItModal.vue.d.ts +53 -0
- package/dist/components/overlays/escape-stack.d.ts +7 -0
- package/dist/components/overlays/modal.d.ts +23 -0
- package/dist/components/shell/ItAppShell.vue.d.ts +68 -0
- package/dist/components/shell/ItCommandTrigger.vue.d.ts +17 -0
- package/dist/components/shell/ItOrgSwitcher.vue.d.ts +26 -0
- package/dist/components/shell/ItShellMenuItem.vue.d.ts +18 -0
- package/dist/components/shell/ItShellNavBranch.vue.d.ts +15 -0
- package/dist/components/shell/ItShellNavLink.vue.d.ts +18 -0
- package/dist/components/shell/ItShellSidebarButton.vue.d.ts +15 -0
- package/dist/components/shell/ItThemeControl.vue.d.ts +13 -0
- package/dist/components/shell/org.d.ts +36 -0
- package/dist/components/shell/types.d.ts +67 -0
- package/dist/components/status/ItBadge.vue.d.ts +12 -0
- package/dist/components/status/ItEntityTypeChip.vue.d.ts +14 -0
- package/dist/components/status/ItLabelChip.vue.d.ts +21 -0
- package/dist/components/status/ItLabelChipList.vue.d.ts +27 -0
- package/dist/components/status/ItPlatformChip.vue.d.ts +20 -0
- package/dist/components/status/ItPlatformLogo.vue.d.ts +17 -0
- package/dist/components/status/ItSeverityBadge.vue.d.ts +9 -0
- package/dist/components/status/ItStatus.vue.d.ts +12 -0
- package/dist/components.css +1 -0
- package/dist/composables/iconMotion.d.ts +12 -0
- package/dist/composables/ripple.d.ts +3 -0
- package/dist/composables/useItConfirm.d.ts +16 -0
- package/dist/composables/useItCopy.d.ts +4 -0
- package/dist/composables/useItCursorPager.d.ts +50 -0
- package/dist/composables/useItTheme.d.ts +26 -0
- package/dist/composables/useItToast.d.ts +24 -0
- package/dist/dag.d.ts +5 -0
- package/dist/dag.js +1754 -0
- package/dist/dev-D7A7MIn_.js +1264 -0
- package/dist/directives/truncate.d.ts +29 -0
- package/dist/elk-worker.min-O2A22ecl.js +6321 -0
- package/dist/format/index.d.ts +53 -0
- package/dist/highlight-worker-DIrLC7a2.js +25 -0
- package/dist/index.d.ts +147 -0
- package/dist/index.js +11989 -0
- package/dist/licenses/@vue-flow__core.LICENSE +20 -0
- package/dist/licenses/elkjs.LICENSE.md +263 -0
- package/dist/licenses/highlight.js.LICENSE +29 -0
- package/dist/licenses/vue-sonner.LICENSE +21 -0
- package/dist/platform-art-Bt1CnaKE.js +86 -0
- package/dist/plugin.d.ts +69 -0
- package/dist/registries/entity-type.d.ts +18 -0
- package/dist/registries/platform-art.d.ts +2 -0
- package/dist/registries/platform-marks.d.ts +12 -0
- package/dist/registries/platform.d.ts +22 -0
- package/dist/registries/severity.d.ts +23 -0
- package/dist/registries/status.d.ts +13 -0
- package/dist/styles.css +26 -0
- package/dist/text-nGkJYA88.js +470 -0
- package/dist/utils/chip-truncation.d.ts +8 -0
- package/dist/utils/chunk-recovery.d.ts +24 -0
- package/dist/utils/dev.d.ts +2 -0
- package/dist/utils/listeners.d.ts +10 -0
- package/dist/utils/router.d.ts +9 -0
- package/dist/utils/scroll.d.ts +8 -0
- package/dist/utils/select.d.ts +21 -0
- package/dist/utils/text.d.ts +6 -0
- package/package.json +92 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type Value = string | number;
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: Value[] | null;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
/** Numbers only: a value that is not a number stays in the box. */
|
|
6
|
+
numeric?: boolean;
|
|
7
|
+
/** Keep repeated values when the list represents an ordered sequence. */
|
|
8
|
+
allowDuplicates?: boolean;
|
|
9
|
+
/** The most values the list takes; the box stops adding at the limit. */
|
|
10
|
+
max?: number;
|
|
11
|
+
size?: 'sm' | 'md';
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
id?: string;
|
|
15
|
+
describedBy?: string;
|
|
16
|
+
pt?: Record<string, unknown>;
|
|
17
|
+
};
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: Value[]) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: Value[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
invalid: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
size: "sm" | "md";
|
|
26
|
+
placeholder: string;
|
|
27
|
+
numeric: boolean;
|
|
28
|
+
max: number;
|
|
29
|
+
modelValue: Value[] | null;
|
|
30
|
+
allowDuplicates: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ItCodeLanguage } from '../data/highlight';
|
|
2
|
+
import { type ItFieldControlProps } from './field-context';
|
|
3
|
+
import type { ItCodeCompletion, ItCodeCompletionContext, ItCodeDiagnostic } from './code-editor';
|
|
4
|
+
type __VLS_Props = ItFieldControlProps & {
|
|
5
|
+
label?: string;
|
|
6
|
+
language?: ItCodeLanguage;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
completions?: readonly ItCodeCompletion[];
|
|
10
|
+
/** Automatic opening. Ctrl+Space always opens the available completions. */
|
|
11
|
+
completionTrigger?: (context: ItCodeCompletionContext) => boolean;
|
|
12
|
+
diagnostics?: readonly ItCodeDiagnostic[];
|
|
13
|
+
/** Tab indents; Escape then Tab leaves the editor. Shift+Tab always leaves. */
|
|
14
|
+
tabSize?: number;
|
|
15
|
+
minLines?: number;
|
|
16
|
+
maxLines?: number;
|
|
17
|
+
fill?: boolean;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {
|
|
20
|
+
status?(scope: {
|
|
21
|
+
line: number;
|
|
22
|
+
column: number;
|
|
23
|
+
diagnostics: readonly ItCodeDiagnostic[];
|
|
24
|
+
}): unknown;
|
|
25
|
+
};
|
|
26
|
+
declare function undo(): void;
|
|
27
|
+
declare function redo(): void;
|
|
28
|
+
/** Replace the current document as one undo step, preserving prior edits and selection. */
|
|
29
|
+
declare function applyEdit(value: string): void;
|
|
30
|
+
declare function openCompletions(): void;
|
|
31
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
32
|
+
modelValue?: string;
|
|
33
|
+
};
|
|
34
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
35
|
+
focus: () => void | undefined;
|
|
36
|
+
applyEdit: typeof applyEdit;
|
|
37
|
+
undo: typeof undo;
|
|
38
|
+
redo: typeof redo;
|
|
39
|
+
canUndo: import("vue").ComputedRef<boolean>;
|
|
40
|
+
canRedo: import("vue").ComputedRef<boolean>;
|
|
41
|
+
openCompletions: typeof openCompletions;
|
|
42
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
"update:modelValue": (value: string) => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
invalid: boolean;
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
fill: boolean;
|
|
50
|
+
readonly: boolean;
|
|
51
|
+
language: ItCodeLanguage;
|
|
52
|
+
maxLines: number;
|
|
53
|
+
completions: readonly ItCodeCompletion[];
|
|
54
|
+
diagnostics: readonly ItCodeDiagnostic[];
|
|
55
|
+
tabSize: number;
|
|
56
|
+
minLines: number;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: Date | null;
|
|
3
|
+
mode?: 'date' | 'time' | 'datetime';
|
|
4
|
+
minDate?: Date;
|
|
5
|
+
maxDate?: Date;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/** 12 or 24 hours. Default: the browser's locale. */
|
|
8
|
+
hourFormat?: '12' | '24';
|
|
9
|
+
/** Minutes the time steps by. */
|
|
10
|
+
stepMinute?: number;
|
|
11
|
+
size?: 'sm' | 'md';
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
id?: string;
|
|
15
|
+
describedBy?: string;
|
|
16
|
+
/** Show a clear button when a value is set. For optional fields. */
|
|
17
|
+
clearable?: boolean;
|
|
18
|
+
clearLabel?: string;
|
|
19
|
+
pt?: Record<string, unknown>;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: Date | null) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
invalid: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
size: "sm" | "md";
|
|
29
|
+
mode: "date" | "time" | "datetime";
|
|
30
|
+
modelValue: Date | null;
|
|
31
|
+
clearable: boolean;
|
|
32
|
+
clearLabel: string;
|
|
33
|
+
stepMinute: number;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ItFieldControlProps } from './field-context';
|
|
2
|
+
import { type ItFileRejection } from './file-drop';
|
|
3
|
+
type __VLS_Props = ItFieldControlProps & {
|
|
4
|
+
/** File types, as the input's `accept`: ".csv,text/csv", "image/*". */
|
|
5
|
+
accept?: string;
|
|
6
|
+
/** More than one file; new picks add to the list. */
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
/** The largest file in bytes. */
|
|
9
|
+
maxSize?: number;
|
|
10
|
+
/** The most files, with `multiple`. */
|
|
11
|
+
maxFiles?: number;
|
|
12
|
+
/** What the field takes, under the prompt: "CSV with a header row, up to 10 MB". */
|
|
13
|
+
hint?: string;
|
|
14
|
+
/** The button's text. Default "Choose file" ("Choose files" with `multiple`). */
|
|
15
|
+
buttonLabel?: string;
|
|
16
|
+
/** Names the control outside an ItFormField ("Properties file"). Inside one, the field's label does. */
|
|
17
|
+
label?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare function open(): void;
|
|
21
|
+
declare function clear(): void;
|
|
22
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
23
|
+
modelValue?: File[];
|
|
24
|
+
};
|
|
25
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
26
|
+
open: typeof open;
|
|
27
|
+
clear: typeof clear;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (value: File[]) => any;
|
|
30
|
+
reject: (rejections: ItFileRejection[]) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
33
|
+
onReject?: ((rejections: ItFileRejection[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
label: string;
|
|
36
|
+
invalid: boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
id: string;
|
|
39
|
+
describedBy: string;
|
|
40
|
+
accept: string;
|
|
41
|
+
multiple: boolean;
|
|
42
|
+
hint: string;
|
|
43
|
+
maxSize: number;
|
|
44
|
+
maxFiles: number;
|
|
45
|
+
buttonLabel: string;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
/** Human-readable selected value(s). Empty/undefined = inactive. */
|
|
4
|
+
value?: string | string[] | null;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
clear: () => any;
|
|
8
|
+
open: (event: MouseEvent) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onClear?: (() => any) | undefined;
|
|
11
|
+
onOpen?: ((event: MouseEvent) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Filters in effect. 0 = inactive. */
|
|
3
|
+
activeCount?: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
/** Popover width (any CSS length). The viewport minus 2rem is the upper bound. */
|
|
6
|
+
width?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
/** The fields: ItFormField + ItMultiSelect / ItSelect / TreeSelect. */
|
|
10
|
+
default(): unknown;
|
|
11
|
+
/** Replaces the "Clear all" footer. */
|
|
12
|
+
footer?(scope: {
|
|
13
|
+
clear: () => void;
|
|
14
|
+
close: () => void;
|
|
15
|
+
}): unknown;
|
|
16
|
+
};
|
|
17
|
+
declare function toggle(event: Event): void;
|
|
18
|
+
declare function close(): void;
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
toggle: typeof toggle;
|
|
21
|
+
close: typeof close;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
clear: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClear?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
label: string;
|
|
28
|
+
width: string;
|
|
29
|
+
activeCount: number;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface ItFilterOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
/** Rows this option matches; shown muted on the right. */
|
|
5
|
+
count?: number;
|
|
6
|
+
/** Heading the option lists under ("Google", "Meta"). Groups keep the order they first appear in. */
|
|
7
|
+
group?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
modelValue: string[];
|
|
11
|
+
options: ItFilterOption[];
|
|
12
|
+
/** Names the option group (fieldset legend, search label). */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Search box above the list. Default: on above 8 options. */
|
|
15
|
+
searchable?: boolean;
|
|
16
|
+
/** False: one choice (radios); the model holds at most one value. */
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {
|
|
20
|
+
/** Custom rendering for one option (platform chip, status). Defaults to its label. */
|
|
21
|
+
option?: (scope: {
|
|
22
|
+
option: ItFilterOption;
|
|
23
|
+
}) => unknown;
|
|
24
|
+
};
|
|
25
|
+
declare function toggle(event: Event): void;
|
|
26
|
+
declare function hide(): void;
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
28
|
+
toggle: typeof toggle;
|
|
29
|
+
hide: typeof hide;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (value: string[]) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
multiple: boolean;
|
|
36
|
+
searchable: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
/** Right side: Cancel, then the one primary action last. */
|
|
3
|
+
default?: () => unknown;
|
|
4
|
+
/** Left side: Back, or a destructive secondary ("Delete rule"). */
|
|
5
|
+
start?: () => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
help?: string;
|
|
4
|
+
/** Validation message. Say what to do, not only what is wrong. */
|
|
5
|
+
error?: string | null;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
/** Mark optional fields instead of required ones when most fields are required. */
|
|
8
|
+
optional?: boolean;
|
|
9
|
+
/** Use an existing id instead of a generated one. */
|
|
10
|
+
id?: string;
|
|
11
|
+
/** Visually hide the label (it stays for screen readers). */
|
|
12
|
+
hideLabel?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* How wide the control is, by what it holds (patterns.md, "Field widths"):
|
|
15
|
+
* `xs` 120px a number · `sm` 240px an id, a date, a short select · `md`
|
|
16
|
+
* 400px a name, an email, most selects · `lg` 640px a URL, a pattern,
|
|
17
|
+
* chips, labels · `full` the whole column (a description, a builder).
|
|
18
|
+
* Default `full`: in a modal or drawer the column is already narrow.
|
|
19
|
+
*/
|
|
20
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {
|
|
23
|
+
default(scope: {
|
|
24
|
+
id: string;
|
|
25
|
+
invalid: boolean;
|
|
26
|
+
describedBy: string | undefined;
|
|
27
|
+
}): unknown;
|
|
28
|
+
/** Extra content right of the label (e.g. a "Learn more" link). */
|
|
29
|
+
labelExtra?: () => unknown;
|
|
30
|
+
/**
|
|
31
|
+
* Rich help in place of `help`: inline content such as `<code>` or a link.
|
|
32
|
+
* It takes the same place, style, and id, so the control's
|
|
33
|
+
* aria-describedby names it.
|
|
34
|
+
*/
|
|
35
|
+
help?: () => unknown;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ItFormRowsColumn, ItFormRowsErrors } from './form-rows';
|
|
2
|
+
declare const _default: <T extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly onAdd?: (() => any) | undefined;
|
|
5
|
+
readonly onRemove?: ((row: T, index: number) => any) | undefined;
|
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onRemove" | "onAdd"> & {
|
|
7
|
+
rows: readonly T[];
|
|
8
|
+
columns: readonly ItFormRowsColumn[];
|
|
9
|
+
rowKey: (row: T) => string | number;
|
|
10
|
+
rowLabel?: (row: T, index: number) => string;
|
|
11
|
+
label: string;
|
|
12
|
+
addLabel?: string;
|
|
13
|
+
/** Keep the supplied rows fixed; omit Add, Remove, and their grid column. */
|
|
14
|
+
fixed?: boolean;
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
errors?: ItFormRowsErrors;
|
|
17
|
+
maxRows?: number;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
|
20
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: {
|
|
23
|
+
[x: `cell-${string}`]: ((props: {
|
|
24
|
+
row: T;
|
|
25
|
+
index: number;
|
|
26
|
+
column: ItFormRowsColumn;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
id: string;
|
|
29
|
+
invalid: boolean;
|
|
30
|
+
describedBy: string | undefined;
|
|
31
|
+
}) => any) | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
cell?: (props: {
|
|
34
|
+
row: T;
|
|
35
|
+
index: number;
|
|
36
|
+
column: ItFormRowsColumn;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
id: string;
|
|
39
|
+
invalid: boolean;
|
|
40
|
+
describedBy: string | undefined;
|
|
41
|
+
}) => any;
|
|
42
|
+
};
|
|
43
|
+
emit: ((evt: "add") => void) & ((evt: "remove", row: T, index: number) => void);
|
|
44
|
+
}>) => import("vue").VNode & {
|
|
45
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_PrettifyLocal<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
/** One line under the title: what this section controls. */
|
|
4
|
+
description?: string;
|
|
5
|
+
/** `split` = title column + fields column; `stacked` = title above full-width fields. */
|
|
6
|
+
layout?: 'split' | 'stacked';
|
|
7
|
+
/** Field columns. One column below 768px. */
|
|
8
|
+
columns?: 1 | 2;
|
|
9
|
+
/** h2 on a page; h3 inside a drawer or modal. */
|
|
10
|
+
headingLevel?: 2 | 3;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
/** The fields: ItFormField, or a control that labels itself. */
|
|
14
|
+
default?: () => unknown;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
layout: "split" | "stacked";
|
|
18
|
+
columns: 1 | 2;
|
|
19
|
+
description: string;
|
|
20
|
+
headingLevel: 2 | 3;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ItLabel } from '../status/ItLabelChipList.vue';
|
|
2
|
+
/** Inline label control. The app owns persistence and supplies the complete available label set. */
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue: string[];
|
|
5
|
+
labels: readonly (ItLabel & {
|
|
6
|
+
id: string;
|
|
7
|
+
})[];
|
|
8
|
+
/** Accessible trigger and popover title, including the object's name. */
|
|
9
|
+
label: string;
|
|
10
|
+
max?: number;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
/** Allow the app to remove inherited assignments through the applied-label list. */
|
|
13
|
+
removableInherited?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
error?: string | boolean;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_28: {
|
|
19
|
+
message: string;
|
|
20
|
+
retry: () => void;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
error?: (props: typeof __VLS_28) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (ids: string[]) => any;
|
|
27
|
+
retry: () => any;
|
|
28
|
+
openLabel: (id: string) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((ids: string[]) => any) | undefined;
|
|
31
|
+
onRetry?: (() => any) | undefined;
|
|
32
|
+
onOpenLabel?: ((id: string) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
max: number;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ItLabel } from '../status/ItLabelChipList.vue';
|
|
2
|
+
type PickerLabel = ItLabel & {
|
|
3
|
+
id: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
modelValue?: string[] | null;
|
|
7
|
+
/** Every label the user can choose, with `implies` filled for the implication graph. */
|
|
8
|
+
labels: readonly PickerLabel[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Offer "Create “…”" when the search matches no label. Emits `create`. */
|
|
11
|
+
creatable?: boolean;
|
|
12
|
+
/** Show category headings in the options panel. */
|
|
13
|
+
grouped?: boolean;
|
|
14
|
+
size?: 'sm' | 'md';
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
invalid?: boolean;
|
|
17
|
+
id?: string;
|
|
18
|
+
describedBy?: string;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (ids: string[]) => any;
|
|
22
|
+
create: (name: string) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((ids: string[]) => any) | undefined;
|
|
25
|
+
onCreate?: ((name: string) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
invalid: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
size: "sm" | "md";
|
|
30
|
+
placeholder: string;
|
|
31
|
+
modelValue: string[] | null;
|
|
32
|
+
creatable: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ItOptionSource } from './option-source';
|
|
2
|
+
declare const _default: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: V[]) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
6
|
+
modelValue?: V[] | null;
|
|
7
|
+
/** The options. With `source`, leave it out. */
|
|
8
|
+
options?: readonly unknown[];
|
|
9
|
+
/**
|
|
10
|
+
* Load the options from an API, a page at a time. The list asks for the first page when it
|
|
11
|
+
* opens; its search asks the API (debounced) and never filters only the loaded rows.
|
|
12
|
+
*/
|
|
13
|
+
source?: ItOptionSource;
|
|
14
|
+
/** Options per page with `source`. */
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
/** Milliseconds after typing before a `source` search runs. */
|
|
17
|
+
searchDebounce?: number;
|
|
18
|
+
/** The search box's accessible name with `source`. */
|
|
19
|
+
searchLabel?: string;
|
|
20
|
+
/** A value's label before any page has listed it (values set by the app). */
|
|
21
|
+
valueLabel?: (value: V) => string | undefined;
|
|
22
|
+
optionLabel?: string;
|
|
23
|
+
optionValue?: string;
|
|
24
|
+
optionDisabled?: string;
|
|
25
|
+
optionGroupLabel?: string;
|
|
26
|
+
optionGroupChildren?: string;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
/** Most chips to show. Default: as many as fit; the rest fold into "+N". */
|
|
29
|
+
maxChips?: number;
|
|
30
|
+
size?: "sm" | "md";
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
invalid?: boolean;
|
|
33
|
+
id?: string;
|
|
34
|
+
describedBy?: string;
|
|
35
|
+
clearable?: boolean;
|
|
36
|
+
clearLabel?: string;
|
|
37
|
+
/** Search box in the panel. Default: on when there are more than 8 options. */
|
|
38
|
+
filter?: boolean;
|
|
39
|
+
pt?: Record<string, unknown>;
|
|
40
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
|
41
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
42
|
+
attrs: any;
|
|
43
|
+
slots: {
|
|
44
|
+
[x: string]: ((props: any) => any) | undefined;
|
|
45
|
+
};
|
|
46
|
+
emit: (evt: "update:modelValue", value: V[]) => void;
|
|
47
|
+
}>) => import("vue").VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ItOptionCardOption } from './choice';
|
|
2
|
+
declare const _default: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
6
|
+
modelValue?: V | null;
|
|
7
|
+
options: readonly ItOptionCardOption<V>[];
|
|
8
|
+
/** Names the group. Omit inside ItFormField. */
|
|
9
|
+
legend?: string;
|
|
10
|
+
/** Radio group name. Default: the group's id. */
|
|
11
|
+
name?: string;
|
|
12
|
+
/** Cards per row. Default: as many 14rem cards as fit. */
|
|
13
|
+
columns?: 2 | 3 | 4;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
id?: string;
|
|
17
|
+
describedBy?: string;
|
|
18
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
|
19
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: {
|
|
22
|
+
/** Extra content at the foot of a card: a status, a count, a short list. */
|
|
23
|
+
meta?(scope: {
|
|
24
|
+
option: ItOptionCardOption<V>;
|
|
25
|
+
selected: boolean;
|
|
26
|
+
}): unknown;
|
|
27
|
+
};
|
|
28
|
+
emit: (evt: "update:modelValue", value: V) => void;
|
|
29
|
+
}>) => import("vue").VNode & {
|
|
30
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_PrettifyLocal<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ItChoiceOption } from './choice';
|
|
2
|
+
declare const _default: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
6
|
+
modelValue?: V | null;
|
|
7
|
+
options: readonly ItChoiceOption<V>[];
|
|
8
|
+
/** Names the group. Omit inside ItFormField. */
|
|
9
|
+
legend?: string;
|
|
10
|
+
/** Radio group name. Default: the group's id. */
|
|
11
|
+
name?: string;
|
|
12
|
+
orientation?: "vertical" | "horizontal";
|
|
13
|
+
size?: "sm" | "md";
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
id?: string;
|
|
17
|
+
describedBy?: string;
|
|
18
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
|
19
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: {};
|
|
22
|
+
emit: (evt: "update:modelValue", value: V) => void;
|
|
23
|
+
}>) => import("vue").VNode & {
|
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_PrettifyLocal<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
/** Milliseconds to wait after typing before emitting. 0 = immediate. */
|
|
6
|
+
debounce?: number;
|
|
7
|
+
clearable?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
size?: 'sm' | 'md';
|
|
10
|
+
id?: string;
|
|
11
|
+
describedBy?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
size: "sm" | "md";
|
|
19
|
+
id: string;
|
|
20
|
+
describedBy: string;
|
|
21
|
+
modelValue: string;
|
|
22
|
+
debounce: number;
|
|
23
|
+
clearable: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|