@pantograph/vue 0.33.6 → 0.33.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/Accordion/index.d.ts +8 -3
  2. package/dist/ActionButton/ActionButton.d.ts +1 -0
  3. package/dist/ActionButton/index.d.ts +8 -3
  4. package/dist/Alert/index.d.ts +7 -2
  5. package/dist/AlertDialog/_index.d.ts +7 -2
  6. package/dist/Avatar/Avatar.d.ts +2 -1
  7. package/dist/Avatar/index.d.ts +8 -3
  8. package/dist/AvatarGroup/index.d.ts +7 -2
  9. package/dist/Badge/Badge.d.ts +1 -0
  10. package/dist/Badge/index.d.ts +8 -3
  11. package/dist/Base/BaseButton/BaseButton.d.ts +6 -2
  12. package/dist/Blanket/index.d.ts +7 -2
  13. package/dist/Breadcrumb/index.d.ts +7 -2
  14. package/dist/Button/Button.d.ts +1 -1
  15. package/dist/Button/index.d.ts +8 -3
  16. package/dist/ButtonGroup/index.d.ts +7 -2
  17. package/dist/Card/index.d.ts +7 -2
  18. package/dist/Checkbox/index.d.ts +7 -2
  19. package/dist/CheckboxGroup/CheckboxGroup.d.ts +9 -5
  20. package/dist/CheckboxGroup/index.d.ts +8 -3
  21. package/dist/Chip/Chip.d.ts +3 -0
  22. package/dist/Chip/index.d.ts +8 -3
  23. package/dist/ChipGroup/ChipGroup.d.ts +16 -8
  24. package/dist/ChipGroup/index.d.ts +8 -3
  25. package/dist/ColorPicker/index.d.ts +7 -2
  26. package/dist/ColorSwatch/index.d.ts +7 -2
  27. package/dist/{ColorSwatch-D54k89oY.js → ColorSwatch-BJzMbIBk.js} +1 -1
  28. package/dist/ColorSwatch-BqeX1Fkj.js +4 -0
  29. package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -0
  30. package/dist/ColorSwatchGroup/index.d.ts +8 -3
  31. package/dist/ColorTrigger/index.d.ts +7 -2
  32. package/dist/Combobox/Combobox.d.ts +26 -27
  33. package/dist/Combobox/index.d.ts +10 -4
  34. package/dist/Comment/CommentEditor.d.ts +11 -11
  35. package/dist/Comment/index.d.ts +14 -9
  36. package/dist/ConfigProvider/ConfigProvider.d.ts +19 -19
  37. package/dist/ConfigProvider/index.d.ts +8 -3
  38. package/dist/DataTable/components/DataTableHeaderCell.d.ts +2 -2
  39. package/dist/DataTable/index.d.ts +8 -2
  40. package/dist/DataTable/types/cell.d.ts +3 -0
  41. package/dist/DataTable/types/column.d.ts +11 -0
  42. package/dist/DataTable/types/index.d.ts +1 -0
  43. package/dist/DataTable/types/select.d.ts +4 -0
  44. package/dist/Dialog/Dialog.d.ts +1 -1
  45. package/dist/Dialog/index.d.ts +8 -3
  46. package/dist/Divider/index.d.ts +7 -2
  47. package/dist/Drawer/index.d.ts +8 -3
  48. package/dist/DropZone/index.d.ts +7 -2
  49. package/dist/Empty/index.d.ts +7 -2
  50. package/dist/FloatButton/index.d.ts +7 -2
  51. package/dist/Form/index.d.ts +8 -3
  52. package/dist/FormValidation/index.d.ts +7 -2
  53. package/dist/GOPicker/index.d.ts +7 -2
  54. package/dist/GraphicalObject/GraphicalObject.d.ts +4 -0
  55. package/dist/GraphicalObject/index.d.ts +8 -3
  56. package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +7 -5
  57. package/dist/GraphicalObjectGroup/index.d.ts +8 -3
  58. package/dist/HoverCard/index.d.ts +7 -2
  59. package/dist/Icon/index.d.ts +7 -2
  60. package/dist/IconButton/index.d.ts +7 -2
  61. package/dist/Image/index.d.ts +7 -2
  62. package/dist/IndentLevel/index.d.ts +7 -2
  63. package/dist/Indicator/index.d.ts +7 -2
  64. package/dist/Input/index.d.ts +7 -2
  65. package/dist/InputNumber/index.d.ts +7 -2
  66. package/dist/Kbd/index.d.ts +7 -2
  67. package/dist/Label/index.d.ts +7 -2
  68. package/dist/Link/index.d.ts +7 -2
  69. package/dist/Menu/index.d.ts +7 -2
  70. package/dist/MenuItem/index.d.ts +7 -2
  71. package/dist/Modal/index.d.ts +8 -3
  72. package/dist/PageIndicator/_index.d.ts +7 -2
  73. package/dist/Pagination/index.d.ts +7 -2
  74. package/dist/Popover/index.d.ts +8 -2
  75. package/dist/Progress/index.d.ts +9 -2
  76. package/dist/RadioGroup/RadioGroupItem.d.ts +8 -1
  77. package/dist/RadioGroup/index.d.ts +9 -4
  78. package/dist/ScrollContainer/index.d.ts +7 -2
  79. package/dist/Segmented/index.d.ts +7 -2
  80. package/dist/Select/index.d.ts +10 -4
  81. package/dist/Shortcut/index.d.ts +7 -2
  82. package/dist/Skeleton/index.d.ts +7 -2
  83. package/dist/Spinner/index.d.ts +7 -2
  84. package/dist/Steps/index.d.ts +8 -3
  85. package/dist/SubMenu/index.d.ts +7 -2
  86. package/dist/Switch/index.d.ts +7 -2
  87. package/dist/Table/index.d.ts +13 -8
  88. package/dist/Tabs/index.d.ts +10 -5
  89. package/dist/Textarea/index.d.ts +7 -2
  90. package/dist/Toast/index.d.ts +7 -2
  91. package/dist/Tooltip/index.d.ts +7 -2
  92. package/dist/Tooltip/register.d.ts +0 -4
  93. package/dist/Tree/TreeNode.d.ts +1 -1
  94. package/dist/Tree/index.d.ts +10 -4
  95. package/dist/Upload/UploadTrigger.d.ts +7 -0
  96. package/dist/Upload/index.d.ts +11 -5
  97. package/dist/{nuxt.d.ts → _plugins/nuxt.d.ts} +3 -1
  98. package/dist/{resolver.d.ts → _plugins/resolver.d.ts} +6 -0
  99. package/dist/_plugins/use.d.ts +15 -0
  100. package/dist/{index-T3jqfug4.js → index-Bi4G1sgP.js} +27 -27
  101. package/dist/{index-DEgppVnR.js → index-CWr03wHq.js} +1 -1
  102. package/dist/{index-DJVRbjU6.js → index-Co9RCwO0.js} +9035 -9159
  103. package/dist/index-IbcX8-iw.js +12 -0
  104. package/dist/index.d.ts +1 -1
  105. package/dist/index.js +281 -380
  106. package/dist/index.umd.cjs +1 -1
  107. package/dist/nuxt/index.js +18 -11
  108. package/dist/nuxt/index.umd.cjs +1 -1
  109. package/dist/resolver/index.js +27 -14
  110. package/dist/resolver/index.umd.cjs +1 -1
  111. package/dist/types/index.d.ts +7 -0
  112. package/dist/use/index.js +1 -1
  113. package/dist/use/index.umd.cjs +1 -1
  114. package/package.json +12 -14
  115. package/dist/ColorSwatch-9wgQYh66.js +0 -4
  116. package/dist/index-CfWnrzmO.js +0 -12
  117. package/dist/style/index.css +0 -1
  118. package/dist/use.d.ts +0 -7
