@finmars/ui 1.0.47 → 1.0.49

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 (58) hide show
  1. package/dist/finmars-ui.css +1 -1
  2. package/dist/finmars-ui.es.js +8969 -7658
  3. package/dist/src/components/fm/Breadcrumbs/Breadcrumbs.vue.d.ts +9 -0
  4. package/dist/src/components/fm/Breadcrumbs/types.d.ts +7 -0
  5. package/dist/src/components/fm/Checkbox/Checkbox.vue.d.ts +2 -0
  6. package/dist/src/components/fm/Chip/types.d.ts +1 -0
  7. package/dist/src/components/fm/FileUpload/FileUpload.vue.d.ts +1 -1
  8. package/dist/src/components/fm/Filters/Blocks/FilterLinkedBlock/FilterLinkedBlock.vue.d.ts +8 -0
  9. package/dist/src/components/fm/Filters/Blocks/FilterLinkedBlock/types.d.ts +16 -0
  10. package/dist/src/components/fm/Filters/Blocks/FilterOptionListBlock/FilterOptionListBlock.vue.d.ts +19 -0
  11. package/dist/src/components/fm/Filters/Blocks/FilterOptionListBlock/types.d.ts +14 -0
  12. package/dist/src/components/fm/Filters/Blocks/FilterTypeSelectorBlock/FilterTypeSelectorBlock.vue.d.ts +8 -0
  13. package/dist/src/components/fm/Filters/Blocks/FilterTypeSelectorBlock/types.d.ts +8 -0
  14. package/dist/src/components/fm/Filters/FilterEditor/FilterEditor.vue.d.ts +17 -0
  15. package/dist/src/components/fm/Filters/FilterEditor/types.d.ts +18 -0
  16. package/dist/src/components/fm/Filters/FilterToolbar/FilterToolbar.vue.d.ts +10 -0
  17. package/dist/src/components/fm/Filters/FilterToolbar/types.d.ts +27 -0
  18. package/dist/src/components/fm/Filters/FilterTypes/ClassifierFilter/ClassifierFilter.vue.d.ts +19 -0
  19. package/dist/src/components/fm/Filters/FilterTypes/DateFilter/DateFilter.vue.d.ts +19 -0
  20. package/dist/src/components/fm/Filters/FilterTypes/DatetimeFilter/DatetimeFilter.vue.d.ts +19 -0
  21. package/dist/src/components/fm/Filters/FilterTypes/LogicFilter/LogicFilter.vue.d.ts +19 -0
  22. package/dist/src/components/fm/Filters/FilterTypes/NumericFilter/NumericFilter.vue.d.ts +19 -0
  23. package/dist/src/components/fm/Filters/FilterTypes/TextFilter/TextFilter.vue.d.ts +22 -0
  24. package/dist/src/components/fm/Filters/FilterTypes/useFilter.d.ts +12 -0
  25. package/dist/src/components/fm/Filters/constants.d.ts +8 -0
  26. package/dist/src/components/fm/Filters/types.d.ts +17 -0
  27. package/dist/src/components/fm/Filters/utils.d.ts +1 -0
  28. package/dist/src/components/fm/InputDate/InputDate.vue.d.ts +12 -0
  29. package/dist/src/components/fm/InputDate/types.d.ts +14 -0
  30. package/dist/src/components/fm/ItemPicker/ItemPicker/ItemPicker.vue.d.ts +25 -0
  31. package/dist/src/components/fm/ItemPicker/ItemPicker/types.d.ts +25 -0
  32. package/dist/src/components/fm/ItemPicker/ItemPickerContent/ItemPickerContent.vue.d.ts +14 -0
  33. package/dist/src/components/fm/ItemPicker/ItemPickerContent/types.d.ts +21 -0
  34. package/dist/src/components/fm/ItemPicker/ItemPickerGroup/ItemPickerGroup.vue.d.ts +11 -0
  35. package/dist/src/components/fm/ItemPicker/ItemPickerGroup/types.d.ts +14 -0
  36. package/dist/src/components/fm/ItemPicker/ItemPickerItem/ItemPickerItem.vue.d.ts +20 -0
  37. package/dist/src/components/fm/ItemPicker/ItemPickerItem/types.d.ts +12 -0
  38. package/dist/src/components/fm/ItemPicker/ItemPickerList/ItemPickerList.vue.d.ts +7 -0
  39. package/dist/src/components/fm/ItemPicker/ItemPickerList/types.d.ts +9 -0
  40. package/dist/src/components/fm/ItemPicker/ItemPickerSearchResult/ItemPickerSearchResult.vue.d.ts +20 -0
  41. package/dist/src/components/fm/ItemPicker/ItemPickerSearchResult/types.d.ts +13 -0
  42. package/dist/src/components/fm/ItemPicker/utils.d.ts +2 -0
  43. package/dist/src/components/fm/Navigation/NavigationItem.vue.d.ts +2 -2
  44. package/dist/src/components/fm/Search/Search.vue.d.ts +2 -2
  45. package/dist/src/components/fm/Select/types.d.ts +5 -2
  46. package/dist/src/components/fm/Switch/Switch.vue.d.ts +12 -0
  47. package/dist/src/components/fm/TextField/TextField.vue.d.ts +6 -7
  48. package/dist/src/components/fm/TransferList/TransferList.vue.d.ts +19 -0
  49. package/dist/src/components/fm/TransferList/types.d.ts +21 -0
  50. package/dist/src/index.d.ts +21 -3
  51. package/dist/src/types/general.d.ts +28 -0
  52. package/dist/themes.css +1 -1
  53. package/package.json +3 -3
  54. package/dist/src/components/fm/ItemPicker/ItemPicker.vue.d.ts +0 -22
  55. package/dist/src/components/fm/ItemPicker/ItemPickerGroup.vue.d.ts +0 -16
  56. package/dist/src/components/fm/ItemPicker/ItemPickerItem.vue.d.ts +0 -14
  57. package/dist/src/components/fm/ItemPicker/ItemPickerSearchResult.vue.d.ts +0 -20
  58. package/dist/src/components/fm/ItemPicker/useItemPicker.d.ts +0 -17
