@adyen/bento-vue2 0.9.3 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,17 +52,18 @@ export interface BentoDatagridAllItemsSelectedState {
52
52
  isIndeterminate: boolean;
53
53
  }
54
54
  export declare enum BentoDatagridEvent {
55
+ COLUMNS = "columns",
55
56
  COLUMN_RESIZE = "column-resize",
56
- SORT = "sort",
57
- SELECT = "select",
58
- NAVIGATE = "navigate",
59
- UPDATE_FILERS = "update:filters",
60
57
  ITEMS_PAGE = "items-page",
61
- UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term",
58
+ NAVIGATE = "navigate",
62
59
  FILTER_SEARCH_INPUT = "filter-search-input",
63
60
  FILTER_SEARCH_CLEAR = "filter-search-clear",
64
- COLUMNS = "columns",
65
61
  UPDATE_COLUMNS = "update:columns",
62
+ UPDATE_CONDENSED = "update:condensed",
63
+ UPDATE_FILTERS = "update:filters",
64
+ UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term",
65
+ UPDATE_SORT_BY = "update:sort-by",
66
66
  ROW_CLICK = "row-click",
67
- UPDATE_CONDENSED = "update:condensed"
67
+ SELECT = "select",
68
+ SORT = "sort"
68
69
  }
@@ -322,7 +322,7 @@ declare const _default: import("vue").DefineComponent<{
322
322
  dragover: (e: DragEvent) => void;
323
323
  }>;
324
324
  computedColumnPanelAlignment: import("vue").ComputedRef<number>;
325
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.SORT | BentoDatagridEvent.SELECT | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.UPDATE_FILERS | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.COLUMNS | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.ROW_CLICK)[], string, Readonly<import("vue").ExtractPropTypes<{
325
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoDatagridEvent.COLUMNS | BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.UPDATE_FILTERS | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.UPDATE_SORT_BY | BentoDatagridEvent.ROW_CLICK | BentoDatagridEvent.SELECT | BentoDatagridEvent.SORT)[], string, Readonly<import("vue").ExtractPropTypes<{
326
326
  allowRowClicks: {
327
327
  type: BooleanConstructor;
328
328
  default: boolean;
@@ -0,0 +1,60 @@
1
+ import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
2
+ import { ComputedRef } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ label: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ value: {
9
+ type: (StringConstructor | NumberConstructor)[];
10
+ required: true;
11
+ };
12
+ modelValue: {
13
+ type: (StringConstructor | NumberConstructor)[];
14
+ default: any;
15
+ };
16
+ disabled: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ fullWidth: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ }, {
25
+ BentoTypographyElement: typeof BentoTypographyElement;
26
+ BentoTypographyVariant: typeof BentoTypographyVariant;
27
+ segmentedControlButtonId: string;
28
+ isChecked: ComputedRef<boolean>;
29
+ conditionalClasses: ComputedRef<{
30
+ 'b-segmented-control-button--hug-content': boolean;
31
+ 'b-segmented-control-button--full-width': boolean;
32
+ }>;
33
+ onClick: () => void;
34
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
35
+ label: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
39
+ value: {
40
+ type: (StringConstructor | NumberConstructor)[];
41
+ required: true;
42
+ };
43
+ modelValue: {
44
+ type: (StringConstructor | NumberConstructor)[];
45
+ default: any;
46
+ };
47
+ disabled: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ fullWidth: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }>>, {
56
+ disabled: boolean;
57
+ modelValue: string | number;
58
+ fullWidth: boolean;
59
+ }>;
60
+ export default _default;