@@ -1,6 +1,11 @@
1
1
  import { default as Accordion, AccordionProps, AccordionSlots, provideAccordionContext, injectAccordionContext, AccordionEmits, accordionPrefix } from './Accordion';
2
2
  import { default as AccordionItem, AccordionItemSlots, AccordionItemProps } from './AccordionItem';
3
- declare const AccordionPlugin: import('vue').Plugin;
4
- declare const AccordionItemPlugin: import('vue').Plugin;
5
- export { Accordion, AccordionPlugin, type AccordionProps, type AccordionSlots, provideAccordionContext, injectAccordionContext, type AccordionEmits, accordionPrefix, AccordionItem, AccordionItemPlugin, type AccordionItemSlots, type AccordionItemProps, };
3
+ import { DefineComponent } from '../types';
4
+ export { Accordion, type AccordionProps, type AccordionSlots, provideAccordionContext, injectAccordionContext, type AccordionEmits, accordionPrefix, AccordionItem, type AccordionItemSlots, type AccordionItemProps, };
5
+ declare module 'vue' {
6
+ interface GlobalComponents {
7
+ Accordion: DefineComponent<AccordionProps, AccordionSlots, AccordionEmits>;
8
+ AccordionItem: DefineComponent<AccordionItemProps, AccordionItemSlots>;
9
+ }
10
+ }
6
11
  export * from './Accordion.model';
@@ -13,6 +13,7 @@ export type ActionButtonProps = Partial<Omit<BaseButtonProps, 'color' | 'type' |
13
13
  */
14
14
  variant?: Exclude<ButtonVariant, 'float'>;
15
15
  };
