@flux-ui/components 3.0.0-next.61 → 3.0.0-next.64

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 (125) hide show
  1. package/dist/component/FluxActionStack.vue.d.ts +25 -19
  2. package/dist/component/FluxAspectRatio.vue.d.ts +4 -3
  3. package/dist/component/FluxBorderShine.vue.d.ts +1 -1
  4. package/dist/component/FluxCalendar.vue.d.ts +2 -6
  5. package/dist/component/FluxContainer.vue.d.ts +3 -2
  6. package/dist/component/FluxFilter.vue.d.ts +6 -7
  7. package/dist/component/FluxFilterBar.vue.d.ts +5 -4
  8. package/dist/component/FluxFilterBase.vue.d.ts +14 -11
  9. package/dist/component/FluxFilterDate.vue.d.ts +3 -6
  10. package/dist/component/FluxFilterDateRange.vue.d.ts +3 -6
  11. package/dist/component/FluxFilterOption.vue.d.ts +3 -6
  12. package/dist/component/FluxFilterOptionAsync.vue.d.ts +3 -6
  13. package/dist/component/FluxFilterOptions.vue.d.ts +3 -6
  14. package/dist/component/FluxFilterOptionsAsync.vue.d.ts +3 -6
  15. package/dist/component/FluxFilterRange.vue.d.ts +3 -7
  16. package/dist/component/FluxFilterWindow.vue.d.ts +3 -8
  17. package/dist/component/FluxFlex.vue.d.ts +30 -0
  18. package/dist/component/{FluxRow.vue.d.ts → FluxFlexItem.vue.d.ts} +5 -3
  19. package/dist/component/FluxGrid.vue.d.ts +3 -2
  20. package/dist/component/FluxGridColumn.vue.d.ts +3 -2
  21. package/dist/component/FluxKanbanColumn.vue.d.ts +3 -0
  22. package/dist/component/FluxScroller.vue.d.ts +32 -0
  23. package/dist/component/{FluxStack.vue.d.ts → FluxSplitView.vue.d.ts} +7 -6
  24. package/dist/component/{FluxColumn.vue.d.ts → FluxSplitViewPane.vue.d.ts} +4 -1
  25. package/dist/component/FluxSticky.vue.d.ts +34 -0
  26. package/dist/component/index.d.ts +6 -3
  27. package/dist/component/primitive/FilterBadge.vue.d.ts +2 -2
  28. package/dist/component/primitive/FilterItem.vue.d.ts +3 -2
  29. package/dist/component/primitive/SelectBase.vue.d.ts +4 -4
  30. package/dist/composable/private/index.d.ts +1 -0
  31. package/dist/composable/private/useSplitView.d.ts +23 -0
  32. package/dist/data/di.d.ts +19 -2
  33. package/dist/data/index.d.ts +0 -1
  34. package/dist/index.css +778 -526
  35. package/dist/index.d.ts +2 -0
  36. package/dist/index.js +10381 -9732
  37. package/dist/index.js.map +1 -1
  38. package/dist/util/defineFilter.d.ts +3 -0
  39. package/dist/util/filter.d.ts +7 -0
  40. package/dist/util/index.d.ts +2 -0
  41. package/dist/vite/defineFilterMacro.d.ts +3 -0
  42. package/dist/vite/index.d.ts +1 -0
  43. package/dist/vite.js +217 -0
  44. package/dist/vite.js.map +1 -0
  45. package/package.json +11 -7
  46. package/src/component/FluxActionBar.vue +3 -4
  47. package/src/component/FluxActionStack.vue +3 -3
  48. package/src/component/FluxAspectRatio.vue +5 -3
  49. package/src/component/FluxBadgeStack.vue +4 -4
  50. package/src/component/FluxButtonStack.vue +6 -4
  51. package/src/component/FluxCalendar.vue +160 -157
  52. package/src/component/FluxContainer.vue +4 -2
  53. package/src/component/FluxFilter.vue +10 -11
  54. package/src/component/FluxFilterBar.vue +71 -15
  55. package/src/component/FluxFilterBase.vue +65 -51
  56. package/src/component/FluxFilterDate.vue +24 -8
  57. package/src/component/FluxFilterDateRange.vue +27 -9
  58. package/src/component/FluxFilterOption.vue +20 -10
  59. package/src/component/FluxFilterOptionAsync.vue +19 -11
  60. package/src/component/FluxFilterOptions.vue +26 -11
  61. package/src/component/FluxFilterOptionsAsync.vue +28 -12
  62. package/src/component/FluxFilterRange.vue +25 -11
  63. package/src/component/FluxFilterWindow.vue +25 -11
  64. package/src/component/FluxFlex.vue +53 -0
  65. package/src/component/FluxFlexItem.vue +40 -0
  66. package/src/component/FluxFormDateTimeInput.vue +3 -4
  67. package/src/component/FluxGrid.vue +4 -2
  68. package/src/component/FluxGridColumn.vue +4 -2
  69. package/src/component/FluxInfoStack.vue +3 -3
  70. package/src/component/FluxItemStack.vue +4 -4
  71. package/src/component/FluxKanbanColumn.vue +16 -3
  72. package/src/component/FluxNoticeStack.vue +3 -3
  73. package/src/component/FluxPane.vue +10 -7
  74. package/src/component/FluxProgressBar.vue +4 -3
  75. package/src/component/FluxScroller.vue +63 -0
  76. package/src/component/FluxSplitView.vue +101 -0
  77. package/src/component/FluxSplitViewPane.vue +23 -0
  78. package/src/component/FluxSticky.vue +67 -0
  79. package/src/component/FluxTagStack.vue +4 -4
  80. package/src/component/FluxToolbar.vue +3 -4
  81. package/src/component/FluxToolbarGroup.vue +3 -4
  82. package/src/component/FluxTooltipProvider.vue +56 -25
  83. package/src/component/index.ts +6 -3
  84. package/src/component/primitive/FilterBadge.vue +2 -2
  85. package/src/component/primitive/FilterItem.vue +4 -2
  86. package/src/component/primitive/FilterMenuRenderer.ts +10 -5
  87. package/src/component/primitive/FilterOptionBase.vue +1 -1
  88. package/src/composable/private/index.ts +1 -0
  89. package/src/composable/private/useAsyncFilterOptions.ts +1 -1
  90. package/src/composable/private/useFilterOption.ts +1 -1
  91. package/src/composable/private/useSplitView.ts +249 -0
  92. package/src/composable/useFilterInjection.ts +3 -1
  93. package/src/css/component/Calendar.module.scss +11 -17
  94. package/src/css/component/Comment.module.scss +3 -11
  95. package/src/css/component/Filter.module.scss +6 -2
  96. package/src/css/component/Flex.module.scss +84 -0
  97. package/src/css/component/Flyout.module.scss +1 -0
  98. package/src/css/component/Kanban.module.scss +31 -28
  99. package/src/css/component/LayerPane.module.scss +5 -0
  100. package/src/css/component/Layout.module.scss +0 -41
  101. package/src/css/component/Legend.module.scss +3 -4
  102. package/src/css/component/Menu.module.scss +1 -0
  103. package/src/css/component/Notice.module.scss +1 -1
  104. package/src/css/component/Pagination.module.scss +1 -1
  105. package/src/css/component/Pane.module.scss +1 -1
  106. package/src/css/component/Progress.module.scss +2 -2
  107. package/src/css/component/Scroller.module.scss +109 -0
  108. package/src/css/component/SplitView.module.scss +78 -0
  109. package/src/css/component/Sticky.module.scss +35 -0
  110. package/src/css/component/Tab.module.scss +1 -0
  111. package/src/css/component/Table.module.scss +1 -0
  112. package/src/css/component/Tooltip.module.scss +14 -0
  113. package/src/data/di.ts +22 -2
  114. package/src/data/index.ts +0 -1
  115. package/src/index.ts +11 -0
  116. package/src/util/defineFilter.ts +10 -0
  117. package/src/util/filter.ts +63 -0
  118. package/src/util/index.ts +2 -0
  119. package/src/vite/defineFilterMacro.ts +335 -0
  120. package/src/vite/index.ts +1 -0
  121. package/dist/data/filter.d.ts +0 -7
  122. package/src/component/FluxColumn.vue +0 -24
  123. package/src/component/FluxRow.vue +0 -24
  124. package/src/component/FluxStack.vue +0 -41
  125. package/src/data/filter.ts +0 -165