@@ -0,0 +1,9 @@
1
+ import { FmBreadcrumbProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ updateCrumbs: (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<FmBreadcrumbProps> & Readonly<{
5
+ onUpdateCrumbs?: ((...args: any[]) => any) | undefined;
6
+ }>, {
7
+ crumbs: import('./types').FmBreadcrumbItem[];
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export interface FmBreadcrumbItem {
2
+ title: string;
3
+ path?: string;
4
+ }
5
+ export interface FmBreadcrumbProps {
6
+ crumbs: FmBreadcrumbItem[];
7
+ }
@@ -5,12 +5,14 @@ declare const _default: import('vue').DefineComponent<{}, {
5
5
  indeterminate: boolean;
6
6
  error: boolean;
7
7
  value: boolean;
8
+ label?: string | undefined;
8
9
  $props: {
9
10
  readonly disabled?: boolean | undefined;
10
11
  readonly modelValue?: boolean | undefined;
11
12
  readonly indeterminate?: boolean | undefined;
12
13
  readonly error?: boolean | undefined;
13
14
  readonly value?: boolean | undefined;
15
+ readonly label?: string | undefined;
14
16
  };
15
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
18
  export default _default;
@@ -7,6 +7,7 @@ export interface FmChipProps {
7
7
  location: PlaceLocation;
8
8
  };
9
9
  type?: 'standard' | 'outlined';
10
+ compact?: boolean;
10
11
  prependIcon?: FmComponentIcon | string;
11
12
  appendIcon?: FmComponentIcon | string;
12
13
  closable?: boolean;
@@ -1,8 +1,8 @@
1
1
  import { FmFileUploadProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<FmFileUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FmFileUploadProps> & Readonly<{}>, {
3
3
  icon: string;
4
- indeterminate: boolean;
5
4
  label: string;
5
+ indeterminate: boolean;
6
6
  variant: "normal" | "large";
7
7
  multiple: boolean;
8
8
  dialogTitle: string;
@@ -0,0 +1,8 @@
1
+ import { FmFilterLinkedBlockProps } from './types';
2
+ import { FmFilter } from '../../../../../types';
3
+ declare const _default: import('vue').DefineComponent<FmFilterLinkedBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ update: (value: FmFilter) => any;
5
+ }, string, import('vue').PublicProps, Readonly<FmFilterLinkedBlockProps> & Readonly<{
6
+ onUpdate?: ((value: FmFilter) => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { FmSelectOption } from '../../../Select/types';
2
+ import { FmAttribute, FmFilter } from '../../../../../types';
3
+ export interface FmFilterLinkedBlockProps {
4
+ filter: FmFilter;
5
+ getSourceLinkedGroups: <T extends FmSelectOption>(filter: FmFilter) => Promise<T[]>;
6
+ getSourceLinkedGroupAttributes: (filter: FmFilter) => FmAttribute[];
7
+ locals?: {
8
+ linkedGroupPlaceholder?: string;
9
+ linkedFieldPlaceholder?: string;
10
+ linkedCondition?: string;
11
+ linkedFilterTypePlaceholder?: string;
12
+ };
13
+ }
14
+ export interface FmFilterLinkedBlockEmits {
15
+ (event: 'update', value: FmFilter): void;
16
+ }
@@ -0,0 +1,19 @@
1
+ import { FmSelectOption } from '../../../Select/types';
2
+ import { FmFilterOptionListBlockProps, FmFilterOptionListBlockEmits } from './types';
3
+ declare const _default: <T extends FmSelectOption>(__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<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly onUpdate?: ((value: T[]) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate"> & FmFilterOptionListBlockProps<T>> & import('vue').PublicProps;
7
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
+ attrs: any;
9
+ slots: {};
10
+ emit: FmFilterOptionListBlockEmits<T>;
11
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
+ [key: string]: any;
13
+ }> & {
14
+ __ctx?: Awaited<typeof __VLS_setup>;
15
+ };
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T]: T[K];
19
+ } & {};
@@ -0,0 +1,14 @@
1
+ import { FmSelectOption } from '../../../Select/types';
2
+ export interface FmFilterOptionListBlockProps<T extends FmSelectOption> {
3
+ options: T[];
4
+ selected: T[];
5
+ multiple?: boolean;
6
+ locals?: {
7
+ and?: string;
8
+ search?: string;
9
+ selectAll?: string;
10
+ };
11
+ }
12
+ export interface FmFilterOptionListBlockEmits<T extends FmSelectOption> {
13
+ (event: 'update', value: T[]): void;
14
+ }
@@ -0,0 +1,8 @@
1
+ import { FmFilterTypeSelectorBlockProps } from './types';
2
+ import { FmFilterType } from '../../../../../types';
3
+ declare const _default: import('vue').DefineComponent<FmFilterTypeSelectorBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ update: (value: FmFilterType) => any;
5
+ }, string, import('vue').PublicProps, Readonly<FmFilterTypeSelectorBlockProps> & Readonly<{
6
+ onUpdate?: ((value: FmFilterType) => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { FmFilter, FmFilterType } from '../../../../../types';
2
+ export interface FmFilterTypeSelectorBlockProps {
3
+ filter: FmFilter;
4
+ isFilterLinked?: boolean;
5
+ }
6
+ export interface FmFilterTypeSelectorBlockEmits {
7
+ (event: 'update', value: FmFilterType): void;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { FmFilter } from '../../../../types';
2
+ import { FmFilterEditorProps } from './types';
3
+ declare const _default: import('vue').DefineComponent<FmFilterEditorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ "update:modelValue": (value: FmFilter) => any;
5
+ cancel: () => any;
6
+ }, string, import('vue').PublicProps, Readonly<FmFilterEditorProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: FmFilter) => any) | undefined;
8
+ onCancel?: (() => any) | undefined;
9
+ }>, {
10
+ locals: {
11
+ linkedGroupPlaceholder?: string;
12
+ linkedFieldPlaceholder?: string;
13
+ linkedCondition?: string;
14
+ linkedFilterTypePlaceholder?: string;
15
+ };
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { FmAttribute, FmFilter } from '../../../../types';
2
+ import { FmSelectOption } from '../../Select/types';
3
+ export interface FmFilterEditorProps {
4
+ value?: FmFilter;
5
+ getFilterOptions: <T extends FmSelectOption>(filter: FmFilter) => Promise<T[]>;
6
+ getSourceLinkedGroups: <T extends FmSelectOption>(filter: FmFilter) => Promise<T[]>;
7
+ getSourceLinkedGroupAttributes: (filter: FmFilter) => FmAttribute[];
8
+ locals?: {
9
+ linkedGroupPlaceholder?: string;
10
+ linkedFieldPlaceholder?: string;
11
+ linkedCondition?: string;
12
+ linkedFilterTypePlaceholder?: string;
13
+ };
14
+ }
15
+ export interface FmFilterEditorEmits {
16
+ (event: 'cancel'): void;
17
+ (event: 'update:modelValue', value: FmFilter): void;
18
+ }
@@ -0,0 +1,10 @@
1
+ import { FmFilter } from '../../../../types';
2
+ import { FmtFilterToolbarProps } from './types';
3
+ declare const _default: import('vue').DefineComponent<FmtFilterToolbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ "update:modelValue": (value: FmFilter[]) => any;
5
+ "update:suggested": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<FmtFilterToolbarProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: FmFilter[]) => any) | undefined;
8
+ "onUpdate:suggested"?: ((value: string) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { FmFilter, FmAttribute } from '../../../../types';
2
+ import { FmSelectOption } from '../../Select/types';
3
+ export interface FmFilterAttribute extends FmAttribute {
4
+ value_types: number;
5
+ layout_name?: string;
6
+ }
7
+ export interface FmFilterAttributes {
8
+ title: string;
9
+ selectedAttributes: string[];
10
+ favoriteAttributes: string[];
11
+ attributes: FmFilterAttribute[];
12
+ }
13
+ export interface FmtFilterToolbarProps {
14
+ value: FmFilter[];
15
+ attributes: FmFilterAttribute[];
16
+ suggestedAttrs: string[];
17
+ showLinkedFilters?: boolean;
18
+ getFilterOptions: <T extends FmSelectOption>(filter: FmFilter) => Promise<T[]>;
19
+ getSourceLinkedGroups: <T extends FmSelectOption>(filter: FmFilter) => Promise<T[]>;
20
+ getSourceLinkedGroupAttributes: (filter: FmFilter) => FmAttribute[];
21
+ expandable?: boolean;
22
+ disabled?: boolean;
23
+ }
24
+ export interface FmtFilterToolbarEmits {
25
+ (event: 'update:modelValue', value: FmFilter[]): void;
26
+ (event: 'update:suggested', value: string): void;
27
+ }
@@ -0,0 +1,19 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ update: (value: import('../../../../..').FmFilter) => any;
10
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
11
+ onUpdate?: ((value: import('../../../../..').FmFilter) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ update: (value: import('../../../../../types').FmFilter) => any;
10
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
11
+ onUpdate?: ((value: import('../../../../../types').FmFilter) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ update: (value: import('../../../../..').FmFilter) => any;
10
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
11
+ onUpdate?: ((value: import('../../../../..').FmFilter) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ update: (value: import('../../../../..').FmFilter) => any;
10
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
11
+ onUpdate?: ((value: import('../../../../..').FmFilter) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ update: (value: import('../../../../../types').FmFilter) => any;
10
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
11
+ onUpdate?: ((value: import('../../../../../types').FmFilter) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,22 @@
1
+ import { FmFilterProps, FmFilterSlots } from '../../types';
2
+ import { FmSelectOption } from '../../../Select/types';
3
+ declare function __VLS_template(): {
4
+ slots: Readonly<FmFilterSlots> & FmFilterSlots;
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<FmFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ update: (value: import('../../../../..').FmFilter) => any;
11
+ }, string, import('vue').PublicProps, Readonly<FmFilterProps> & Readonly<{
12
+ onUpdate?: ((value: import('../../../../..').FmFilter) => any) | undefined;
13
+ }>, {
14
+ options: FmSelectOption[];
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,12 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { FmFilterProps } from '../types';
3
+ export default function useFilter(props: FmFilterProps): {
4
+ simpleMode: ComputedRef<boolean>;
5
+ selectorMode: ComputedRef<boolean>;
6
+ rangeMode: ComputedRef<boolean>;
7
+ emptyMode: ComputedRef<boolean>;
8
+ displayValueIfSelect: ComputedRef<{
9
+ value: string;
10
+ tooltip: string;
11
+ }>;
12
+ };
@@ -0,0 +1,8 @@
1
+ import { FmFilterType } from '../../../types';
2
+ import { FmSelectOption } from '../Select/types';
3
+ export declare const FILTER_CONDITIONS: {
4
+ name: string;
5
+ id: FmFilterType;
6
+ availableInFilters: Array<number | 'field'>;
7
+ }[];
8
+ export declare const SELECTORS_BOOLEAN_OPTIONS: FmSelectOption[];
@@ -0,0 +1,17 @@
1
+ import { VNode } from 'vue';
2
+ import { FmFilter, FmFilterRangeValues } from '../../../types';
3
+ import { FmSelectOption } from '../Select/types';
4
+ export interface FmFilterProps {
5
+ filter: FmFilter;
6
+ filterValue: string | string[] | number | number[] | boolean | boolean[] | FmFilterRangeValues;
7
+ options?: FmSelectOption[];
8
+ isFilterLinked?: boolean;
9
+ }
10
+ export interface FmFilterEmits {
11
+ (event: 'update', value: FmFilter): void;
12
+ }
13
+ export interface FmFilterSlots {
14
+ 'type-selector': () => VNode;
15
+ 'option-list': () => VNode;
16
+ linked: () => VNode;
17
+ }
@@ -0,0 +1 @@
1
+ export declare function formatEnteredNumber(value: string): string;
@@ -0,0 +1,12 @@
1
+ import { FmInputDateProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmInputDateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ "update:modelValue": (value: string) => any;
4
+ }, string, import('vue').PublicProps, Readonly<FmInputDateProps> & Readonly<{
5
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
6
+ }>, {
7
+ modelValue: string;
8
+ showAdjacentMonths: boolean;
9
+ allowWeekendSelection: boolean;
10
+ dateFormat: string;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export interface FmInputDateProps {
2
+ modelValue?: string;
3
+ compact?: boolean;
4
+ label?: string;
5
+ placeholder?: string;
6
+ persistentPlaceholder?: boolean;
7
+ dateFormat?: string;
8
+ showAdjacentMonths?: boolean;
9
+ allowWeekendSelection?: boolean;
10
+ disabled?: boolean;
11
+ }
12
+ export interface FmInputDateEmits {
13
+ (event: 'update:modelValue', value: string): void;
14
+ }
@@ -0,0 +1,25 @@
1
+ import { FmItemPickerProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmItemPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ "update:modelValue": (value: string[]) => any;
4
+ close: () => any;
5
+ "update:suggested": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<FmItemPickerProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
8
+ onClose?: (() => any) | undefined;
9
+ "onUpdate:suggested"?: ((value: string) => any) | undefined;
10
+ }>, {
11
+ height: number | string;
12
+ width: number | string;
13
+ locals: {
14
+ searchPlaceholder?: string;
15
+ noResultText?: string;
16
+ searchResultCategoryLabel?: string;
17
+ suggestedLabel?: string;
18
+ selectedLabel?: string;
19
+ cancelBtn?: string;
20
+ addBtn?: string;
21
+ updateBtn?: string;
22
+ };
23
+ mode: "add" | "update";
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ export interface FmItemPickerProps {
3
+ modelValue?: string[];
4
+ attributes?: FmAttribute[];
5
+ suggested?: string[];
6
+ mode?: 'add' | 'update';
7
+ multiple?: boolean;
8
+ width?: number | string;
9
+ height?: number | string;
10
+ locals?: {
11
+ searchPlaceholder?: string;
12
+ noResultText?: string;
13
+ searchResultCategoryLabel?: string;
14
+ suggestedLabel?: string;
15
+ selectedLabel?: string;
16
+ cancelBtn?: string;
17
+ addBtn?: string;
18
+ updateBtn?: string;
19
+ };
20
+ }
21
+ export interface FmItemPickerEmits {
22
+ (event: 'close'): void;
23
+ (event: 'update:suggested', value: string): void;
24
+ (event: 'update:modelValue', value: string[]): void;
25
+ }
@@ -0,0 +1,14 @@
1
+ import { FmItemPickerContentProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmItemPickerContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ "update:modelValue": (value: string) => any;
4
+ "update:suggested": (value: string) => any;
5
+ }, string, import('vue').PublicProps, Readonly<FmItemPickerContentProps> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7
+ "onUpdate:suggested"?: ((value: string) => any) | undefined;
8
+ }>, {
9
+ locals: {
10
+ suggested: string;
11
+ selected: string;
12
+ };
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ export interface FmAttributeGroup {
3
+ [key: string]: FmAttributeGroup | FmAttribute;
4
+ }
5
+ export interface FmItemPickerContentProps {
6
+ category: string;
7
+ attributes?: Record<string, FmAttributeGroup>;
8
+ suggested: string[];
9
+ selected: string[];
10
+ initialSelected: string[];
11
+ multiple?: boolean;
12
+ mode: 'add' | 'update';
13
+ locals?: {
14
+ suggested: string;
15
+ selected: string;
16
+ };
17
+ }
18
+ export interface FmItemPickerContentEmits {
19
+ (event: 'update:suggested', value: string): void;
20
+ (event: 'update:modelValue', value: string): void;
21
+ }
@@ -0,0 +1,11 @@
1
+ import { FmItemPickerGroupProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmItemPickerGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ "update:modelValue": (value: string) => any;
4
+ "update:suggested": (value: string) => any;
5
+ }, string, import('vue').PublicProps, Readonly<FmItemPickerGroupProps> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7
+ "onUpdate:suggested"?: ((value: string) => any) | undefined;
8
+ }>, {
9
+ mode: "add" | "update";
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { FmAttributeGroup } from '../ItemPickerContent/types';
2
+ export interface FmItemPickerGroupProps {
3
+ level: number;
4
+ items: FmAttributeGroup;
5
+ mode: 'add' | 'update';
6
+ selected: string[];
7
+ suggested: string[];
8
+ initialSelected: string[];
9
+ multiple?: boolean;
10
+ }
11
+ export interface FmItemPickerGroupEmits {
12
+ (event: 'update:modelValue', value: string): void;
13
+ (event: 'update:suggested', value: string): void;
14
+ }
@@ -0,0 +1,20 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ import { FmItemPickerItemProps, FmItemPickerItemEmits } from './types';
3
+ declare const _default: <T extends FmAttribute>(__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<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
6
+ readonly "onUpdate:suggested"?: ((value: string) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:suggested"> & FmItemPickerItemProps<T>> & import('vue').PublicProps;
8
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: FmItemPickerItemEmits;
12
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
15
+ __ctx?: Awaited<typeof __VLS_setup>;
16
+ };
17
+ export default _default;
18
+ type __VLS_PrettifyLocal<T> = {
19
+ [K in keyof T]: T[K];
20
+ } & {};
@@ -0,0 +1,12 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ export interface FmItemPickerItemProps<T extends FmAttribute> {
3
+ item: T;
4
+ selected: string[];
5
+ suggested: string[];
6
+ multiple?: boolean;
7
+ disabled?: boolean;
8
+ }
9
+ export interface FmItemPickerItemEmits {
10
+ (event: 'update:modelValue', value: string): void;
11
+ (event: 'update:suggested', value: string): void;
12
+ }
@@ -0,0 +1,7 @@
1
+ import { FmItemPickerListProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<FmItemPickerListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ "select:category": (value: string) => any;
4
+ }, string, import('vue').PublicProps, Readonly<FmItemPickerListProps> & Readonly<{
5
+ "onSelect:category"?: ((value: string) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export interface FmItemPickerListProps {
2
+ categories: string[];
3
+ currentCategory?: string;
4
+ selectedCategoryName: string;
5
+ selectedCount?: number;
6
+ }
7
+ export interface FmItemPickerListEmits {
8
+ (event: 'select:category', value: string): void;
9
+ }
@@ -0,0 +1,20 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ import { FmItemPickerSearchResultProps, FmItemPickerSearchResultEmits } from './types';
3
+ declare const _default: <T extends FmAttribute>(__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<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly onSelect?: ((value: string) => any) | undefined;
6
+ readonly "onAdd:suggested"?: ((value: string) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onAdd:suggested"> & FmItemPickerSearchResultProps<T>> & import('vue').PublicProps;
8
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: FmItemPickerSearchResultEmits;
12
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
15
+ __ctx?: Awaited<typeof __VLS_setup>;
16
+ };
17
+ export default _default;
18
+ type __VLS_PrettifyLocal<T> = {
19
+ [K in keyof T]: T[K];
20
+ } & {};
@@ -0,0 +1,13 @@
1
+ import { FmAttribute } from '../../../../types';
2
+ export interface FmItemPickerSearchResultProps<T extends FmAttribute> {
3
+ searchText?: string;
4
+ items: T[];
5
+ initialSelectedItems: string[];
6
+ selectedItems: string[];
7
+ multiple?: boolean;
8
+ mode: 'add' | 'update';
9
+ }
10
+ export interface FmItemPickerSearchResultEmits {
11
+ (event: 'select', value: string): void;
12
+ (event: 'add:suggested', value: string): void;
13
+ }