16
+ export type ActionButtonSlots = BaseButtonSlots;
16
17
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ActionButtonProps, {
17
18
  /**
18
19
  * Focus the button element
@@ -1,3 +1,8 @@
1
- import { default as ActionButton, ActionButtonProps } from './ActionButton';
2
- declare const ActionButtonPlugin: import('vue').Plugin;
3
- export { ActionButton, ActionButtonPlugin, type ActionButtonProps };
1
+ import { default as ActionButton, ActionButtonProps, ActionButtonSlots } from './ActionButton';
2
+ import { DefineComponent } from '../types';
3
+ export { ActionButton, type ActionButtonProps, type ActionButtonSlots };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ActionButton: DefineComponent<ActionButtonProps, ActionButtonSlots>;
7
+ }
8
+ }
@@ -1,4 +1,9 @@
1
1
  import { default as Alert, AlertProps, AlertEmits, AlertSlots } from './Alert';
2
- declare const AlertPlugin: import('vue').Plugin;
3
- export { Alert, AlertPlugin, type AlertProps, type AlertEmits, type AlertSlots };
2
+ import { DefineComponent } from '../types';
3
+ export { Alert, type AlertProps, type AlertEmits, type AlertSlots };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Alert: DefineComponent<AlertProps, AlertSlots, AlertEmits>;
7
+ }
8
+ }
4
9
  export * from './Alert.model';
@@ -1,5 +1,10 @@
1
1
  import { default as AlertDialog, AlertDialogProps, AlertDialogEmits, AlertDialogSlots, ALERT_DIALOG_DEFAULT_PROPS, CANCEL_DEFAULT_PROPS } from './AlertDialog';
2
- declare const AlertDialogPlugin: import('vue').Plugin;
3
- export { AlertDialog, AlertDialogPlugin, ALERT_DIALOG_DEFAULT_PROPS, CANCEL_DEFAULT_PROPS, type AlertDialogProps, type AlertDialogEmits, type AlertDialogSlots, };
2
+ import { DefineComponent } from '../types';
3
+ export { AlertDialog, ALERT_DIALOG_DEFAULT_PROPS, CANCEL_DEFAULT_PROPS, type AlertDialogProps, type AlertDialogEmits, type AlertDialogSlots, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ AlertDialog: DefineComponent<AlertDialogProps, AlertDialogSlots, AlertDialogEmits>;
7
+ }
8
+ }
4
9
  export * from './AlertDialog.model';
5
10
  export * from './useAlertDialog';
@@ -1,4 +1,4 @@
1
- import { AvatarFallbackProps, AvatarImageProps } from 'reka-ui';
1
+ import { AvatarFallbackProps, AvatarImageProps, AvatarImageEmits } from 'reka-ui';
2
2
  import { BadgeColor } from '../Base/BaseBadge/BaseBadge.model';
3
3
  import { AvatarSize, AvatarStroke, AvatarShape, AvatarOnlineAlignment } from './Avatar.model';
4
4
  import { ClassValue } from 'clsx';
@@ -78,6 +78,7 @@ export interface AvatarSlots {
78
78
  */
79
79
  fallback?: () => never;
80
80
  }
81
+ export type AvatarEmits = AvatarImageEmits;
81
82
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
83
  loadingStatusChange: (value: "error" | "loading" | "idle" | "loaded") => any;
83
84
  }, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
@@ -1,4 +1,9 @@
1
- import { default as Avatar, AvatarProps, AvatarSlots } from './Avatar';
2
- declare const AvatarPlugin: import('vue').Plugin;
3
- export { Avatar, AvatarPlugin, type AvatarProps, type AvatarSlots };
1
+ import { default as Avatar, AvatarProps, AvatarSlots, AvatarEmits } from './Avatar';
2
+ import { DefineComponent } from '../types';
3
+ export { Avatar, type AvatarProps, type AvatarSlots, type AvatarEmits };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Avatar: DefineComponent<AvatarProps, AvatarSlots, AvatarEmits>;
7
+ }
8
+ }
4
9
  export * from './Avatar.model';
@@ -1,3 +1,8 @@
1
1
  import { default as AvatarGroup, AvatarGroupProps, injectAvatarGroupContext, provideAvatarGroupContext, AvatarGroupSlots } from './AvatarGroup';
2
- declare const AvatarGroupPlugin: import('vue').Plugin;
3
- export { AvatarGroup, AvatarGroupPlugin, type AvatarGroupProps, type AvatarGroupSlots, injectAvatarGroupContext, provideAvatarGroupContext, };
2
+ import { DefineComponent } from '../types';
3
+ export { AvatarGroup, type AvatarGroupProps, type AvatarGroupSlots, injectAvatarGroupContext, provideAvatarGroupContext, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ AvatarGroup: DefineComponent<AvatarGroupProps, AvatarGroupSlots>;
7
+ }
8
+ }
@@ -14,6 +14,7 @@ export type BadgeProps = Partial<Pick<BaseBadgeProps, 'class' | 'text' | 'icon'
14
14
  */
15
15
  color?: BadgeColor | BadgeColorSubtle;
16
16
  };
17
+ export type BadgeSlots = BaseBadgeSlots;
17
18
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
18
19
  color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "primary-subtle" | "red-subtle" | "orange-subtle" | "amber-subtle" | "yellow-subtle" | "lime-subtle" | "green-subtle" | "teal-subtle" | "cyan-subtle" | "sky-subtle" | "blue-subtle" | "ocean-subtle" | "violet-subtle" | "amethyst-subtle" | "fuchsia-subtle" | "pink-subtle" | "gray-subtle" | "mallard-subtle";
19
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
@@ -1,3 +1,8 @@
1
- import { default as Badge, BadgeProps } from './Badge';
2
- declare const BadgePlugin: import('vue').Plugin;
3
- export { Badge, BadgePlugin, type BadgeProps };
1
+ import { default as Badge, BadgeProps, BadgeSlots } from './Badge';
2
+ import { DefineComponent } from '../types';
3
+ export { Badge, type BadgeProps, type BadgeSlots };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Badge: DefineComponent<BadgeProps, BadgeSlots>;
7
+ }
8
+ }
@@ -201,7 +201,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
201
201
  buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