@@ -1,5 +1,5 @@
1
1
  import { VNode, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
2
- import { FluxDirection } from '@flux-ui/types';
2
+ import { FluxAlign, FluxDirection, FluxJustify, FluxFlexWrap } from '@flux-ui/types';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  declare function __VLS_template(): {
5
5
  attrs: Partial<{}>;
@@ -13,12 +13,13 @@ declare function __VLS_template(): {
13
13
  $: ComponentInternalInstance;
14
14
  $data: {};
15
15
  $props: Partial<{}> & Omit<{
16
+ readonly align?: FluxAlign;
16
17
  readonly direction?: FluxDirection;
17
18
  readonly gap?: number;
18
- readonly isCentered?: boolean;
19
- readonly isFill?: boolean;
20
- readonly isWrapping?: boolean;
19
+ readonly isInline?: boolean;
20
+ readonly justify?: FluxJustify;
21
21
  readonly tag?: keyof HTMLElementTagNameMap;
22
+ readonly wrap?: FluxFlexWrap;
22
23
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
23
24
  $attrs: Attrs;
24
25
  $refs: {
@@ -33,12 +34,13 @@ declare function __VLS_template(): {
33
34
  $emit: (event: string, ...args: any[]) => void;
34
35
  $el: any;
35
36
  $options: ComponentOptionsBase<Readonly<{
37
+ readonly align?: FluxAlign;
36
38
  readonly direction?: FluxDirection;
37
39
  readonly gap?: number;
38
- readonly isCentered?: boolean;
39
- readonly isFill?: boolean;
40
- readonly isWrapping?: boolean;
40
+ readonly isInline?: boolean;
41
+ readonly justify?: FluxJustify;
41
42
  readonly tag?: keyof HTMLElementTagNameMap;
43
+ readonly wrap?: FluxFlexWrap;
42
44
  }> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
43
45
  beforeCreate?: (() => void) | (() => void)[];
44
46
  created?: (() => void) | (() => void)[];
@@ -60,12 +62,13 @@ declare function __VLS_template(): {
60
62
  $nextTick: nextTick;
61
63
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
62
64
  } & Readonly<{}> & Omit<Readonly<{
65
+ readonly align?: FluxAlign;
63
66
  readonly direction?: FluxDirection;
64
67
  readonly gap?: number;
65
- readonly isCentered?: boolean;
66
- readonly isFill?: boolean;
67
- readonly isWrapping?: boolean;
68
+ readonly isInline?: boolean;
69
+ readonly justify?: FluxJustify;
68
70
  readonly tag?: keyof HTMLElementTagNameMap;
71
+ readonly wrap?: FluxFlexWrap;
69
72
  }> & Readonly<{}>, never> & {} & ComponentCustomProperties & {} & {
70
73
  $slots: Readonly<{
71
74
  default(): VNode[];
@@ -82,12 +85,13 @@ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOpti
82
85
  $: ComponentInternalInstance;
83
86
  $data: {};
84
87
  $props: Partial<{}> & Omit<{
88
+ readonly align?: FluxAlign;
85
89
  readonly direction?: FluxDirection;
86
90
  readonly gap?: number;
87
- readonly isCentered?: boolean;
88
- readonly isFill?: boolean;
89
- readonly isWrapping?: boolean;
91
+ readonly isInline?: boolean;
92
+ readonly justify?: FluxJustify;
90
93
  readonly tag?: keyof HTMLElementTagNameMap;
94
+ readonly wrap?: FluxFlexWrap;
91
95
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
92
96
  $attrs: Attrs;
93
97
  $refs: {
@@ -102,12 +106,13 @@ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOpti
102
106
  $emit: (event: string, ...args: any[]) => void;
103
107
  $el: any;
104
108
  $options: ComponentOptionsBase<Readonly<{
109
+ readonly align?: FluxAlign;
105
110
  readonly direction?: FluxDirection;
106
111
  readonly gap?: number;
107
- readonly isCentered?: boolean;
108
- readonly isFill?: boolean;
109
- readonly isWrapping?: boolean;
112
+ readonly isInline?: boolean;
113
+ readonly justify?: FluxJustify;
110
114
  readonly tag?: keyof HTMLElementTagNameMap;
115
+ readonly wrap?: FluxFlexWrap;
111
116
  }> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
112
117
  beforeCreate?: (() => void) | (() => void)[];
113
118
  created?: (() => void) | (() => void)[];
@@ -129,12 +134,13 @@ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOpti
129
134
  $nextTick: nextTick;
130
135
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
131
136
  } & Readonly<{}> & Omit<Readonly<{
137
+ readonly align?: FluxAlign;
132
138
  readonly direction?: FluxDirection;
133
139
  readonly gap?: number;
134
- readonly isCentered?: boolean;
135
- readonly isFill?: boolean;
136
- readonly isWrapping?: boolean;
140
+ readonly isInline?: boolean;
141
+ readonly justify?: FluxJustify;
137
142
  readonly tag?: keyof HTMLElementTagNameMap;
143
+ readonly wrap?: FluxFlexWrap;
138
144
  }> & Readonly<{}>, never> & {} & ComponentCustomProperties & {} & {
139
145
  $slots: Readonly<{
140
146
  default(): VNode[];
@@ -1,6 +1,7 @@
1
1
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
- aspectRatio: number;
3
+ readonly aspectRatio: number;
4
+ readonly tag?: keyof HTMLElementTagNameMap;
4
5
  };
5
6
  declare function __VLS_template(): {
6
7
  attrs: Partial<{}>;
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
10
11
  default(): VNode[];
11
12
  };
12
13
  refs: {};
13
- rootEl: HTMLDivElement;
14
+ rootEl: any;
14
15
  };
15
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
17
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
19
  export default _default;
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -44,9 +44,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
44
44
  type: NumberConstructor;
45
45
  };
46
46
  }>> & Readonly<{}>, {
47
- offset: number;
48
47
  duration: number;
49
48
  width: number;
49
+ offset: number;
50
50
  colors: string[];
51
51
  radius: string | number;
52
52
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -16,9 +16,7 @@ declare function __VLS_template(): {
16
16
  }> & {
17
17
  default?(): VNode[];
18
18
  };
19
- refs: {
20
- root: HTMLDivElement;
21
- };
19
+ refs: {};
22
20
  rootEl: HTMLDivElement;
23
21
  };
24
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -78,9 +76,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
78
76
  onKeyboardCancel?: (args_0: {
79
77
  id: string | number;
80
78
  }) => any;
81
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
82
- root: HTMLDivElement;
83
- }, HTMLDivElement>;
79
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
84
80
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
85
81
  export default _default;
86
82
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,7 @@
1
1
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
3
  readonly gutter?: number;
4
+ readonly tag?: keyof HTMLElementTagNameMap;
4
5
  };
5
6
  declare function __VLS_template(): {
6
7
  attrs: Partial<{}>;
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
10
11
  default(): VNode[];
11
12
  };
12
13
  refs: {};
13
- rootEl: HTMLDivElement;
14
+ rootEl: any;
14
15
  };
15
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
17
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
17
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
19
  export default _default;
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,11 +1,8 @@
1
- import { FluxFilterState } from '@flux-ui/types';
1
+ import { FluxFilterState, FluxFilterValue } from '@flux-ui/types';
2
2
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- readonly resettable?: string[];
5
- };
6
3
  type __VLS_PublicProps = {
7
4
  modelValue: FluxFilterState;
8
- } & __VLS_Props;
5
+ };
9
6
  declare function __VLS_template(): {
10
7
  attrs: Partial<{}>;
11
8
  slots: Readonly<{
@@ -18,11 +15,13 @@ declare function __VLS_template(): {
18
15
  };
19
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
17
  declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
+ clear: (args_0: string) => any;
21
19
  reset: (args_0: string) => any;
22
- "update:modelValue": (value: FluxFilterState) => any;
20
+ "update:modelValue": (value: Record<string, FluxFilterValue>) => any;
23
21
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ onClear?: (args_0: string) => any;
24
23
  onReset?: (args_0: string) => any;
25
- "onUpdate:modelValue"?: (value: FluxFilterState) => any;
24
+ "onUpdate:modelValue"?: (value: Record<string, FluxFilterValue>) => any;
26
25
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
27
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
27
  export default _default;
@@ -1,8 +1,7 @@
1
- import { FluxFilterState } from '@flux-ui/types';
1
+ import { FluxFilterState, FluxFilterValue } from '@flux-ui/types';
2
2
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
4
  readonly isSearchable?: boolean;
5
- readonly resettable?: string[];
6
5
  readonly searchPlaceholder?: string;
7
6
  };
8
7
  type __VLS_PublicProps = {
@@ -21,12 +20,14 @@ declare function __VLS_template(): {
21
20
  };
22
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
22
  declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ clear: (args_0: string) => any;
24
24
  reset: (args_0: string) => any;
25
- "update:modelValue": (value: FluxFilterState) => any;
25
+ "update:modelValue": (value: Record<string, FluxFilterValue>) => any;
26
26
  "update:search": (value: string) => any;
27
27
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ onClear?: (args_0: string) => any;
28
29
  onReset?: (args_0: string) => any;
29
- "onUpdate:modelValue"?: (value: FluxFilterState) => any;
30
+ "onUpdate:modelValue"?: (value: Record<string, FluxFilterValue>) => any;
30
31
  "onUpdate:search"?: (value: string) => any;
31
32
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
32
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,25 +1,26 @@
1
- import { FluxFilterItem, FluxFilterState } from '@flux-ui/types';
1
+ import { FluxFilterDefinition, FluxFilterState, FluxFilterValue } from '@flux-ui/types';
2
2
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- readonly resettable?: string[];
5
- };
6
3
  type __VLS_PublicProps = {
7
4
  modelValue: FluxFilterState;
8
- } & __VLS_Props;
5
+ };
9
6
  declare function __VLS_template(): {
10
7
  attrs: Partial<{}>;
11
8
  slots: Readonly<{
12
9
  default(props: {
13
- readonly buttons: Record<string, FluxFilterItem>;
10
+ readonly buttons: Record<string, FluxFilterDefinition>;
14
11
  readonly filters: Record<string, VNode>;
15
- readonly menuItems: (FluxFilterItem | VNode)[][];
12
+ readonly menuItems: (FluxFilterDefinition | VNode)[][];
13
+ clear(name: string): void;
14
+ reset(name: string): void;
16
15
  }): VNode[];
17
16
  filters(): VNode[];
18
17
  }> & {
19
18
  default(props: {
20
- readonly buttons: Record<string, FluxFilterItem>;
19
+ readonly buttons: Record<string, FluxFilterDefinition>;
21
20
  readonly filters: Record<string, VNode>;
22
- readonly menuItems: (FluxFilterItem | VNode)[][];
21
+ readonly menuItems: (FluxFilterDefinition | VNode)[][];
22
+ clear(name: string): void;
23
+ reset(name: string): void;
23
24
  }): VNode[];
24
25
  filters(): VNode[];
25
26
  };
@@ -28,13 +29,15 @@ declare function __VLS_template(): {
28
29
  };
29
30
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
31
  declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
32
+ clear: (args_0: string) => any;
31
33
  reset: (args_0: string) => any;
32
34
  back: () => any;
33
- "update:modelValue": (value: FluxFilterState) => any;
35
+ "update:modelValue": (value: Record<string, FluxFilterValue>) => any;
34
36
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
+ onClear?: (args_0: string) => any;
35
38
  onReset?: (args_0: string) => any;
36
39
  onBack?: () => any;
37
- "onUpdate:modelValue"?: (value: FluxFilterState) => any;
40
+ "onUpdate:modelValue"?: (value: Record<string, FluxFilterValue>) => any;
38
41
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
39
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
43
  export default _default;
@@ -1,12 +1,9 @@
1
- import { FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterDateSpec } from '@flux-ui/types';
2
2
  import { DateTime } from 'luxon';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- readonly icon?: FluxIconName;
6
- readonly label: string;
4
+ type Props = FluxFilterDateSpec & {
7
5
  readonly max?: DateTime;
8
6
  readonly min?: DateTime;
9
- readonly name: string;
10
7
  };
11
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
9
  export default _default;
@@ -1,13 +1,10 @@
1
- import { FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterDateRangeSpec } from '@flux-ui/types';
2
2
  import { DateTime } from 'luxon';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- readonly icon?: FluxIconName;
6
- readonly label: string;
4
+ type Props = FluxFilterDateRangeSpec & {
7
5
  readonly max?: DateTime;
8
6
  readonly min?: DateTime;
9
- readonly name: string;
10
7
  readonly rangeMode?: 'range' | 'week' | 'month';
11
8
  };
12
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
13
10
  export default _default;
@@ -1,13 +1,10 @@
1
- import { FluxFilterOptionRow, FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterOptionSpec } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- readonly icon?: FluxIconName;
3
+ type Props = FluxFilterOptionSpec & {
5
4
  readonly isSearchable?: boolean;
6
- readonly label: string;
7
- readonly name: string;
8
- readonly options: FluxFilterOptionRow[];
9
5
  readonly searchPlaceholder?: string;
10
6
  };
7
+ type __VLS_Props = Props;
11
8
  type __VLS_PublicProps = {
12
9
  'searchQuery'?: string;
13
10
  } & __VLS_Props;
@@ -1,14 +1,11 @@
1
- import { FluxFilterOptionRow, FluxFilterValue, FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterOptionAsyncSpec, FluxFilterOptionRow } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- fetchOptions(ids: FluxFilterValue[]): Promise<FluxFilterOptionRow[]>;
3
+ type Props = FluxFilterOptionAsyncSpec & {
5
4
  fetchRelevant(): Promise<FluxFilterOptionRow[]>;
6
5
  fetchSearch(searchQuery: string): Promise<FluxFilterOptionRow[]>;
7
- readonly icon?: FluxIconName;
8
- readonly label: string;
9
- readonly name: string;
10
6
  readonly searchPlaceholder?: string;
11
7
  };
8
+ type __VLS_Props = Props;
12
9
  type __VLS_PublicProps = {
13
10
  'searchQuery'?: string;
14
11
  } & __VLS_Props;
@@ -1,13 +1,10 @@
1
- import { FluxFilterOptionRow, FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterOptionsSpec } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- readonly icon?: FluxIconName;
3
+ type Props = FluxFilterOptionsSpec & {
5
4
  readonly isSearchable?: boolean;
6
- readonly label: string;
7
- readonly name: string;
8
- readonly options: FluxFilterOptionRow[];
9
5
  readonly searchPlaceholder?: string;
10
6
  };
7
+ type __VLS_Props = Props;
11
8
  type __VLS_PublicProps = {
12
9
  'searchQuery'?: string;
13
10
  } & __VLS_Props;
@@ -1,14 +1,11 @@
1
- import { FluxFilterOptionRow, FluxFilterValue, FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterOptionRow, FluxFilterOptionsAsyncSpec } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- fetchOptions(ids: FluxFilterValue[]): Promise<FluxFilterOptionRow[]>;
3
+ type Props = FluxFilterOptionsAsyncSpec & {
5
4
  fetchRelevant(): Promise<FluxFilterOptionRow[]>;
6
5
  fetchSearch(searchQuery: string): Promise<FluxFilterOptionRow[]>;
7
- readonly icon?: FluxIconName;
8
- readonly label: string;
9
- readonly name: string;
10
6
  readonly searchPlaceholder?: string;
11
7
  };
8
+ type __VLS_Props = Props;
12
9
  type __VLS_PublicProps = {
13
10
  'searchQuery'?: string;
14
11
  } & __VLS_Props;
@@ -1,14 +1,10 @@
1
- import { FluxIconName } from '@flux-ui/types';
1
+ import { FluxFilterRangeSpec } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- readonly icon?: FluxIconName;
3
+ type Props = FluxFilterRangeSpec & {
5
4
  readonly isTicksVisible?: boolean;
6
- readonly label: string;
7
- readonly name: string;
8
5
  readonly max: number;
9
6
  readonly min: number;
10
7
  readonly step?: number;
11
- readonly formatter?: (value: number) => string;
12
8
  };
13
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
14
10
  export default _default;
@@ -1,10 +1,9 @@
1
- import { FluxFilterItem } from '@flux-ui/types';
1
+ import { FluxFilterDefinition } from '@flux-ui/types';
2
2
  import { VNode, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  type __VLS_Props = {
5
5
  readonly filters: Record<string, VNode>;
6
- readonly menuItems: (FluxFilterItem | VNode)[][];
7
- readonly resettable?: string[];
6
+ readonly menuItems: (FluxFilterDefinition | VNode)[][];
8
7
  };
9
8
  declare function __VLS_template(): {
10
9
  attrs: Partial<{}>;
@@ -81,11 +80,7 @@ declare function __VLS_template(): {
81
80
  rootEl: HTMLDivElement;
82
81
  };
83
82
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
84
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
85
- reset: (args_0: string) => any;
86
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
87
- onReset?: (args_0: string) => any;
88
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
83
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
89
84
  window: {
90
85
  $: ComponentInternalInstance;
91
86
  $data: {};
@@ -0,0 +1,30 @@
1
+ import { FluxAlign, FluxDirection, FluxFlexWrap, FluxJustify } from '@flux-ui/types';
2
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ readonly align?: FluxAlign;
5
+ readonly direction?: FluxDirection;
6
+ readonly gap?: number;
7
+ readonly isInline?: boolean;
8
+ readonly justify?: FluxJustify;
9
+ readonly tag?: keyof HTMLElementTagNameMap;
10
+ readonly wrap?: FluxFlexWrap;
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: Readonly<{
15
+ default(): VNode[];
16
+ }> & {
17
+ default(): VNode[];
18
+ };
19
+ refs: {};
20
+ rootEl: any;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -1,6 +1,8 @@
1
1
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
- readonly gap?: number;
3
+ readonly basis?: number | string;
4
+ readonly grow?: number;
5
+ readonly shrink?: number;
4
6
  };
5
7
  declare function __VLS_template(): {
6
8
  attrs: Partial<{}>;
@@ -10,10 +12,10 @@ declare function __VLS_template(): {
10
12
  default(): VNode[];
11
13
  };
12
14
  refs: {};
13
- rootEl: HTMLDivElement;
15
+ rootEl: any;
14
16
  };
15
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
18
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
17
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
20
  export default _default;
19
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,6 +2,7 @@ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentPr
2
2
  type __VLS_Props = {
3
3
  readonly columns?: number;
4
4
  readonly gap?: number;
5
+ readonly tag?: keyof HTMLElementTagNameMap;
5
6
  };
6
7
  declare function __VLS_template(): {
7
8
  attrs: Partial<{}>;
@@ -11,10 +12,10 @@ declare function __VLS_template(): {
11
12
  default(): VNode[];
12
13
  };
13
14
  refs: {};
14
- rootEl: HTMLDivElement;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
18
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
18
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
20
  export default _default;
20
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  readonly md?: number;
6
6
  readonly lg?: number;
7
7
  readonly xl?: number;
8
+ readonly tag?: keyof HTMLElementTagNameMap;
8
9
  };
9
10
  declare function __VLS_template(): {
10
11
  attrs: Partial<{}>;
@@ -14,10 +15,10 @@ declare function __VLS_template(): {
14
15
  default(): VNode[];
15
16
  };
16
17
  refs: {};
17
- rootEl: HTMLDivElement;
18
+ rootEl: any;
18
19
  };
19
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
21
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
23
  export default _default;
23
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,10 @@
1
+ import { FluxIconName } from '@flux-ui/types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
3
  type __VLS_Props = {
3
4
  readonly columnId: string | number;
5
+ readonly count: string | number;
4
6
  readonly disabled?: boolean;
7
+ readonly icon?: FluxIconName;
5
8
  readonly label: string;
6
9
  };
7
10
  declare function __VLS_template(): {
@@ -0,0 +1,32 @@
1
+ import { FluxAlignment, FluxDirection } from '@flux-ui/types';
2
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ readonly direction?: FluxDirection | 'both';
5
+ readonly hasFade?: boolean;
6
+ readonly snap?: 'mandatory' | 'proximity';
7
+ readonly snapAlign?: FluxAlignment;
8
+ readonly tag?: keyof HTMLElementTagNameMap;
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Readonly<{
13
+ default(): VNode[];
14
+ }> & {
15
+ default(): VNode[];
16
+ };
17
+ refs: {
18
+ element: unknown;
19
+ };
20
+ rootEl: any;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
24
+ element: unknown;
25
+ }, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -2,10 +2,7 @@ import { FluxDirection } from '@flux-ui/types';
2
2
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
4
  readonly direction?: FluxDirection;
5
- readonly gap?: number;
6
- readonly isCentered?: boolean;
7
- readonly isFill?: boolean;
8
- readonly isWrapping?: boolean;
5
+ readonly rememberKey?: string;
9
6
  readonly tag?: keyof HTMLElementTagNameMap;
10
7
  };
11
8
  declare function __VLS_template(): {
@@ -15,11 +12,15 @@ declare function __VLS_template(): {
15
12
  }> & {
16
13
  default(): VNode[];
17
14
  };
18
- refs: {};
15
+ refs: {
16
+ container: unknown;
17
+ };
19
18
  rootEl: any;
20
19
  };
21
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
22
+ container: unknown;
23
+ }, any>;
23
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
25
  export default _default;
25
26
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,9 @@
1
1
  import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
- readonly gap?: number;
3
+ readonly defaultSize?: number | string;
4
+ readonly minSize?: number;
5
+ readonly maxSize?: number;
6
+ readonly isResizable?: boolean;
4
7
  };
5
8
  declare function __VLS_template(): {
6
9
  attrs: Partial<{}>;