@finema/core 1.3.2 → 1.3.5

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 (29) hide show
  1. package/README.md +88 -88
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +4 -31
  4. package/dist/runtime/components/Avatar.vue +27 -0
  5. package/dist/runtime/components/Button/Group.vue +31 -31
  6. package/dist/runtime/components/Button/index.vue +17 -17
  7. package/dist/runtime/components/Core.vue +4 -4
  8. package/dist/runtime/components/Dialog/index.vue +63 -63
  9. package/dist/runtime/components/Dropdown/index.vue +80 -0
  10. package/dist/runtime/components/Dropdown/types.d.ts +2 -0
  11. package/dist/runtime/components/Dropdown/types.mjs +17 -0
  12. package/dist/runtime/components/Form/FieldWrapper.vue +10 -10
  13. package/dist/runtime/components/Form/Fields.vue +41 -41
  14. package/dist/runtime/components/Form/InputSelect/SelectMenu.vue +11 -11
  15. package/dist/runtime/components/Form/InputSelect/index.vue +11 -11
  16. package/dist/runtime/components/Form/InputStatic/index.vue +16 -16
  17. package/dist/runtime/components/Form/InputText/index.vue +30 -28
  18. package/dist/runtime/components/Form/InputText/types.d.ts +2 -0
  19. package/dist/runtime/components/Form/InputToggle/index.vue +14 -14
  20. package/dist/runtime/components/Form/index.vue +6 -6
  21. package/dist/runtime/components/Loader.vue +6 -6
  22. package/dist/runtime/components/Modal/index.vue +145 -145
  23. package/dist/runtime/components/Slideover/index.vue +109 -109
  24. package/dist/runtime/components/Table/index.vue +84 -84
  25. package/dist/runtime/types/config.d.ts +1 -1
  26. package/dist/runtime/ui.css +14 -14
  27. package/dist/runtime/utils/lodash.d.ts +109 -29
  28. package/dist/runtime/utils/lodash.mjs +60 -30
  29. package/package.json +79 -79