202
202
  asChild: {
203
203
  type: BooleanConstructor;
204
- default: boolean;
204
+ default: boolean; /**
205
+ * Icon to display after the text
206
+ */
205
207
  };
206
208
  as: {
207
209
  type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
@@ -222,7 +224,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
222
224
  }, Readonly<import('vue').ExtractPropTypes<{
223
225
  asChild: {
224
226
  type: BooleanConstructor;
225
- default: boolean;
227
+ default: boolean; /**
228
+ * Icon to display after the text
229
+ */
226
230
  };
227
231
  as: {
228
232
  type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
@@ -1,3 +1,8 @@
1
1
  import { default as Blanket, BlanketProps } from './Blanket';
2
- declare const BlanketPlugin: import('vue').Plugin;
3
- export { Blanket, BlanketPlugin, type BlanketProps };
2
+ import { DefineComponent } from '../types';
3
+ export { Blanket, type BlanketProps };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Blanket: DefineComponent<BlanketProps>;
7
+ }
8
+ }
@@ -1,5 +1,10 @@
1
1
  import { default as Breadcrumb, BreadcrumbProps, BreadcrumbEmits, BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext } from './Breadcrumb';
2
- declare const BreadcrumbPlugin: import('vue').Plugin;
3
- export { Breadcrumb, BreadcrumbPlugin, type BreadcrumbProps, type BreadcrumbEmits, type BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext, };
2
+ import { DefineComponent } from '../types';
3
+ export { Breadcrumb, type BreadcrumbProps, type BreadcrumbEmits, type BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Breadcrumb: DefineComponent<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits>;
7
+ }
8
+ }
4
9
  export { type BreadcrumbItemType } from './BreadcrumbItem';
5
10
  export * from './Breadcrumb.model';
@@ -6,7 +6,7 @@ export type ButtonProps = Partial<Omit<BaseButtonProps, 'variant' | 'action' | '
6
6
  /**
7
7
  * Type for the Button component slots, excluding icon and badge-related slots
8
8
  */
9
- type ButtonSlots = Omit<BaseButtonSlots, 'icon' | 'badge' | 'badgeText' | 'badgeIcon'>;
9
+ export type ButtonSlots = Omit<BaseButtonSlots, 'icon' | 'badge' | 'badgeText' | 'badgeIcon'>;
10
10
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Partial<Omit<BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">>, {
11
11
  /**
12
12
  * Focus the button element
@@ -1,3 +1,8 @@
1
- import { default as Button, ButtonProps } from './Button';
2
- declare const ButtonPlugin: import('vue').Plugin;
3
- export { Button, ButtonPlugin, type ButtonProps };
1
+ import { default as Button, ButtonProps, ButtonSlots } from './Button';
2
+ import { DefineComponent } from '../types';
3
+ export { Button, type ButtonProps, type ButtonSlots };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Button: DefineComponent<ButtonProps, ButtonSlots>;
7
+ }
8
+ }
@@ -1,3 +1,8 @@
1
1
  import { default as ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, ButtonGroupProps } from './ButtonGroup';
2
- declare const ButtonGroupPlugin: import('vue').Plugin;
3
- export { ButtonGroup, ButtonGroupPlugin, provideButtonGroupContext, injectButtonGroupContext, type ButtonGroupProps, };
2
+ import { DefineComponent } from '../types';
3
+ export { ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, type ButtonGroupProps };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ButtonGroup: DefineComponent<ButtonGroupProps>;
7
+ }
8
+ }
@@ -1,4 +1,9 @@
1
1
  import { default as Card, CardProps, CardSlots } from './Card';
2
- declare const CardPlugin: import('vue').Plugin;
3
- export { Card, CardPlugin, type CardProps, type CardSlots };
2
+ import { DefineComponent } from '../types';
3
+ export { Card, type CardProps, type CardSlots };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Card: DefineComponent<CardProps, CardSlots>;
7
+ }
8
+ }
4
9
  export * from './Card.model';
@@ -1,4 +1,9 @@
1
1
  import { default as Checkbox, CheckboxProps, CheckboxSlots, CheckboxEmits } from './Checkbox';
2
- declare const CheckboxPlugin: import('vue').Plugin;
3
- export { Checkbox, CheckboxPlugin, type CheckboxProps, type CheckboxSlots, type CheckboxEmits };
2
+ import { DefineComponent } from '../types';
3
+ export { Checkbox, type CheckboxProps, type CheckboxSlots, type CheckboxEmits };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Checkbox: DefineComponent<CheckboxProps, CheckboxSlots, CheckboxEmits>;
7
+ }
8
+ }
4
9
  export * from './Checkbox.model';
@@ -1,6 +1,10 @@
1
1
  import { PrimitiveProps } from 'reka-ui';
2
2
  import { CheckboxSize } from '../Checkbox/Checkbox.model';
3
3
  import { Ref } from 'vue';
4
+ export type CheckboxGroupEmits = {
5
+ (e: 'update:modelValue', value: any): void;
6
+ (e: 'change', value: any): void;
7
+ };
4
8
  /**
5
9
  * Interface for checkbox group option
6
10
  */
