@synopackageland/ui 0.4.2 → 0.5.4
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/README.md +21 -0
- package/dist/components/advanced-panel/AdvancePanelColumns.vue.d.ts +19 -0
- package/dist/components/advanced-panel/AdvancePanelForm.vue.d.ts +21 -0
- package/dist/components/advanced-panel/AdvancePanelGrid.vue.d.ts +44 -0
- package/dist/components/advanced-panel/types.d.ts +50 -0
- package/dist/components/app/app-action-bar/AppActionBar.vue.d.ts +13 -3
- package/dist/components/app/app-layout/AppLayout.vue.d.ts +1 -1
- package/dist/components/app/app-sidebar/AppSidebar.vue.d.ts +12 -13
- package/dist/components/app/app-sidebar/AppSidebarItems.vue.d.ts +17 -0
- package/dist/components/app/app-sidebar/types.d.ts +16 -0
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +11 -1
- package/dist/components/composite/about-dialog/AboutDialog.vue.d.ts +78 -0
- package/dist/components/composite/about-dialog/types.d.ts +6 -0
- package/dist/components/composite/callout/Callout.vue.d.ts +12 -2
- package/dist/components/composite/config-provider/ConfigProvider.vue.d.ts +19 -0
- package/dist/components/composite/copy-cut-field/CopyCutField.vue.d.ts +44 -0
- package/dist/components/composite/data-grid/DataGrid.vue.d.ts +150 -25
- package/dist/components/composite/data-grid/labels.d.ts +15 -1
- package/dist/components/composite/data-view/DataView.vue.d.ts +54 -0
- package/dist/components/composite/footbar/Footbar.vue.d.ts +13 -0
- package/dist/components/composite/footbar/FootbarButtons.vue.d.ts +13 -0
- package/dist/components/composite/footbar/types.d.ts +32 -0
- package/dist/components/composite/form/Form.vue.d.ts +49 -0
- package/dist/components/composite/form/FormItem.vue.d.ts +132 -0
- package/dist/components/composite/form/context.d.ts +61 -0
- package/dist/components/composite/form/rules.d.ts +17 -0
- package/dist/components/composite/form/types.d.ts +50 -0
- package/dist/components/composite/message-box/MessageBox.vue.d.ts +34 -0
- package/dist/components/composite/message-box/MessageBoxProvider.vue.d.ts +13 -0
- package/dist/components/composite/message-box/controller.d.ts +20 -0
- package/dist/components/composite/message-box/types.d.ts +97 -0
- package/dist/components/composite/overflow-list/OverflowList.vue.d.ts +40 -0
- package/dist/components/composite/overflow-list/OverflowListItem.vue.d.ts +18 -0
- package/dist/components/composite/overflow-toolbar/OverflowToolbar.vue.d.ts +46 -0
- package/dist/components/composite/overflow-toolbar/overflow.d.ts +25 -0
- package/dist/components/composite/overflow-toolbar/types.d.ts +27 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +18 -3
- package/dist/components/composite/tree-view/TreeView.vue.d.ts +64 -12
- package/dist/components/composite/tree-view/treeUtils.d.ts +15 -0
- package/dist/components/composite/tree-view/types.d.ts +38 -0
- package/dist/components/composite/virtual-list/VirtualList.vue.d.ts +44 -0
- package/dist/components/composite/wizard/Wizard.vue.d.ts +68 -0
- package/dist/components/composite/wizard/WizardStep.vue.d.ts +20 -0
- package/dist/components/composite/wizard/types.d.ts +32 -0
- package/dist/components/composite/wizard/wizardContext.d.ts +17 -0
- package/dist/components/containers/card/Card.vue.d.ts +42 -0
- package/dist/components/containers/expandable-item/ExpandableItem.vue.d.ts +79 -0
- package/dist/components/containers/fieldset/Fieldset.vue.d.ts +58 -0
- package/dist/components/containers/highlight-box/HighlightBox.vue.d.ts +23 -0
- package/dist/components/containers/panel/Panel.vue.d.ts +59 -0
- package/dist/components/feedback/info-mask/InfoMask.vue.d.ts +22 -0
- package/dist/components/feedback/info-tip/InfoTip.vue.d.ts +53 -0
- package/dist/components/feedback/notification/Notification.vue.d.ts +50 -0
- package/dist/components/feedback/notification/NotificationProvider.vue.d.ts +36 -0
- package/dist/components/feedback/notification/notification.d.ts +45 -0
- package/dist/components/feedback/validation-popup/ValidationPopup.vue.d.ts +41 -0
- package/dist/components/primitives/affix/Affix.vue.d.ts +40 -0
- package/dist/components/primitives/affix/affixPosition.d.ts +35 -0
- package/dist/components/primitives/breadcrumb/Breadcrumb.vue.d.ts +38 -0
- package/dist/components/primitives/breadcrumb/BreadcrumbCrumb.vue.d.ts +13 -0
- package/dist/components/primitives/breadcrumb/collapse.d.ts +25 -0
- package/dist/components/primitives/breadcrumb/types.d.ts +14 -0
- package/dist/components/primitives/color-picker/ColorPicker.vue.d.ts +70 -0
- package/dist/components/primitives/color-picker/palette.d.ts +2 -0
- package/dist/components/primitives/combobox/Combobox.vue.d.ts +33 -0
- package/dist/components/primitives/date-picker/DatePicker.vue.d.ts +39 -1
- package/dist/components/primitives/date-picker/dateTime.d.ts +44 -0
- package/dist/components/primitives/dialog/Dialog.vue.d.ts +6 -3
- package/dist/components/primitives/dropdown-menu/DropdownMenu.vue.d.ts +18 -13
- package/dist/components/primitives/dropdown-menu/DropdownMenuItems.vue.d.ts +20 -0
- package/dist/components/primitives/dropdown-menu/types.d.ts +38 -0
- package/dist/components/primitives/ghost/Ghost.vue.d.ts +30 -0
- package/dist/components/primitives/icon/Icon.vue.d.ts +40 -0
- package/dist/components/primitives/icon/icon.d.ts +19 -0
- package/dist/components/primitives/icon/iconRegistry.d.ts +9 -0
- package/dist/components/primitives/icon/useIconButton.d.ts +30 -0
- package/dist/components/primitives/input/Input.vue.d.ts +6 -0
- package/dist/components/primitives/input/Textarea.vue.d.ts +6 -0
- package/dist/components/primitives/input-steppers/InputSteppers.vue.d.ts +60 -0
- package/dist/components/primitives/layout/Col.vue.d.ts +24 -0
- package/dist/components/primitives/layout/Grid.vue.d.ts +35 -0
- package/dist/components/primitives/layout/Row.vue.d.ts +23 -0
- package/dist/components/primitives/layout/breakpoints.d.ts +24 -0
- package/dist/components/primitives/layout/context.d.ts +22 -0
- package/dist/components/primitives/layout/gap.d.ts +12 -0
- package/dist/components/primitives/multiple-select/MultipleSelect.vue.d.ts +32 -0
- package/dist/components/primitives/pagination/Pagination.vue.d.ts +111 -0
- package/dist/components/primitives/pagination/labels.d.ts +18 -0
- package/dist/components/primitives/pagination/model.d.ts +13 -0
- package/dist/components/primitives/progress/Progress.vue.d.ts +2 -0
- package/dist/components/primitives/rich-text/RichText.vue.d.ts +57 -0
- package/dist/components/primitives/rich-text/parseRichText.d.ts +31 -0
- package/dist/components/primitives/schedule-table/ScheduleTable.vue.d.ts +65 -0
- package/dist/components/primitives/schedule-table/schedule.d.ts +55 -0
- package/dist/components/primitives/scrollbar/Scrollbar.vue.d.ts +110 -0
- package/dist/components/primitives/scrollbar/types.d.ts +10 -0
- package/dist/components/primitives/segment-control/SegmentControl.vue.d.ts +32 -0
- package/dist/components/primitives/segment-control/SegmentItem.vue.d.ts +32 -0
- package/dist/components/primitives/segment-control/context.d.ts +19 -0
- package/dist/components/primitives/select/Select.vue.d.ts +15 -1
- package/dist/components/primitives/select/internal/ComboboxField.vue.d.ts +46 -0
- package/dist/components/primitives/select/internal/SelectTag.vue.d.ts +15 -0
- package/dist/components/primitives/select/internal/options.d.ts +17 -0
- package/dist/components/primitives/select/internal/types.d.ts +43 -0
- package/dist/components/primitives/select/internal/useSelectSearch.d.ts +20 -0
- package/dist/components/primitives/sheet/Sheet.vue.d.ts +3 -3
- package/dist/components/primitives/skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/primitives/slider/Slider.vue.d.ts +56 -0
- package/dist/components/primitives/space/Space.vue.d.ts +27 -0
- package/dist/components/primitives/space/space.d.ts +10 -0
- package/dist/components/primitives/superbox-select/SuperboxSelect.vue.d.ts +33 -0
- package/dist/components/primitives/tag/Tag.vue.d.ts +59 -0
- package/dist/components/primitives/toggle-button/ToggleButton.vue.d.ts +43 -0
- package/dist/components/primitives/toggle-button/ToggleButtonGroup.vue.d.ts +38 -0
- package/dist/components/primitives/toggle-button/toggleButton.d.ts +9 -0
- package/dist/components/primitives/tooltip/Tooltip.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoA.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoBlockquote.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoCode.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoDivider.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoHeader.vue.d.ts +32 -0
- package/dist/components/primitives/typography/TypoHr.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoLi.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoList.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoP.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoTable.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoText.vue.d.ts +26 -0
- package/dist/components/primitives/typography/TypoTip.vue.d.ts +21 -0
- package/dist/components/primitives/typography/typography.d.ts +12 -0
- package/dist/composables/configCascade.d.ts +42 -0
- package/dist/composables/tabIndicator.d.ts +18 -0
- package/dist/index.d.ts +122 -2
- package/dist/index.js +22765 -10938
- package/dist/lib/controllable.d.ts +19 -0
- package/dist/lib/numberField.d.ts +24 -0
- package/dist/lib/overflow.d.ts +13 -0
- package/dist/reka-runtime.json +5 -3
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/app-local-modal.md +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { IconSet, IconSize } from '../icon/icon';
|
|
3
|
+
export type TagAppearance = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'theme';
|
|
4
|
+
/** An icon component, or the props form that also picks a colour group and size. */
|
|
5
|
+
export interface TagVisual {
|
|
6
|
+
svgIcon: Component;
|
|
7
|
+
svgIconSet?: IconSet;
|
|
8
|
+
size?: IconSize;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
label?: string;
|
|
12
|
+
appearance?: TagAppearance;
|
|
13
|
+
/** Shows the remove control; the caller handles the actual removal. */
|
|
14
|
+
removable?: boolean;
|
|
15
|
+
selected?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
/** `true` reveals the label only when it is truncated, a string always does. */
|
|
19
|
+
tooltip?: boolean | string;
|
|
20
|
+
/** Left decoration for a type or attribute. */
|
|
21
|
+
icon?: Component | false | TagVisual;
|
|
22
|
+
/** Left decoration for a person, drawn as an avatar. */
|
|
23
|
+
avatar?: Component | false | TagVisual;
|
|
24
|
+
/** Accessible name of the remove control, for translation. */
|
|
25
|
+
removeLabel?: string;
|
|
26
|
+
};
|
|
27
|
+
declare function measure(): void;
|
|
28
|
+
declare var __VLS_18: {}, __VLS_20: {};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
prefix?: (props: typeof __VLS_18) => any;
|
|
31
|
+
} & {
|
|
32
|
+
default?: (props: typeof __VLS_20) => any;
|
|
33
|
+
};
|
|
34
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
35
|
+
measure: typeof measure;
|
|
36
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
remove: () => any;
|
|
38
|
+
click: (event: KeyboardEvent | MouseEvent) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onRemove?: (() => any) | undefined;
|
|
41
|
+
onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
label: string;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
invalid: boolean;
|
|
46
|
+
removeLabel: string;
|
|
47
|
+
appearance: TagAppearance;
|
|
48
|
+
tooltip: boolean | string;
|
|
49
|
+
removable: boolean;
|
|
50
|
+
selected: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
|
+
declare const _default: typeof __VLS_export;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ToggleButtonAppearance } from './toggleButton';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Pressed state when used on its own. */
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
/** Identity inside a ToggleButtonGroup. */
|
|
6
|
+
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: 'text' | 'icon' | 'icon-text';
|
|
9
|
+
/** Button appearance for the ON and OFF states. */
|
|
10
|
+
appearance?: ToggleButtonAppearance;
|
|
11
|
+
shape?: 'rectangle' | 'round';
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
/** Tooltip text for icon-only buttons. */
|
|
14
|
+
tooltip?: string;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_20: {}, __VLS_22: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
icon?: (props: typeof __VLS_20) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: typeof __VLS_22) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
change: (value: boolean) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
size: "sm" | "md" | "lg";
|
|
30
|
+
type: "text" | "icon" | "icon-text";
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
modelValue: boolean;
|
|
33
|
+
appearance: ToggleButtonAppearance;
|
|
34
|
+
shape: "rectangle" | "round";
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | string[];
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
/** Accessible name for the group (`aria-label`). */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Defaults to single select, or multi-select when the model is an array. */
|
|
7
|
+
type?: 'single' | 'multiple';
|
|
8
|
+
orientation?: 'horizontal' | 'vertical';
|
|
9
|
+
/**
|
|
10
|
+
* Arrow-key navigation with a single tab stop. Off by default so Tab and
|
|
11
|
+
* Shift+Tab move through every button, as documented.
|
|
12
|
+
*/
|
|
13
|
+
rovingFocus?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_10: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_10) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
21
|
+
change: (value: string | string[]) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
24
|
+
onChange?: ((value: string | string[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
label: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
orientation: "horizontal" | "vertical";
|
|
29
|
+
rovingFocus: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type ToggleButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
2
|
+
/** The two appearances a toggle switches between. */
|
|
3
|
+
export interface ToggleButtonAppearance {
|
|
4
|
+
on: ToggleButtonVariant;
|
|
5
|
+
off: ToggleButtonVariant;
|
|
6
|
+
}
|
|
7
|
+
export declare const DEFAULT_TOGGLE_APPEARANCE: ToggleButtonAppearance;
|
|
8
|
+
/** Gap between buttons in a group. */
|
|
9
|
+
export declare const TOGGLE_BUTTON_GROUP_GAP = "gap-[var(--ui-space-1)]";
|
|
@@ -2,12 +2,15 @@ type __VLS_Props = {
|
|
|
2
2
|
content: string;
|
|
3
3
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
4
|
delay?: number;
|
|
5
|
+
/** Keeps the trigger from opening a tooltip at all. */
|
|
6
|
+
disabled?: boolean;
|
|
5
7
|
};
|
|
6
8
|
declare var __VLS_20: {};
|
|
7
9
|
type __VLS_Slots = {} & {
|
|
8
10
|
default?: (props: typeof __VLS_20) => any;
|
|
9
11
|
};
|
|
10
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
disabled: boolean;
|
|
11
14
|
side: "top" | "right" | "bottom" | "left";
|
|
12
15
|
delay: number;
|
|
13
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HeaderLevel } from './typography';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Heading text; the default slot wins when one is provided. */
|
|
4
|
+
text?: string;
|
|
5
|
+
/** Rendered as `<h1>`–`<h6>` with the matching size. */
|
|
6
|
+
level?: HeaderLevel;
|
|
7
|
+
/** Base URL the permalink anchor is derived from. */
|
|
8
|
+
baseUrl?: string;
|
|
9
|
+
/** Explicit permalink anchor target, which wins over `baseUrl`. */
|
|
10
|
+
href?: string;
|
|
11
|
+
/** Render the permalink anchor. */
|
|
12
|
+
anchor?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_8: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_8) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
anchor: boolean;
|
|
20
|
+
text: string;
|
|
21
|
+
href: string;
|
|
22
|
+
level: HeaderLevel;
|
|
23
|
+
baseUrl: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Renders an inline `<code>` snippet. */
|
|
3
|
+
code?: boolean;
|
|
4
|
+
/** Renders a `<strong>` emphasis. */
|
|
5
|
+
strong?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_3) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_5) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
code: boolean;
|
|
17
|
+
strong: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TipType } from './typography';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: TipType;
|
|
4
|
+
/** Replaces the type's default title, e.g. for a translated one. */
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
type: TipType;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const BODY_TEXT = "text-[length:var(--ui-font-size)] leading-[var(--ui-line-height)] text-[var(--ui-text)]";
|
|
2
|
+
/** Vertical rhythm between long-form blocks. */
|
|
3
|
+
export declare const BLOCK_SPACING = "my-[var(--ui-space-5)]";
|
|
4
|
+
export declare const MONO_TEXT = "font-mono text-[length:var(--ui-font-size-sm)]";
|
|
5
|
+
export type HeaderLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
export declare const HEADER_LEVELS: Record<HeaderLevel, string>;
|
|
7
|
+
/** Turns heading text into a fragment id; CJK letters are kept as-is. */
|
|
8
|
+
export declare function headingId(text: string): string;
|
|
9
|
+
export type TipType = 'info' | 'warn' | 'error';
|
|
10
|
+
export declare const TIP_TITLES: Record<TipType, string>;
|
|
11
|
+
export declare const TIP_BORDERS: Record<TipType, string>;
|
|
12
|
+
export declare const TIP_TITLE_COLORS: Record<TipType, string>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
/** One component's prop override object, keyed by camelCase prop name. */
|
|
3
|
+
export type ConfigEntry = Record<string, unknown>;
|
|
4
|
+
/** A kebab-case component name (`'form-item'`) or a symbol owned by a component. */
|
|
5
|
+
export type ConfigKey = string | symbol;
|
|
6
|
+
/** The `config` payload of `<ConfigProvider>`: component key -> prop overrides. */
|
|
7
|
+
export type ConfigProviderProps = {
|
|
8
|
+
[key: string | symbol]: ConfigEntry | undefined;
|
|
9
|
+
};
|
|
10
|
+
export type ConfigRecord = ConfigProviderProps;
|
|
11
|
+
export declare const CONFIG_MANAGER_KEY: InjectionKey<ComputedRef<ConfigRecord>>;
|
|
12
|
+
export declare const CONFIG_PROVIDER_KEY: InjectionKey<ComputedRef<ConfigRecord>>;
|
|
13
|
+
export declare function isPlainObject(value: unknown): value is ConfigEntry;
|
|
14
|
+
/**
|
|
15
|
+
* Merge one component entry into another, used between nested providers:
|
|
16
|
+
* the inner entry wins per prop, except that an existing `false` sticks.
|
|
17
|
+
*/
|
|
18
|
+
export declare function mergeConfigEntry(base: ConfigEntry | undefined, next: ConfigEntry | undefined): ConfigEntry;
|
|
19
|
+
/** Merge a whole config record; provider entries merge through {@link mergeConfigEntry}. */
|
|
20
|
+
export declare function mergeConfigRecord(base: ConfigRecord, next: ConfigRecord): ConfigRecord;
|
|
21
|
+
/**
|
|
22
|
+
* Override one entry with another, used between cascade layers: the higher
|
|
23
|
+
* layer wins per prop and plain objects merge, but `false` does not stick.
|
|
24
|
+
*/
|
|
25
|
+
export declare function overrideConfigEntry(base: ConfigEntry, next: ConfigEntry): ConfigEntry;
|
|
26
|
+
/** The props a consumer actually passed, i.e. every prop whose value is not `undefined`. */
|
|
27
|
+
export declare function definedProps<T extends object>(props: T): ConfigEntry;
|
|
28
|
+
/**
|
|
29
|
+
* Resolve `props` for a component against the config cascade.
|
|
30
|
+
*
|
|
31
|
+
* Components declare their props with `undefined` defaults (so an absent
|
|
32
|
+
* boolean stays `undefined` instead of Vue's `false` cast) and pass the real
|
|
33
|
+
* defaults here. The returned ref is the reactive merged prop object; read it
|
|
34
|
+
* in the template as usual (`resolved.appearance`).
|
|
35
|
+
*/
|
|
36
|
+
export declare function useProps<T extends object>(name: ConfigKey, props: T, defaultProps?: Partial<T>): ComputedRef<T>;
|
|
37
|
+
/** Provide the app-level layer of the cascade. Deeper layers still win. */
|
|
38
|
+
export declare function provideConfigManager(config: ComputedRef<ConfigRecord>): void;
|
|
39
|
+
/** The merged config of the enclosing providers, or an empty record outside any provider. */
|
|
40
|
+
export declare function useConfigLayer(): ComputedRef<ConfigRecord>;
|
|
41
|
+
/** Provide the merged config record for a subtree; used by `<ConfigProvider>`. */
|
|
42
|
+
export declare function provideConfigLayer(config: ComputedRef<ConfigRecord>): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
/** Measure after rendering, including relabelled tabs and containers revealed later. */
|
|
3
|
+
export declare function useTabIndicator(bar: Ref<HTMLElement | null>, items: () => readonly {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[], selected: () => string, inset?: number): Ref<{
|
|
7
|
+
width: string;
|
|
8
|
+
transform: string;
|
|
9
|
+
opacity: number;
|
|
10
|
+
}, {
|
|
11
|
+
width: string;
|
|
12
|
+
transform: string;
|
|
13
|
+
opacity: number;
|
|
14
|
+
} | {
|
|
15
|
+
width: string;
|
|
16
|
+
transform: string;
|
|
17
|
+
opacity: number;
|
|
18
|
+
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,22 @@ export { default as Button } from './components/primitives/button/Button.vue';
|
|
|
2
2
|
export { default as IconButton } from './components/primitives/button/IconButton.vue';
|
|
3
3
|
export { default as Input } from './components/primitives/input/Input.vue';
|
|
4
4
|
export { default as Textarea } from './components/primitives/input/Textarea.vue';
|
|
5
|
+
export { default as InputSteppers } from './components/primitives/input-steppers/InputSteppers.vue';
|
|
6
|
+
export type { InputSteppersMenuItem } from './components/primitives/input-steppers/InputSteppers.vue';
|
|
7
|
+
export { default as Slider } from './components/primitives/slider/Slider.vue';
|
|
8
|
+
export type { SliderInputOptions } from './components/primitives/slider/Slider.vue';
|
|
9
|
+
export { default as ColorPicker } from './components/primitives/color-picker/ColorPicker.vue';
|
|
10
|
+
export type { ColorPickerFormat, ColorSwatch } from './components/primitives/color-picker/ColorPicker.vue';
|
|
5
11
|
export { default as Checkbox } from './components/primitives/checkbox/Checkbox.vue';
|
|
6
12
|
export { default as Switch } from './components/primitives/switch/Switch.vue';
|
|
7
13
|
export { default as RadioGroup } from './components/primitives/radio-group/RadioGroup.vue';
|
|
8
14
|
export type { RadioOption } from './components/primitives/radio-group/RadioGroup.vue';
|
|
9
15
|
export { default as Select } from './components/primitives/select/Select.vue';
|
|
10
16
|
export type { SelectOption } from './components/primitives/select/Select.vue';
|
|
17
|
+
export { default as Combobox } from './components/primitives/combobox/Combobox.vue';
|
|
18
|
+
export { default as MultipleSelect } from './components/primitives/multiple-select/MultipleSelect.vue';
|
|
19
|
+
export { default as SuperboxSelect } from './components/primitives/superbox-select/SuperboxSelect.vue';
|
|
20
|
+
export type { SelectAllowCreate, SelectCreateOptions, SelectOptionGroup, SelectOptions, SelectOptionsRecord, SelectSearch, } from './components/primitives/select/internal/types';
|
|
11
21
|
export { default as Badge } from './components/primitives/badge/Badge.vue';
|
|
12
22
|
export { default as Separator } from './components/primitives/separator/Separator.vue';
|
|
13
23
|
export { default as Spinner } from './components/primitives/spinner/Spinner.vue';
|
|
@@ -21,12 +31,15 @@ export { default as Tooltip } from './components/primitives/tooltip/Tooltip.vue'
|
|
|
21
31
|
export { default as Popover } from './components/primitives/popover/Popover.vue';
|
|
22
32
|
export { default as DropdownMenu } from './components/primitives/dropdown-menu/DropdownMenu.vue';
|
|
23
33
|
export type { DropdownMenuEntry } from './components/primitives/dropdown-menu/DropdownMenu.vue';
|
|
34
|
+
export type { DropdownMenuCheckboxEntry, DropdownMenuRadioEntry } from './components/primitives/dropdown-menu/types';
|
|
24
35
|
export { default as SplitButton } from './components/primitives/split-button/SplitButton.vue';
|
|
25
36
|
export { default as ContextMenu } from './components/primitives/context-menu/ContextMenu.vue';
|
|
26
37
|
export type { ContextMenuEntry } from './components/primitives/context-menu/types';
|
|
27
38
|
export { default as Dialog } from './components/primitives/dialog/Dialog.vue';
|
|
28
39
|
export { default as Sheet, default as Drawer } from './components/primitives/sheet/Sheet.vue';
|
|
29
40
|
export { default as DatePicker } from './components/primitives/date-picker/DatePicker.vue';
|
|
41
|
+
export type { DateFormat, DateTimeParts, TimeFormat } from './components/primitives/date-picker/dateTime';
|
|
42
|
+
export { DATE_FORMATS, TIME_FORMATS, composeDateTime, formatDateText, formatTimeText, hourOptions, minuteOptions, parseDateText, parseDateTime, } from './components/primitives/date-picker/dateTime';
|
|
30
43
|
export { default as ToastProvider } from './components/primitives/toast/ToastProvider.vue';
|
|
31
44
|
export { useToast } from './components/primitives/toast/toast';
|
|
32
45
|
export type { ToastController, ToastMessage, ToastOptions, ToastTone } from './components/primitives/toast/toast';
|
|
@@ -34,19 +47,102 @@ export { default as Tabs } from './components/primitives/tabs/Tabs.vue';
|
|
|
34
47
|
export type { TabItem } from './components/primitives/tabs/Tabs.vue';
|
|
35
48
|
export { default as Accordion } from './components/primitives/accordion/Accordion.vue';
|
|
36
49
|
export type { AccordionEntry } from './components/primitives/accordion/Accordion.vue';
|
|
50
|
+
export { default as Icon } from './components/primitives/icon/Icon.vue';
|
|
51
|
+
export { useIconButton } from './components/primitives/icon/useIconButton';
|
|
52
|
+
export type { IconButtonOptions } from './components/primitives/icon/useIconButton';
|
|
53
|
+
export { clearIconRegistry, getRegisteredIcon, registerIcons } from './components/primitives/icon/iconRegistry';
|
|
54
|
+
export type { IconRegistration } from './components/primitives/icon/iconRegistry';
|
|
55
|
+
export { ICON_SET_COLORS, ICON_SIZE_TOKENS, resolveIconSize } from './components/primitives/icon/icon';
|
|
56
|
+
export type { IconSet, IconSize, IconSizeToken } from './components/primitives/icon/icon';
|
|
57
|
+
export { default as RichText } from './components/primitives/rich-text/RichText.vue';
|
|
58
|
+
export { DEFAULT_ALLOW_ATTRS, DEFAULT_LINK_TAGS, DEFAULT_PARSE_TAGS, isSafeRichTextUrl, parseRichText } from './components/primitives/rich-text/parseRichText';
|
|
59
|
+
export type { ParseRichTextOptions, RichTextElementNode, RichTextNode, RichTextTextNode, } from './components/primitives/rich-text/parseRichText';
|
|
60
|
+
export { default as TypoA } from './components/primitives/typography/TypoA.vue';
|
|
61
|
+
export { default as TypoBlockquote } from './components/primitives/typography/TypoBlockquote.vue';
|
|
62
|
+
export { default as TypoCode } from './components/primitives/typography/TypoCode.vue';
|
|
63
|
+
export { default as TypoDivider } from './components/primitives/typography/TypoDivider.vue';
|
|
64
|
+
export { default as TypoHeader } from './components/primitives/typography/TypoHeader.vue';
|
|
65
|
+
export { default as TypoHr } from './components/primitives/typography/TypoHr.vue';
|
|
66
|
+
export { default as TypoLi } from './components/primitives/typography/TypoLi.vue';
|
|
67
|
+
export { default as TypoList } from './components/primitives/typography/TypoList.vue';
|
|
68
|
+
export { default as TypoP } from './components/primitives/typography/TypoP.vue';
|
|
69
|
+
export { default as TypoTable } from './components/primitives/typography/TypoTable.vue';
|
|
70
|
+
export { default as TypoText } from './components/primitives/typography/TypoText.vue';
|
|
71
|
+
export { default as TypoTip } from './components/primitives/typography/TypoTip.vue';
|
|
72
|
+
export { headingId } from './components/primitives/typography/typography';
|
|
73
|
+
export type { HeaderLevel, TipType } from './components/primitives/typography/typography';
|
|
74
|
+
export { default as ToggleButton } from './components/primitives/toggle-button/ToggleButton.vue';
|
|
75
|
+
export { default as ToggleButtonGroup } from './components/primitives/toggle-button/ToggleButtonGroup.vue';
|
|
76
|
+
export { DEFAULT_TOGGLE_APPEARANCE, TOGGLE_BUTTON_GROUP_GAP } from './components/primitives/toggle-button/toggleButton';
|
|
77
|
+
export type { ToggleButtonAppearance, ToggleButtonVariant, } from './components/primitives/toggle-button/toggleButton';
|
|
78
|
+
export { default as Tag } from './components/primitives/tag/Tag.vue';
|
|
79
|
+
export type { TagAppearance, TagVisual } from './components/primitives/tag/Tag.vue';
|
|
80
|
+
export { default as Scrollbar } from './components/primitives/scrollbar/Scrollbar.vue';
|
|
81
|
+
export type { ScrollbarReach, ScrollbarViewRect, ScrollbarEnsureVisibleOptions } from './components/primitives/scrollbar/Scrollbar.vue';
|
|
82
|
+
export type { ScrollBehaviorOption, ScrollToPositionOptions, EnsureVisibleOptions } from './components/primitives/scrollbar/types';
|
|
83
|
+
export { default as Ghost } from './components/primitives/ghost/Ghost.vue';
|
|
84
|
+
export type { GhostIcon, GhostIconProps } from './components/primitives/ghost/Ghost.vue';
|
|
85
|
+
export { default as Breadcrumb } from './components/primitives/breadcrumb/Breadcrumb.vue';
|
|
86
|
+
export type { BreadcrumbActionItem, BreadcrumbItem } from './components/primitives/breadcrumb/Breadcrumb.vue';
|
|
87
|
+
export { default as Pagination } from './components/primitives/pagination/Pagination.vue';
|
|
88
|
+
export type { PaginationBeforeSwitchPage, PaginationLabels, PaginationPageSizeOption, PaginationSwitch, PaginationTotalTextMode, } from './components/primitives/pagination/Pagination.vue';
|
|
89
|
+
export { default as SegmentControl } from './components/primitives/segment-control/SegmentControl.vue';
|
|
90
|
+
export { default as SegmentItem } from './components/primitives/segment-control/SegmentItem.vue';
|
|
37
91
|
export { default as SearchField } from './components/composite/search-field/SearchField.vue';
|
|
38
92
|
export { default as SettingsRow } from './components/composite/settings-row/SettingsRow.vue';
|
|
39
93
|
export { default as SettingsSection } from './components/composite/settings-section/SettingsSection.vue';
|
|
94
|
+
export { default as Footbar } from './components/composite/footbar/Footbar.vue';
|
|
95
|
+
export type { FootbarButton, FootbarButtonRegion, FootbarButtonSize, FootbarButtonVariant, } from './components/composite/footbar/types';
|
|
40
96
|
export { default as Callout } from './components/composite/callout/Callout.vue';
|
|
41
97
|
export { default as EmptyState } from './components/composite/empty-state/EmptyState.vue';
|
|
42
98
|
export { default as DataTable } from './components/composite/data-table/DataTable.vue';
|
|
43
99
|
export type { DataTableColumn } from './components/composite/data-table/DataTable.vue';
|
|
44
100
|
export { default as DataGrid } from './components/composite/data-grid/DataGrid.vue';
|
|
45
|
-
export type { DataGridColumn, DataGridColumnWidths, DataGridLabels, DataGridSort } from './components/composite/data-grid/DataGrid.vue';
|
|
101
|
+
export type { DataGridColumn, DataGridColumnWidths, DataGridLabels, ResolvedDataGridLabels, DataGridSort, DataGridGroup, DataGridExpandable, DataGridDraggable, DataGridReorder, DataGridCellUpdate, DataGridAdapter, DataGridCellSlotProps } from './components/composite/data-grid/DataGrid.vue';
|
|
46
102
|
export { default as TreeView } from './components/composite/tree-view/TreeView.vue';
|
|
47
|
-
export type { TreeNode } from './components/composite/tree-view/TreeView.vue';
|
|
103
|
+
export type { TreeNode, TreeViewCheckPayload, TreeViewDraggableConfig, TreeViewPosition, TreeViewReorder } from './components/composite/tree-view/TreeView.vue';
|
|
48
104
|
export { default as FilePicker } from './components/composite/file-picker/FilePicker.vue';
|
|
49
105
|
export type { FileRejection } from './components/composite/file-picker/FilePicker.vue';
|
|
106
|
+
export { default as CopyCutField } from './components/composite/copy-cut-field/CopyCutField.vue';
|
|
107
|
+
export type { CopyCutFieldAutosize } from './components/composite/copy-cut-field/CopyCutField.vue';
|
|
108
|
+
export { default as DataView } from './components/composite/data-view/DataView.vue';
|
|
109
|
+
export { default as VirtualList } from './components/composite/virtual-list/VirtualList.vue';
|
|
110
|
+
export type { VirtualItem } from './components/composite/virtual-list/VirtualList.vue';
|
|
111
|
+
export { default as OverflowList } from './components/composite/overflow-list/OverflowList.vue';
|
|
112
|
+
export { default as OverflowListItem } from './components/composite/overflow-list/OverflowListItem.vue';
|
|
113
|
+
export { default as ScheduleTable } from './components/primitives/schedule-table/ScheduleTable.vue';
|
|
114
|
+
export type { ScheduleDay, ScheduleOption, ScheduleOptionEditableConfig, ScheduleOptionEntry, ScheduleSplitMinute, } from './components/primitives/schedule-table/schedule';
|
|
115
|
+
export { SCHEDULE_DAYS, SCHEDULE_MAX_OPTIONS, SCHEDULE_SPLIT_MINUTES, createScheduleValue, isValidScheduleValue, orderScheduleOptions, scheduleCellIndex, scheduleCellsPerDay, scheduleSplitsPerHour, scheduleValueLength, } from './components/primitives/schedule-table/schedule';
|
|
116
|
+
export { default as InfoMask } from './components/feedback/info-mask/InfoMask.vue';
|
|
117
|
+
export { default as InfoTip } from './components/feedback/info-tip/InfoTip.vue';
|
|
118
|
+
export { default as Notification } from './components/feedback/notification/Notification.vue';
|
|
119
|
+
export { default as NotificationProvider } from './components/feedback/notification/NotificationProvider.vue';
|
|
120
|
+
export { notificationControllerKey, useNotification, useNotifyManager } from './components/feedback/notification/notification';
|
|
121
|
+
export type { NotificationAction, NotificationActionConfig, NotificationController, NotificationDestroy, NotificationItem, NotificationOptions, NotificationTone, } from './components/feedback/notification/notification';
|
|
122
|
+
export { default as ValidationPopup } from './components/feedback/validation-popup/ValidationPopup.vue';
|
|
123
|
+
export { default as Card } from './components/containers/card/Card.vue';
|
|
124
|
+
export { default as HighlightBox } from './components/containers/highlight-box/HighlightBox.vue';
|
|
125
|
+
export { default as Panel } from './components/containers/panel/Panel.vue';
|
|
126
|
+
export type { PanelFbar, PanelFbarConfig } from './components/containers/panel/Panel.vue';
|
|
127
|
+
export { default as ExpandableItem } from './components/containers/expandable-item/ExpandableItem.vue';
|
|
128
|
+
export type { ExpandableItemDisabled, ExpandableItemText, } from './components/containers/expandable-item/ExpandableItem.vue';
|
|
129
|
+
export { default as Fieldset } from './components/containers/fieldset/Fieldset.vue';
|
|
130
|
+
export type { FieldsetCollapseTrigger, FieldsetTitle, } from './components/containers/fieldset/Fieldset.vue';
|
|
131
|
+
export { default as AdvancePanelGrid } from './components/advanced-panel/AdvancePanelGrid.vue';
|
|
132
|
+
export { default as AdvancePanelForm } from './components/advanced-panel/AdvancePanelForm.vue';
|
|
133
|
+
export { default as AdvancePanelColumns } from './components/advanced-panel/AdvancePanelColumns.vue';
|
|
134
|
+
export type { AdvancePanelColumn, AdvancePanelField, AdvancePanelGridCell, AdvancePanelGridColumn, AdvancePanelGridRow, AdvancePanelGridSort, AdvancePanelGridSortComparer, AdvancePanelGridSortOrder, AdvancePanelGridSortResolver, } from './components/advanced-panel/types';
|
|
135
|
+
export { default as MessageBox } from './components/composite/message-box/MessageBox.vue';
|
|
136
|
+
export { default as MessageBoxProvider } from './components/composite/message-box/MessageBoxProvider.vue';
|
|
137
|
+
export { createMessageBoxHost, useDialog, useMessageBox, useMessageBoxHost } from './components/composite/message-box/controller';
|
|
138
|
+
export type { MessageBoxHost } from './components/composite/message-box/controller';
|
|
139
|
+
export type { LostChangeResult, MessageBox as MessageBoxController, MessageBoxButtonId, MessageBoxHandler, MessageBoxKind, MessageBoxOptions, MessageBoxPromptOptions, MessageBoxTextResult, MessageBoxTone, MessageBoxVerify, ProgressResult, } from './components/composite/message-box/types';
|
|
140
|
+
export { messageBoxKey } from './components/composite/message-box/types';
|
|
141
|
+
export { default as Wizard } from './components/composite/wizard/Wizard.vue';
|
|
142
|
+
export { default as WizardStep } from './components/composite/wizard/WizardStep.vue';
|
|
143
|
+
export type { WizardFooterConfig, WizardStepChange, WizardStepProps, WizardStepType } from './components/composite/wizard/types';
|
|
144
|
+
export { default as AboutDialog } from './components/composite/about-dialog/AboutDialog.vue';
|
|
145
|
+
export type { AboutCheckState, AboutVersionInfo } from './components/composite/about-dialog/types';
|
|
50
146
|
export { default as AppRoot } from './components/app/app-root/AppRoot.vue';
|
|
51
147
|
export { APP_ROOT_ATTRIBUTE, APP_ROOT_SELECTOR } from './lib/appRoot';
|
|
52
148
|
export { default as AppLayout } from './components/app/app-layout/AppLayout.vue';
|
|
@@ -57,3 +153,27 @@ export { default as AppActionBar } from './components/app/app-action-bar/AppActi
|
|
|
57
153
|
export { default as PageHeader } from './components/app/page-header/PageHeader.vue';
|
|
58
154
|
export { default as SectionTabs } from './components/app/section-tabs/SectionTabs.vue';
|
|
59
155
|
export type { SectionTab } from './components/app/section-tabs/SectionTabs.vue';
|
|
156
|
+
export { default as ConfigProvider } from './components/composite/config-provider/ConfigProvider.vue';
|
|
157
|
+
export { useProps, provideConfigManager } from './composables/configCascade';
|
|
158
|
+
export type { ConfigEntry, ConfigKey, ConfigProviderProps, ConfigRecord } from './composables/configCascade';
|
|
159
|
+
export { default as Form } from './components/composite/form/Form.vue';
|
|
160
|
+
export { default as FormItem } from './components/composite/form/FormItem.vue';
|
|
161
|
+
export { useFormContext, useFormField } from './components/composite/form/context';
|
|
162
|
+
export { normalizeRules, validateWithRules } from './components/composite/form/rules';
|
|
163
|
+
export type { FormContext, FormFieldContext, FormFieldHandle } from './components/composite/form/context';
|
|
164
|
+
export type { FormDirection, FormItemValidateMessageDisplayMode, FormRule, FormRuleCallback, FormRuleType, FormRules, FormSpacing, FormValidateError, FormValidatedResult, ValidateMessageDisplayMode, ValidateStatus, ValidateTrigger, } from './components/composite/form/types';
|
|
165
|
+
export { default as Grid } from './components/primitives/layout/Grid.vue';
|
|
166
|
+
export { default as Row } from './components/primitives/layout/Row.vue';
|
|
167
|
+
export { default as Col } from './components/primitives/layout/Col.vue';
|
|
168
|
+
export { DEFAULT_BREAKPOINTS, GRID_BREAKPOINTS } from './components/primitives/layout/breakpoints';
|
|
169
|
+
export type { BreakpointKey, GridBreakpoints, Responsive } from './components/primitives/layout/breakpoints';
|
|
170
|
+
export type { LayoutAlign, LayoutJustify } from './components/primitives/layout/context';
|
|
171
|
+
export type { GapValue } from './components/primitives/layout/gap';
|
|
172
|
+
export { default as Space } from './components/primitives/space/Space.vue';
|
|
173
|
+
export type { SpaceAlign, SpaceDirection, SpaceJustify, SpaceSpacing, } from './components/primitives/space/space';
|
|
174
|
+
export { default as Affix } from './components/primitives/affix/Affix.vue';
|
|
175
|
+
export { computeAffix } from './components/primitives/affix/affixPosition';
|
|
176
|
+
export type { AffixFix, AffixPlacement } from './components/primitives/affix/affixPosition';
|
|
177
|
+
export { default as OverflowToolbar } from './components/composite/overflow-toolbar/OverflowToolbar.vue';
|
|
178
|
+
export { computeOverflowFit, ITEM_GAP } from './components/composite/overflow-toolbar/overflow';
|
|
179
|
+
export type { OverflowToolbarItem, OverflowToolbarMenuEntry, OverflowToolbarMoreMenu, OverflowToolbarMoreState, OverflowToolbarMoreText, } from './components/composite/overflow-toolbar/types';
|