@@ -1,109 +1,109 @@
1
- <template>
2
- <USlideover
3
- v-bind="attrs"
4
- :model-value="modelValue"
5
- :prevent-close="preventClose"
6
- :overlay="overlay"
7
- :transition="transition"
8
- :side="side"
9
- :initial-focus="emptyFocusRef"
10
- :ui="ui"
11
- @update:model-value="$emit('update:modelValue', $event)"
12
- >
13
- <div v-if="!isHideCloseBtn && preventClose" class="absolute right-0 m-4">
14
- <Icon
15
- v-if="!isHideCloseBtn"
16
- name="i-heroicons-x-mark"
17
- class="h-6 w-6 cursor-pointer"
18
- @click="close"
19
- />
20
- </div>
21
-
22
- <div :class="['overflow-y-auto', ui.bodyWrapper]">
23
- <slot />
24
- </div>
25
- </USlideover>
26
-
27
- <div ref="emptyFocusRef" />
28
- </template>
29
-
30
- <script lang="ts" setup>
31
- import { ref, type PropType, toRef, defineShortcuts, watch } from '#imports'
32
- import type { Strategy } from '#core/types/utils'
33
- import { useUI } from '#ui/composables/useUI'
34
- import { slideover } from '#core/ui.config'
35
- import { useUiConfig } from '#core/composables/useConfig'
36
-
37
- const config = useUiConfig<typeof slideover>(slideover, 'slideover')
38
-
39
- const props = defineProps({
40
- modelValue: {
41
- type: Boolean as PropType<boolean>,
42
- default: false,
43
- },
44
- side: {
45
- type: String as PropType<'left' | 'right'>,
46
- default: 'right',
47
- validator: (value: string) => ['left', 'right'].includes(value),
48
- },
49
- overlay: {
50
- type: Boolean,
51
- default: true,
52
- },
53
- preventClose: {
54
- type: Boolean,
55
- default: false,
56
- },
57
- isHideCloseBtn: {
58
- type: Boolean,
59
- default: false,
60
- },
61
- transition: {
62
- type: Boolean,
63
- default: true,
64
- },
65
- size: {
66
- type: String as PropType<keyof typeof slideover.size>,
67
- default: () => slideover.default.size,
68
- },
69
- class: {
70
- type: [String, Array, Object] as PropType<any>,
71
- default: undefined,
72
- },
73
- ui: {
74
- type: Object as PropType<Partial<typeof config & { strategy?: Strategy }>>,
75
- default: undefined,
76
- },
77
- })
78
-
79
- const emits = defineEmits(['update:modelValue'])
80
-
81
- const emptyFocusRef = ref<HTMLElement | null>(null)
82
-
83
- defineShortcuts({
84
- escape: {
85
- usingInput: true,
86
- handler: () => {
87
- if (props.preventClose) return
88
- emits('update:modelValue', false)
89
- },
90
- },
91
- })
92
-
93
- const close = () => {
94
- emits('update:modelValue', false)
95
- }
96
-
97
- const { ui, attrs } = useUI('slideover', toRef(props, 'ui'), config, toRef(props, 'class'))
98
-
99
- watch(
100
- () => props.modelValue,
101
- () => {
102
- if (props.modelValue) {
103
- const size = config.size[props.size]
104
-
105
- ui.value.width = size
106
- }
107
- }
108
- )
109
- </script>
1
+ <template>
2
+ <USlideover
3
+ v-bind="attrs"
4
+ :model-value="modelValue"
5
+ :prevent-close="preventClose"
6
+ :overlay="overlay"
7
+ :transition="transition"
8
+ :side="side"
9
+ :initial-focus="emptyFocusRef"
10
+ :ui="ui"
11
+ @update:model-value="$emit('update:modelValue', $event)"
12
+ >
13
+ <div v-if="!isHideCloseBtn && preventClose" class="absolute right-0 m-4">
14
+ <Icon
15
+ v-if="!isHideCloseBtn"
16
+ name="i-heroicons-x-mark"
17
+ class="h-6 w-6 cursor-pointer"
18
+ @click="close"
19
+ />
20
+ </div>
21
+
22
+ <div :class="['overflow-y-auto', ui.bodyWrapper]">
23
+ <slot />
24
+ </div>
25
+ </USlideover>
26
+
27
+ <div ref="emptyFocusRef" />
28
+ </template>
29
+
30
+ <script lang="ts" setup>
31
+ import { ref, type PropType, toRef, defineShortcuts, watch } from '#imports'
32
+ import type { Strategy } from '#core/types/utils'
33
+ import { useUI } from '#ui/composables/useUI'
34
+ import { slideover } from '#core/ui.config'
35
+ import { useUiConfig } from '#core/composables/useConfig'
36
+
37
+ const config = useUiConfig<typeof slideover>(slideover, 'slideover')
38
+
39
+ const props = defineProps({
40
+ modelValue: {
41
+ type: Boolean as PropType<boolean>,
42
+ default: false,
43
+ },
44
+ side: {
45
+ type: String as PropType<'left' | 'right'>,
46
+ default: 'right',
47
+ validator: (value: string) => ['left', 'right'].includes(value),
48
+ },
49
+ overlay: {
50
+ type: Boolean,
51
+ default: true,
52
+ },
53
+ preventClose: {
54
+ type: Boolean,
55
+ default: false,
56
+ },
57
+ isHideCloseBtn: {
58
+ type: Boolean,
59
+ default: false,
60
+ },
61
+ transition: {
62
+ type: Boolean,
63
+ default: true,
64
+ },
65
+ size: {
66
+ type: String as PropType<keyof typeof slideover.size>,
67
+ default: () => slideover.default.size,
68
+ },
69
+ class: {
70
+ type: [String, Array, Object] as PropType<any>,
71
+ default: undefined,
72
+ },
73
+ ui: {
74
+ type: Object as PropType<Partial<typeof config & { strategy?: Strategy }>>,
75
+ default: undefined,
76
+ },
77
+ })
78
+
79
+ const emits = defineEmits(['update:modelValue'])
80
+
81
+ const emptyFocusRef = ref<HTMLElement | null>(null)
82
+
83
+ defineShortcuts({
84
+ escape: {
85
+ usingInput: true,
86
+ handler: () => {
87
+ if (props.preventClose) return
88
+ emits('update:modelValue', false)
89
+ },
90
+ },
91
+ })
92
+
93
+ const close = () => {
94
+ emits('update:modelValue', false)
95
+ }
96
+
97
+ const { ui, attrs } = useUI('slideover', toRef(props, 'ui'), config, toRef(props, 'class'))
98
+
99
+ watch(
100
+ () => props.modelValue,
101
+ () => {
102
+ if (props.modelValue) {
103
+ const size = config.size[props.size]
104
+
105
+ ui.value.width = size
106
+ }
107
+ }
108
+ )
109
+ </script>
@@ -1,84 +1,84 @@
1
- <template>
2
- <div>
3
- <div
4
- v-if="!options.isHideToolbar"
5
- class="flex border-b border-gray-200 px-3 py-3.5 dark:border-gray-700"
6
- >
7
- <UInput v-model="q" placeholder="Search..." />
8
- </div>
9
- <UTable
10
- :loading="options.status.isLoading"
11
- :columns="options.columns"
12
- :rows="options.rawData"
13
- v-bind="$attrs"
14
- >
15
- <template #empty-state>
16
- <div class="flex flex-col items-center justify-center gap-3 py-6">
17
- <span class="text-sm italic">No one here!</span>
18
- </div>
19
- </template>
20
- <template
21
- v-for="column in options.columns"
22
- #[`${column.key}-data`]="{ row }"
23
- :key="column.key"
24
- >
25
- <ColumnNumber
26
- v-if="column.type === COLUMN_TYPES.NUMBER"
27
- :value="row[column.key]"
28
- :column="column"
29
- :row="row"
30
- />
31
- <ColumnImage
32
- v-if="column.type === COLUMN_TYPES.IMAGE"
33
- :value="row[column.key]"
34
- :column="column"
35
- :row="row"
36
- />
37
- <template v-else>
38
- <span :title="row[column.key]">{{ row[column.key] ?? '-' }}</span>
39
- </template>
40
- </template>
41
- <template v-for="(_, slot) of $slots" #[slot]="scope">
42
- <slot :name="slot" v-bind="scope" />
43
- </template>
44
- </UTable>
45
- <div class="mt-4 flex justify-end">
46
- <UPagination
47
- v-model="page"
48
- :page-count="options.pageOptions.totalPage"
49
- :total="options.pageOptions.totalCount"
50
- />
51
- </div>
52
- </div>
53
- </template>
54
- <script lang="ts" setup>
55
- import { type PropType } from 'vue'
56
- import { COLUMN_TYPES, type ITableOptions } from '#core/components/Table/types'
57
- import { _debounce, ref, watch } from '#imports'
58
- import ColumnNumber from '#core/components/Table/ColumnNumber.vue'
59
- import ColumnImage from '#core/components/Table/ColumnImage.vue'
60
-
61
- const emits = defineEmits<{
62
- (event: 'pageChange', page: number): void
63
- (event: 'search', q: string): void
64
- }>()
65
-
66
- const props = defineProps({
67
- options: { type: Object as PropType<ITableOptions>, required: true },
68
- })
69
-
70
- const q = ref(props.options?.pageOptions.search ?? '')
71
-
72
- const page = ref(props.options?.pageOptions.currentPage)
73
-
74
- watch(
75
- q,
76
- _debounce((value) => {
77
- emits('search', value)
78
- }, 500)
79
- )
80
-
81
- watch(page, () => {
82
- emits('pageChange', page.value)
83
- })
84
- </script>
1
+ <template>
2
+ <div>
3
+ <div
4
+ v-if="!options.isHideToolbar"
5
+ class="flex border-b border-gray-200 px-3 py-3.5 dark:border-gray-700"
6
+ >
7
+ <UInput v-model="q" placeholder="Search..." />
8
+ </div>
9
+ <UTable
10
+ :loading="options.status.isLoading"
11
+ :columns="options.columns"
12
+ :rows="options.rawData"
13
+ v-bind="$attrs"
14
+ >
15
+ <template #empty-state>
16
+ <div class="flex flex-col items-center justify-center gap-3 py-6">
17
+ <span class="text-sm italic">No one here!</span>
18
+ </div>
19
+ </template>
20
+ <template
21
+ v-for="column in options.columns"
22
+ #[`${column.key}-data`]="{ row }"
23
+ :key="column.key"
24
+ >
25
+ <ColumnNumber
26
+ v-if="column.type === COLUMN_TYPES.NUMBER"
27
+ :value="row[column.key]"
28
+ :column="column"
29
+ :row="row"
30
+ />
31
+ <ColumnImage
32
+ v-if="column.type === COLUMN_TYPES.IMAGE"
33
+ :value="row[column.key]"
34
+ :column="column"
35
+ :row="row"
36
+ />
37
+ <template v-else>
38
+ <span :title="row[column.key]">{{ row[column.key] ?? '-' }}</span>
39
+ </template>
40
+ </template>
41
+ <template v-for="(_, slot) of $slots" #[slot]="scope">
42
+ <slot :name="slot" v-bind="scope" />
43
+ </template>
44
+ </UTable>
45
+ <div class="mt-4 flex justify-end">
46
+ <UPagination
47
+ v-model="page"
48
+ :page-count="options.pageOptions.totalPage"
49
+ :total="options.pageOptions.totalCount"
50
+ />
51
+ </div>
52
+ </div>
53
+ </template>
54
+ <script lang="ts" setup>
55
+ import { type PropType } from 'vue'
56
+ import { COLUMN_TYPES, type ITableOptions } from '#core/components/Table/types'
57
+ import { _debounce, ref, watch } from '#imports'
58
+ import ColumnNumber from '#core/components/Table/ColumnNumber.vue'
59
+ import ColumnImage from '#core/components/Table/ColumnImage.vue'
60
+
61
+ const emits = defineEmits<{
62
+ (event: 'pageChange', page: number): void
63
+ (event: 'search', q: string): void
64
+ }>()
65
+
66
+ const props = defineProps({
67
+ options: { type: Object as PropType<ITableOptions>, required: true },
68
+ })
69
+
70
+ const q = ref(props.options?.pageOptions.search ?? '')
71
+
72
+ const page = ref(props.options?.pageOptions.currentPage)
73
+
74
+ watch(
75
+ q,
76
+ _debounce((value) => {
77
+ emits('search', value)
78
+ }, 500)
79
+ )
80
+
81
+ watch(page, () => {
82
+ emits('pageChange', page.value)
83
+ })
84
+ </script>
@@ -1 +1 @@
1
- export type UIComponentList = 'modal' | 'slideover';
1
+ export type UIComponentList = 'modal' | 'slideover' | 'dropdown';
@@ -1,14 +1,14 @@
1
- :root {
2
- --color-primary-50: 248 248 255;
3
- --color-primary-100: 232 239 253;
4
- --color-primary-200: 190 227 248;
5
- --color-primary-300: 144 205 244;
6
- --color-primary-400: 99 179 237;
7
- --color-primary-500: 54 117 251;
8
- --color-primary-600: 0 104 254;
9
- --color-primary-700: 43 108 176;
10
- --color-primary-800: 44 82 130;
11
- --color-primary-900: 32 36 62;
12
- --color-primary-950: 32 36 62;
13
- --color-primary-DEFAULT: 54 117 251;
14
- }
1
+ :root {
2
+ --color-primary-50: 248 248 255;
3
+ --color-primary-100: 232 239 253;
4
+ --color-primary-200: 190 227 248;
5
+ --color-primary-300: 144 205 244;
6
+ --color-primary-400: 99 179 237;
7
+ --color-primary-500: 54 117 251;
8
+ --color-primary-600: 0 104 254;
9
+ --color-primary-700: 43 108 176;
10
+ --color-primary-800: 44 82 130;
11
+ --color-primary-900: 32 36 62;
12
+ --color-primary-950: 32 36 62;
13
+ --color-primary-DEFAULT: 54 117 251;
14
+ }
@@ -1,30 +1,110 @@
1
- export declare const _get: any;
2
- export declare const _range: any;
3
- export declare const _concat: any;
4
- export declare const _toNumber: any;
5
- export declare const _isUndefined: any;
6
- export declare const _dropRight: any;
7
- export declare const _intersection: any;
8
- export declare const _set: any;
9
- export declare const _map: any;
10
- export declare const _merge: any;
11
- export declare const _flatDeep: any;
12
- export declare const _uniq: any;
13
- export declare const _sortBy: any;
14
- export declare const _uniqBy: any;
15
- export declare const _random: any;
16
- export declare const _cloneDeep: any;
17
- export declare const _isEmpty: any;
18
- export declare const _isObject: any;
19
- export declare const _isArray: any;
20
- export declare const _findIndex: any;
21
- export declare const _isEqual: any;
22
- export declare const _difference: any;
23
- export declare const _shuffle: any;
24
- export declare const _size: any;
25
- export declare const _toPairs: any;
26
- export declare const _orderBy: any;
27
- export declare const _fromPairs: any;
28
- export declare const _xor: any;
1
+ /// <reference types="lodash" />
2
+ /// <reference types="lodash" />
3
+ /// <reference types="lodash" />
4
+ /// <reference types="lodash" />
5
+ /// <reference types="lodash" />
6
+ export declare const _get: {
7
+ <TObject extends object, TKey extends keyof TObject>(object: TObject, path: TKey | [TKey]): TObject[TKey];
8
+ <TObject_1 extends object, TKey_1 extends keyof TObject_1>(object: TObject_1 | null | undefined, path: TKey_1 | [TKey_1]): TObject_1[TKey_1] | undefined;
9
+ <TObject_2 extends object, TKey_2 extends keyof TObject_2, TDefault>(object: TObject_2 | null | undefined, path: TKey_2 | [TKey_2], defaultValue: TDefault): TDefault | Exclude<TObject_2[TKey_2], undefined>;
10
+ <TObject_3 extends object, TKey1 extends keyof TObject_3, TKey2 extends keyof TObject_3[TKey1]>(object: TObject_3, path: [TKey1, TKey2]): TObject_3[TKey1][TKey2];
11
+ <TObject_4 extends object, TKey1_1 extends keyof TObject_4, TKey2_1 extends keyof TObject_4[TKey1_1]>(object: TObject_4 | null | undefined, path: [TKey1_1, TKey2_1]): TObject_4[TKey1_1][TKey2_1] | undefined;
12
+ <TObject_5 extends object, TKey1_2 extends keyof TObject_5, TKey2_2 extends keyof TObject_5[TKey1_2], TDefault_1>(object: TObject_5 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude<TObject_5[TKey1_2][TKey2_2], undefined>;
13
+ <TObject_6 extends object, TKey1_3 extends keyof TObject_6, TKey2_3 extends keyof TObject_6[TKey1_3], TKey3 extends keyof TObject_6[TKey1_3][TKey2_3]>(object: TObject_6, path: [TKey1_3, TKey2_3, TKey3]): TObject_6[TKey1_3][TKey2_3][TKey3];
14
+ <TObject_7 extends object, TKey1_4 extends keyof TObject_7, TKey2_4 extends keyof TObject_7[TKey1_4], TKey3_1 extends keyof TObject_7[TKey1_4][TKey2_4]>(object: TObject_7 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): TObject_7[TKey1_4][TKey2_4][TKey3_1] | undefined;
15
+ <TObject_8 extends object, TKey1_5 extends keyof TObject_8, TKey2_5 extends keyof TObject_8[TKey1_5], TKey3_2 extends keyof TObject_8[TKey1_5][TKey2_5], TDefault_2>(object: TObject_8 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude<TObject_8[TKey1_5][TKey2_5][TKey3_2], undefined>;
16
+ <TObject_9 extends object, TKey1_6 extends keyof TObject_9, TKey2_6 extends keyof TObject_9[TKey1_6], TKey3_3 extends keyof TObject_9[TKey1_6][TKey2_6], TKey4 extends keyof TObject_9[TKey1_6][TKey2_6][TKey3_3]>(object: TObject_9, path: [TKey1_6, TKey2_6, TKey3_3, TKey4]): TObject_9[TKey1_6][TKey2_6][TKey3_3][TKey4];
17
+ <TObject_10 extends object, TKey1_7 extends keyof TObject_10, TKey2_7 extends keyof TObject_10[TKey1_7], TKey3_4 extends keyof TObject_10[TKey1_7][TKey2_7], TKey4_1 extends keyof TObject_10[TKey1_7][TKey2_7][TKey3_4]>(object: TObject_10 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): TObject_10[TKey1_7][TKey2_7][TKey3_4][TKey4_1] | undefined;
18
+ <TObject_11 extends object, TKey1_8 extends keyof TObject_11, TKey2_8 extends keyof TObject_11[TKey1_8], TKey3_5 extends keyof TObject_11[TKey1_8][TKey2_8], TKey4_2 extends keyof TObject_11[TKey1_8][TKey2_8][TKey3_5], TDefault_3>(object: TObject_11 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<TObject_11[TKey1_8][TKey2_8][TKey3_5][TKey4_2], undefined>;
19
+ <T>(object: import("lodash").NumericDictionary<T>, path: number): T;
20
+ <T_1>(object: import("lodash").NumericDictionary<T_1> | null | undefined, path: number): T_1 | undefined;
21
+ <T_2, TDefault_4>(object: import("lodash").NumericDictionary<T_2> | null | undefined, path: number, defaultValue: TDefault_4): T_2 | TDefault_4;
22
+ <TDefault_5>(object: null | undefined, path: import("lodash").PropertyPath, defaultValue: TDefault_5): TDefault_5;
23
+ (object: null | undefined, path: import("lodash").PropertyPath): undefined;
24
+ <TObject_12, TPath extends string>(data: TObject_12, path: TPath): string extends TPath ? any : import("lodash").GetFieldType<TObject_12, TPath>;
25
+ <TObject_13, TPath_1 extends string, TDefault_6 = import("lodash").GetFieldType<TObject_13, TPath_1>>(data: TObject_13, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<import("lodash").GetFieldType<TObject_13, TPath_1>, null | undefined>;
26
+ (object: any, path: import("lodash").PropertyPath, defaultValue?: any): any;
27
+ };
28
+ export declare const _range: {
29
+ (start: number, end?: number | undefined, step?: number | undefined): number[];
30
+ (end: number, index: string | number, guard: object): number[];
31
+ };
32
+ export declare const _concat: <T>(...values: import("lodash").Many<T>[]) => T[];
33
+ export declare const _toNumber: (value: any) => number;
34
+ export declare const _isUndefined: (value: any) => value is undefined;
35
+ export declare const _dropRight: <T>(array: import("lodash").List<T> | null | undefined, n?: number | undefined) => T[];
36
+ export declare const _intersection: <T>(...arrays: (import("lodash").List<T> | null | undefined)[]) => T[];
37
+ export declare const _set: {
38
+ <T extends object>(object: T, path: import("lodash").PropertyPath, value: any): T;
39
+ <TResult>(object: object, path: import("lodash").PropertyPath, value: any): TResult;
40
+ };
41
+ export declare const _map: {
42
+ <T, TResult>(collection: T[] | null | undefined, iteratee: import("lodash").ArrayIterator<T, TResult>): TResult[];
43
+ <T_1, TResult_1>(collection: import("lodash").List<T_1> | null | undefined, iteratee: import("lodash").ListIterator<T_1, TResult_1>): TResult_1[];
44
+ <T_2>(collection: import("lodash").Dictionary<T_2> | import("lodash").NumericDictionary<T_2> | null | undefined): T_2[];
45
+ <T_3 extends object, TResult_2>(collection: T_3 | null | undefined, iteratee: import("lodash").ObjectIterator<T_3, TResult_2>): TResult_2[];
46
+ <T_4, K extends keyof T_4>(collection: import("lodash").Dictionary<T_4> | import("lodash").NumericDictionary<T_4> | null | undefined, iteratee: K): T_4[K][];
47
+ <T_5>(collection: import("lodash").Dictionary<T_5> | import("lodash").NumericDictionary<T_5> | null | undefined, iteratee?: string | undefined): any[];
48
+ <T_6>(collection: import("lodash").Dictionary<T_6> | import("lodash").NumericDictionary<T_6> | null | undefined, iteratee?: object | undefined): boolean[];
49
+ };
50
+ export declare const _merge: {
51
+ <TObject, TSource>(object: TObject, source: TSource): TObject & TSource;
52
+ <TObject_1, TSource1, TSource2>(object: TObject_1, source1: TSource1, source2: TSource2): TObject_1 & TSource1 & TSource2;
53
+ <TObject_2, TSource1_1, TSource2_1, TSource3>(object: TObject_2, source1: TSource1_1, source2: TSource2_1, source3: TSource3): TObject_2 & TSource1_1 & TSource2_1 & TSource3;
54
+ <TObject_3, TSource1_2, TSource2_2, TSource3_1, TSource4>(object: TObject_3, source1: TSource1_2, source2: TSource2_2, source3: TSource3_1, source4: TSource4): TObject_3 & TSource1_2 & TSource2_2 & TSource3_1 & TSource4;
55
+ (object: any, ...otherArgs: any[]): any;
56
+ };
57
+ export declare const _flatDeep: <T>(array: import("lodash").ListOfRecursiveArraysOrValues<T> | null | undefined) => import("lodash").Flat<T>[];
58
+ export declare const _uniq: <T>(array: import("lodash").List<T> | null | undefined) => T[];
59
+ export declare const _sortBy: {
60
+ <T>(collection: import("lodash").List<T> | null | undefined, ...iteratees: import("lodash").Many<import("lodash").ListIteratee<T>>[]): T[];
61
+ <T_1 extends object>(collection: T_1 | null | undefined, ...iteratees: import("lodash").Many<import("lodash").ObjectIteratee<T_1>>[]): T_1[keyof T_1][];
62
+ };
63
+ export declare const _uniqBy: <T>(array: import("lodash").List<T> | null | undefined, iteratee: import("lodash").ValueIteratee<T>) => T[];
64
+ export declare const _random: {
65
+ (floating?: boolean | undefined): number;
66
+ (max: number, floating?: boolean | undefined): number;
67
+ (min: number, max: number, floating?: boolean | undefined): number;
68
+ (min: number, index: string | number, guard: object): number;
69
+ };
70
+ export declare const _cloneDeep: <T>(value: T) => T;
71
+ export declare const _isEmpty: {
72
+ <T extends {
73
+ __trapAny: any;
74
+ }>(value?: T | undefined): boolean;
75
+ (value: string): value is "";
76
+ (value: Map<any, any> | Set<any> | import("lodash").List<any> | null | undefined): boolean;
77
+ (value: object): boolean;
78
+ <T_1 extends object>(value: T_1 | null | undefined): value is import("lodash").EmptyObjectOf<T_1> | null | undefined;
79
+ (value?: any): boolean;
80
+ };
81
+ export declare const _isObject: (value?: any) => value is object;
82
+ export declare const _isArray: {
83
+ (value?: any): value is any[];
84
+ <T>(value?: any): value is any[];
85
+ };
86
+ export declare const _findIndex: <T>(array: import("lodash").List<T> | null | undefined, predicate?: import("lodash").ListIterateeCustom<T, boolean> | undefined, fromIndex?: number | undefined) => number;
87
+ export declare const _isEqual: (value: any, other: any) => boolean;
88
+ export declare const _difference: <T>(array: import("lodash").List<T> | null | undefined, ...values: import("lodash").List<T>[]) => T[];
89
+ export declare const _shuffle: {
90
+ <T>(collection: import("lodash").List<T> | null | undefined): T[];
91
+ <T_1 extends object>(collection: T_1 | null | undefined): T_1[keyof T_1][];
92
+ };
93
+ export declare const _size: (collection: string | object | null | undefined) => number;
94
+ export declare const _toPairs: {
95
+ <T>(object?: import("lodash").Dictionary<T> | import("lodash").NumericDictionary<T> | undefined): [string, T][];
96
+ (object?: object | undefined): [string, any][];
97
+ };
98
+ export declare const _orderBy: {
99
+ <T>(collection: import("lodash").List<T> | null | undefined, iteratees?: import("lodash").Many<import("lodash").ListIterator<T, unknown>> | undefined, orders?: import("lodash").Many<boolean | "asc" | "desc"> | undefined): T[];
100
+ <T_1>(collection: import("lodash").List<T_1> | null | undefined, iteratees?: import("lodash").Many<import("lodash").ListIteratee<T_1>> | undefined, orders?: import("lodash").Many<boolean | "asc" | "desc"> | undefined): T_1[];
101
+ <T_2 extends object>(collection: T_2 | null | undefined, iteratees?: import("lodash").Many<import("lodash").ObjectIterator<T_2, unknown>> | undefined, orders?: import("lodash").Many<boolean | "asc" | "desc"> | undefined): T_2[keyof T_2][];
102
+ <T_3 extends object>(collection: T_3 | null | undefined, iteratees?: import("lodash").Many<import("lodash").ObjectIteratee<T_3>> | undefined, orders?: import("lodash").Many<boolean | "asc" | "desc"> | undefined): T_3[keyof T_3][];
103
+ };
104
+ export declare const _fromPairs: {
105
+ <T>(pairs: import("lodash").List<[import("lodash").PropertyName, T]> | null | undefined): import("lodash").Dictionary<T>;
106
+ (pairs: import("lodash").List<any[]> | null | undefined): import("lodash").Dictionary<any>;
107
+ };
108
+ export declare const _xor: <T>(...arrays: (import("lodash").List<T> | null | undefined)[]) => T[];
29
109
  export declare const _clone: (object: any) => any;
30
- export declare const _debounce: <T extends (...args: any[]) => any>(func: T, wait?: number) => any;
110
+ export declare const _debounce: <T extends (...args: any[]) => any>(func: T, wait?: number) => import("lodash").DebouncedFunc<T>;