@@ -64,12 +68,12 @@ interface Context {
64
68
  * Provides and injects the checkbox group context
65
69
  */
66
70
  export declare const injectCheckboxGroupContext: <T extends Partial<Context> | null | undefined = Partial<Context>>(fallback?: T | undefined) => T extends null ? Partial<Context> | null : Partial<Context>, provideCheckboxGroupContext: (contextValue: Partial<Context>) => Partial<Context>;
67
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
- change: (...args: any[]) => void;
69
- "update:modelValue": (...args: any[]) => void;
71
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
72
+ change: (value: any) => any;
73
+ "update:modelValue": (value: any) => any;
70
74
  }, string, import('vue').PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
71
- onChange?: ((...args: any[]) => any) | undefined;
72
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
75
+ onChange?: ((value: any) => any) | undefined;
76
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
73
77
  }>, {
74
78
  asChild: boolean;
75
79
  disabled: boolean;
@@ -1,3 +1,8 @@
1
- import { default as CheckboxGroup, CheckboxGroupProps, provideCheckboxGroupContext, injectCheckboxGroupContext, CheckboxGroupOption } from './CheckboxGroup';
2
- declare const CheckboxGroupPlugin: import('vue').Plugin;
3
- export { CheckboxGroup, CheckboxGroupPlugin, type CheckboxGroupProps, type CheckboxGroupOption, provideCheckboxGroupContext, injectCheckboxGroupContext, };
1
+ import { default as CheckboxGroup, CheckboxGroupProps, provideCheckboxGroupContext, injectCheckboxGroupContext, CheckboxGroupOption, CheckboxGroupEmits } from './CheckboxGroup';
2
+ import { DefineComponent } from '../types';
3
+ export { CheckboxGroup, type CheckboxGroupProps, type CheckboxGroupOption, type CheckboxGroupEmits, provideCheckboxGroupContext, injectCheckboxGroupContext, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ CheckboxGroup: DefineComponent<CheckboxGroupProps, Record<string, any>, CheckboxGroupEmits>;
7
+ }
8
+ }
@@ -83,6 +83,9 @@ export interface ChipProps {
83
83
  */
84
84
  unExtendParent?: boolean;
85
85
  }
86
+ export type ChipEmits = {
87
+ (e: 'close', event: MouseEvent): void;
88
+ };
86
89
  /**
87
90
  * Props passed to slots in the Chip component
88
91
  */
@@ -1,4 +1,9 @@
1
- import { default as Chip, ChipProps, ChipSlots } from './Chip';
2
- declare const ChipPlugin: import('vue').Plugin;
3
- export { Chip, ChipPlugin, type ChipProps, type ChipSlots };
1
+ import { default as Chip, ChipProps, ChipSlots, ChipEmits } from './Chip';
2
+ import { DefineComponent } from '../types';
3
+ export { Chip, type ChipProps, type ChipSlots, type ChipEmits };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ Chip: DefineComponent<ChipProps, ChipSlots, ChipEmits>;
7
+ }
8
+ }
4
9
  export * from './Chip.model';
@@ -61,6 +61,18 @@ export type ChipGroupProps = {
61
61
  */
62
62
  closeable?: boolean;
63
63
  };
64
+ /**
65
+ * Slots for the ChipGroup component
66
+ */
67
+ export type ChipGroupSlots = {
68
+ default?: (params?: object) => never;
69
+ };
70
+ /**
71
+ * Emits for the ChipGroup component
72
+ */
73
+ export type ChipGroupEmits = {
74
+ (e: 'close', item: ChipProps, event: MouseEvent): void;
75
+ };
64
76
  /**
65
77
  * Context interface for the chip group
66
78
  */
