@citruslime/ui 4.0.2-beta.9 → 4.1.0-beta.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.
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  required: boolean;
9
9
  disabled?: boolean;
10
10
  rangeSelected?: boolean;
11
+ forceIconDisplay?: boolean;
11
12
  };
12
13
  /**
13
14
  * Focus the input element.
@@ -6,7 +6,11 @@ type __VLS_Props = {
6
6
  searchValue: string;
7
7
  rowIndex: number;
8
8
  };
9
- type __VLS_Slots = Record<string, () => any>;
9
+ type __VLS_Slots = {
10
+ [name: string]: {
11
+ formattedStringContent: string;
12
+ };
13
+ };
10
14
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
16
  export default _default;
@@ -24,6 +24,7 @@ type __VLS_Slots = Record<string, (props: EditCellSlot & {
24
24
  editMode: boolean;
25
25
  }) => any;
26
26
  noData: () => any;
27
+ 'totals-area': () => any;
27
28
  };
28
29
  type __VLS_PublicProps = __VLS_Props & {
29
30
  'selectedRowIndex'?: number | undefined;
@@ -7,11 +7,20 @@ type __VLS_Props = {
7
7
  options: GridConfig;
8
8
  data?: FilterResponse<unknown> | null;
9
9
  };
10
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ type __VLS_Slots = {
11
+ 'totals-area'(): any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
14
  "update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
12
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
16
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
14
17
  }>, {
15
18
  data: FilterResponse<unknown> | null;
16
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
21
  export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -2,6 +2,7 @@ import { type GridColumn, type FilterRequest } from '../types';
2
2
  type __VLS_Props = {
3
3
  columns: GridColumn[];
4
4
  request: FilterRequest;
5
+ loading: boolean;
5
6
  };
6
7
  type __VLS_Slots = {
7
8
  search: (props: {
@@ -108,6 +108,7 @@ export type ColumnSlot = {
108
108
  export type CellSlot = ColumnSlot & {
109
109
  record: Record<string, InputValueType>;
110
110
  searchValue?: string;
111
+ formattedStringContent?: string;
111
112
  };
112
113
  export type EditCellSlot = CellSlot & Partial<{
113
114
  edited: boolean;
@@ -10,6 +10,7 @@ type __VLS_Props = {
10
10
  required?: boolean;
11
11
  quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
12
12
  popoverPlacement?: PopoverPlacement;
13
+ manualDateSelection?: boolean;
13
14
  };
14
15
  type __VLS_Slots = {
15
16
  default: () => any;
@@ -32,6 +33,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
32
33
  timeZone: string | null;
33
34
  popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
34
35
  quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
36
+ manualDateSelection: boolean;
35
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
38
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
39
  export default _default;
@@ -12,6 +12,7 @@ type __VLS_Props = {
12
12
  placeholder?: string | null;
13
13
  popoverPlacement?: PopoverPlacement;
14
14
  showPopover?: boolean;
15
+ forceIconDisplay?: boolean;
15
16
  };
16
17
  type __VLS_Slots = {
17
18
  default: () => any;
@@ -35,6 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
35
36
  disabled: boolean;
36
37
  required: boolean;
37
38
  placeholder: string | null;
39
+ forceIconDisplay: boolean;
38
40
  minDate: string | null;
39
41
  maxDate: string | null;
40
42
  initialCalendarDate: string | null;
@@ -1,8 +1,9 @@
1
1
  import type { SelectItem } from './types';
2
2
  declare const _default: <T extends string | number | boolean | SelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly "onUpdate:modelValue"?: ((value: T | T[] | null | undefined) => any) | undefined;
5
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
4
+ readonly "onUpdate:model-value"?: ((args_0: T | T[] | null | undefined) => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value"> & {
6
+ modelValue: T | T[] | null | undefined;
6
7
  list: T[];
7
8
  required?: boolean;
8
9
  disabled?: boolean;
@@ -11,9 +12,9 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
11
12
  errors?: string[] | null;
12
13
  isGridFilter?: boolean;
13
14
  openDropDownOnFocus?: boolean;
14
- } & {
15
- modelValue: T | T[] | null | undefined;
16
- }) & Partial<{}>> & import("vue").PublicProps;
15
+ allowFiltering?: boolean;
16
+ useListView?: boolean;
17
+ } & Partial<{}>> & import("vue").PublicProps;
17
18
  expose(exposed: import("vue").ShallowUnwrapRef<{
18
19
  focus: () => void;
19
20
  }>): void;
@@ -39,7 +40,7 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
39
40
  label(): any;
40
41
  'help-text'(): any;
41
42
  };
42
- emit: (evt: "update:modelValue", value: T | T[] | null | undefined) => void;
43
+ emit: (evt: "update:model-value", args_0: T | T[] | null | undefined) => void;
43
44
  }>) => import("vue").VNode & {
44
45
  __ctx?: Awaited<typeof __VLS_setup>;
45
46
  };