@@ -78,19 +90,15 @@ interface Context {
78
90
  * Provides and injects the chip group context
79
91
  */
80
92
  export declare const injectChipGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideChipGroupContext: (contextValue: Context) => Context;
81
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ChipGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
- close: (...args: any[]) => void;
93
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ChipGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
94
+ close: (item: ChipProps, event: MouseEvent) => any;
83
95
  }, string, import('vue').PublicProps, Readonly<ChipGroupProps> & Readonly<{
84
- onClose?: ((...args: any[]) => any) | undefined;
96
+ onClose?: ((item: ChipProps, event: MouseEvent) => any) | undefined;
85
97
  }>, {
86
98
  size: "xsm" | "sm" | "md";
87
99
  color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "default";
88
100
  closeable: boolean;
89
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<{
90
- default?: ((params?: object) => never) | undefined;
91
- }> & {
92
- default?: ((params?: object) => never) | undefined;
93
- }>;
101
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<ChipGroupSlots> & ChipGroupSlots>;
94
102
  export default _default;
95
103
  type __VLS_WithTemplateSlots<T, S> = T & {
96
104
  new (): {
@@ -1,3 +1,8 @@
1
- import { default as ChipGroup, ChipGroupProps, provideChipGroupContext, injectChipGroupContext } from './ChipGroup';
2
- declare const ChipGroupPlugin: import('vue').Plugin;
3
- export { ChipGroup, ChipGroupPlugin, type ChipGroupProps, provideChipGroupContext, injectChipGroupContext, };
1
+ import { default as ChipGroup, ChipGroupProps, provideChipGroupContext, injectChipGroupContext, ChipGroupSlots, ChipGroupEmits } from './ChipGroup';
2
+ import { DefineComponent } from '../types';
3
+ export { ChipGroup, type ChipGroupProps, type ChipGroupSlots, type ChipGroupEmits, provideChipGroupContext, injectChipGroupContext, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ChipGroup: DefineComponent<ChipGroupProps, ChipGroupSlots, ChipGroupEmits>;
7
+ }
8
+ }
@@ -1,3 +1,8 @@
1
1
  import { default as ColorPicker, ColorPickerProps, ColorPickerEmits, injectColorPickerContext, provideColorPickerContext, colorPickerPrefix } from './ColorPicker';
2
- declare const ColorPickerPlugin: import('vue').Plugin;
3
- export { type ColorPickerProps, type ColorPickerEmits, injectColorPickerContext, provideColorPickerContext, ColorPicker, colorPickerPrefix, ColorPickerPlugin, };
2
+ import { DefineComponent } from '../types';
3
+ export { type ColorPickerProps, type ColorPickerEmits, injectColorPickerContext, provideColorPickerContext, ColorPicker, colorPickerPrefix, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ColorPicker: DefineComponent<ColorPickerProps, Record<string, any>, ColorPickerEmits>;
7
+ }
8
+ }
@@ -1,4 +1,9 @@
1
1
  import { default as ColorSwatch, ColorSwatchProps, ColorSwatchSlots } from './ColorSwatch';
2
- declare const ColorSwatchPlugin: import('vue').Plugin;
3
- export { type ColorSwatchProps, type ColorSwatchSlots, ColorSwatch, ColorSwatchPlugin };
2
+ import { DefineComponent } from '../types';
3
+ export { type ColorSwatchProps, type ColorSwatchSlots, ColorSwatch };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ColorSwatch: DefineComponent<ColorSwatchProps, ColorSwatchSlots, Record<string, any>>;
7
+ }
8
+ }
4
9
  export * from './ColorSwatch.model';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CfWnrzmO.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-IbcX8-iw.js");exports.default=e._sfc_main;
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-Co9RCwO0.js";
2
+ export {
3
+ f as default
4
+ };
@@ -87,6 +87,9 @@ export type ColorSwatchGroupProps = Omit<ColorPickerProps, 'class' | 'modelValue
87
87
  */
88
88
  popoverProps?: PopoverProps;
89
89
  };
90
+ export type ColorSwatchGroupSlots = ColorSwatchSlots & {
91
+ header: () => never;
92
+ };
90
93
  /**
91
94
  * Emits for the ColorSwatchGroup component
92
95
  */
@@ -1,3 +1,8 @@
1
- import { default as ColorSwatchGroup, ColorSwatchItem, ColorSwatchGroupEmits, ColorSwatchGroupProps } from './ColorSwatchGroup';
2
- declare const ColorSwatchGroupPlugin: import('vue').Plugin;
3
- export { type ColorSwatchItem, type ColorSwatchGroupEmits, type ColorSwatchGroupProps, ColorSwatchGroup, ColorSwatchGroupPlugin, };
1
+ import { default as ColorSwatchGroup, ColorSwatchItem, ColorSwatchGroupEmits, ColorSwatchGroupProps, ColorSwatchGroupSlots } from './ColorSwatchGroup';
2
+ import { DefineComponent } from '../types';
3
+ export { type ColorSwatchItem, type ColorSwatchGroupEmits, type ColorSwatchGroupProps, type ColorSwatchGroupSlots, ColorSwatchGroup, };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ColorSwatchGroup: DefineComponent<ColorSwatchGroupProps, ColorSwatchGroupSlots, ColorSwatchGroupEmits>;
7
+ }
8
+ }
@@ -1,4 +1,9 @@
1
1
  import { default as ColorTrigger, ColorTriggerSlots, ColorTriggerProps } from './ColorTrigger';
2
- declare const ColorTriggerPlugin: import('vue').Plugin;
3
- export { ColorTrigger, ColorTriggerPlugin, type ColorTriggerSlots, type ColorTriggerProps };
2
+ import { DefineComponent } from '../types';
3
+ export { ColorTrigger, type ColorTriggerSlots, type ColorTriggerProps };
4
+ declare module 'vue' {
5
+ interface GlobalComponents {
6
+ ColorTrigger: DefineComponent<ColorTriggerProps, ColorTriggerSlots>;
7
+ }
8
+ }
4
9
  export * from './ColorTrigger.model';
@@ -1,5 +1,4 @@
1
1
  import { ComboboxOptionType, ComboboxFlattenOptionType, ComboboxProps, ComboboxSlots } from './types';
2
- import { Ref } from 'vue';
3
2
  import { Virtualizer } from '@pantograph/utils-vue';
4
3
  import { TreeProps } from '../Tree';
5
4
  export declare const COMBO_BOX_DEFAULT_PROPS: {
@@ -44,21 +43,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
44
43
  props: ComboboxProps;
45
44
  slots: ComboboxSlots;
46
45
  emit: ((event: "search", value?: string | null | undefined) => void) & ((event: "select", value: string | undefined, selected: boolean, option?: ComboboxFlattenOptionType | undefined) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "closeAutoFocus", event: Event) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "openChange", value?: boolean | null | undefined) => void) & ((event: "update:open", value: boolean) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: import('reka-ui').PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: import('reka-ui').FocusOutsideEvent) => void) & ((event: "interactOutside", event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => void) & ((event: "keydownEnter", value: KeyboardEvent, searchModel?: string | undefined) => void) & ((event: "update:expandedKeys", value: string[]) => void) & ((event: "keydownEscape", value: KeyboardEvent) => void) & ((event: "update:search", value?: string | null | undefined) => void) & ((event: "fetch") => void);
47
- searchModel: Ref<string | null | undefined, string | null | undefined>;
48
- openModel: Ref<boolean | null | undefined, boolean | null | undefined>;
49
- model: Ref<string | string[] | null | undefined, string | string[] | null | undefined>;
50
- inputRef: Ref<any, any>;
51
- triggerRef: Ref<any, any>;
46
+ searchModel: import('vue').Ref<string | null | undefined, string | null | undefined>;
47
+ openModel: import('vue').Ref<boolean | null | undefined, boolean | null | undefined>;
48
+ model: import('vue').Ref<string | string[] | null | undefined, string | string[] | null | undefined>;
49
+ inputRef: import('vue').Ref<any, any>;
50
+ triggerRef: import('vue').Ref<any, any>;
52
51
  valuePlaceholder: import('vue').ComputedRef<boolean>;
53
52
  placeholder: import('vue').ComputedRef<string | undefined>;
54
53
  selectOption: (option?: ComboboxFlattenOptionType | undefined, byTreeSelect?: boolean | undefined) => void;
55
- itemMap: Ref<import('@pantograph/utils-vue').CollectionMap, import('@pantograph/utils-vue').CollectionMap>;
54
+ itemMap: import('vue').Ref<import('@pantograph/utils-vue').CollectionMap, import('@pantograph/utils-vue').CollectionMap>;
56
55
  getItems: (includeDisabledItem?: boolean | undefined) => {
57
56
  ref: HTMLElement;
58
57
  value?: any;
59
58
  }[];
60
- highlightedOptionKey: Ref<string | undefined, string | undefined>;
61
- comboboxInputFocused: Ref<boolean, boolean>;
59
+ highlightedOptionKey: import('vue').Ref<string | undefined, string | undefined>;
60
+ comboboxInputFocused: import('vue').Ref<boolean, boolean>;
62
61
  onKeyDown: (event: KeyboardEvent) => void;
63
62
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
63
  search: (value?: string | null | undefined) => any;
@@ -173,7 +172,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
173
172
  $emit: (event: string, ...args: any[]) => void;
174
173
  $el: any;
175
174
  $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, {
176
- viewport: Ref<HTMLElement | undefined, HTMLElement | undefined>;
175
+ viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
177
176
  scrollTop: () => void;
178
177
  scrollTopLeft: () => void;
179
178
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
@@ -203,7 +202,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
203
202
  type: "scroll" | "hover" | "always" | "auto";
204
203
  scrollHideDelay: number;
205
204
  }> & Omit<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "scrollTop" | "scrollTopLeft" | "viewport"> & import('vue').ShallowUnwrapRef<{
206
- viewport: Ref<HTMLElement | undefined, HTMLElement | undefined>;
205
+ viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
207
206
  scrollTop: () => void;
208
207
  scrollTopLeft: () => void;
209
208
  }> & {} & import('vue').ComponentCustomProperties & {} & {
@@ -234,7 +233,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
234
233
  $emit: (event: string, ...args: any[]) => void;
235
234
  $el: any;
236
235
  $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, {
237
- viewportElement: Ref<HTMLElement | undefined, HTMLElement | undefined>;
236
+ viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
238
237
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
239
238
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
240
239
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -256,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
256
255
  $nextTick: typeof import('vue').nextTick;
257
256
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
258
257
  } & Readonly<{}> & Omit<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, "viewportElement"> & import('vue').ShallowUnwrapRef<{
259
- viewportElement: Ref<HTMLElement | undefined, HTMLElement | undefined>;
258
+ viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
260
259
  }> & {} & import('vue').ComponentCustomProperties & {} & {
261
260
  $slots: {
262
261
  default?: ((props: {}) => any) | undefined;
@@ -323,9 +322,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
323
322
  $emit: (event: string, ...args: any[]) => void;
324
323
  $el: any;
325
324
  $options: import('vue').ComponentOptionsBase<Readonly<import('../ScrollContainer').ScrollContainerProps> & Readonly<{}>, {
326
- container: Ref<any, any>;
327
- wrap: Ref<any, any>;
328
- root: Ref<any, any>;
325
+ container: import('vue').Ref<any, any>;
326
+ wrap: import('vue').Ref<any, any>;
327
+ root: import('vue').Ref<any, any>;
329
328
  isOverflowX: import('vue').ShallowRef<boolean, boolean>;
330
329
  isOverflowY: import('vue').ShallowRef<boolean, boolean>;
331
330
  topVisible: import('vue').ShallowRef<boolean, boolean>;
@@ -371,9 +370,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
371
370
  scrollDistance: number;
372
371
  scrollHideDelay: number;
373
372
  }> & Omit<Readonly<import('../ScrollContainer').ScrollContainerProps> & Readonly<{}>, "wrap" | "container" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "getScroll" | "scrollTop" | "scrollTopLeft" | ("type" | "size" | "overlay" | "scrollDistance" | "scrollHideDelay")> & import('vue').ShallowUnwrapRef<{
374
- container: Ref<any, any>;
375
- wrap: Ref<any, any>;
376
- root: Ref<any, any>;
373
+ container: import('vue').Ref<any, any>;
374
+ wrap: import('vue').Ref<any, any>;
375
+ root: import('vue').Ref<any, any>;
377
376
  isOverflowX: import('vue').ShallowRef<boolean, boolean>;
378
377
  isOverflowY: import('vue').ShallowRef<boolean, boolean>;
379
378
  topVisible: import('vue').ShallowRef<boolean, boolean>;
@@ -490,11 +489,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
490
489
  disabled: import('vue').ComputedRef<boolean | undefined>;
491
490
  props: TreeProps;
492
491
  dir: import('vue').ComputedRef<import('../ConfigProvider').Direction | undefined>;
493
- expandedKeys: Ref<string[] | undefined, string[] | undefined>;
492
+ expandedKeys: import('vue').Ref<string[] | undefined, string[] | undefined>;
494
493
  model: import('vue').WritableComputedRef<string[], string[]>;
495
- checked: Ref<string[], string[]>;
496
- dragging: Ref<boolean, boolean>;
497
- scrollContainerRef: Ref<any, any>;
494
+ checked: import('vue').Ref<string[], string[]>;
495
+ dragging: import('vue').Ref<boolean, boolean>;
496
+ scrollContainerRef: import('vue').Ref<any, any>;
498
497
  onExpandKey: (node: import('../Tree').TreeItem) => void;
499
498
  getLevel: (node: import('../Tree').TreeItem) => number;
500
499
  getNodeField: <T_1>(node: object, field: keyof import('../Tree').TreeNodeType) => T_1;
@@ -576,11 +575,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
576
575
  disabled: import('vue').ComputedRef<boolean | undefined>;
577
576
  props: TreeProps;
578
577
  dir: import('vue').ComputedRef<import('../ConfigProvider').Direction | undefined>;
579
- expandedKeys: Ref<string[] | undefined, string[] | undefined>;
578
+ expandedKeys: import('vue').Ref<string[] | undefined, string[] | undefined>;
580
579
  model: import('vue').WritableComputedRef<string[], string[]>;
581
- checked: Ref<string[], string[]>;
582
- dragging: Ref<boolean, boolean>;
583
- scrollContainerRef: Ref<any, any>;
580
+ checked: import('vue').Ref<string[], string[]>;
581
+ dragging: import('vue').Ref<boolean, boolean>;
582
+ scrollContainerRef: import('vue').Ref<any, any>;
584
583
  onExpandKey: (node: import('../Tree').TreeItem) => void;
585
584
  getLevel: (node: import('../Tree').TreeItem) => number;
586
585
  getNodeField: <T_1>(node: object, field: keyof import('../Tree').TreeNodeType) => T_1;
@@ -1,10 +1,16 @@
1
1
  import { default as Combobox, COMBO_BOX_DEFAULT_PROPS } from './Combobox';
2
2
  import { default as ComboboxInput, ComboboxInputProps } from './ComboboxInput';
3
3
  import { default as ComboboxOption } from './ComboboxOption';
4
- declare const ComboboxPlugin: import('vue').Plugin;
5
- declare const ComboboxInputPlugin: import('vue').Plugin;
6
- declare const ComboboxOptionPlugin: import('vue').Plugin;
7
- export { Combobox, ComboboxPlugin, COMBO_BOX_DEFAULT_PROPS, ComboboxInput, ComboboxInputPlugin, ComboboxOption, ComboboxOptionPlugin, type ComboboxInputProps, };
4
+ import { DefineComponent } from '../types';
5
+ import { ComboboxSlots, ComboboxEmits } from './types';
6
+ export { Combobox, COMBO_BOX_DEFAULT_PROPS, ComboboxInput, ComboboxOption, type ComboboxInputProps };
7
+ declare module 'vue' {
8
+ interface GlobalComponents {
9
+ Combobox: DefineComponent<import('./types').ComboboxProps, ComboboxSlots, ComboboxEmits>;
10
+ ComboboxInput: DefineComponent<ComboboxInputProps>;
11
+ ComboboxOption: DefineComponent;
12
+ }
13
+ }
8
14
  export * from './Combobox.model';
9
15
  export type { ComboboxOptionProps, ComboboxOptionSlots } from './LocalComboboxOption';
10
16
  export * from './types';