@finema/core 2.52.1 → 2.52.2
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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
- package/dist/runtime/components/Form/Fields.vue +13 -13
- package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
- package/dist/runtime/components/Form/InputComponent/index.vue +1 -1
- package/dist/runtime/components/Form/InputMonth/index.vue +51 -51
- package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
- package/dist/runtime/components/Form/InputTags/index.vue +23 -23
- package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
- package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
- package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
- package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue +50 -50
- package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
- package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
- package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
- package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
- package/dist/runtime/components/Form/index.vue +5 -5
- package/dist/runtime/components/Image.vue +28 -28
- package/dist/runtime/components/Log/index.vue +17 -17
- package/dist/runtime/components/Table/Base.vue +89 -89
- package/dist/runtime/components/Table/ColumnDate.vue +1 -1
- package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
- package/dist/runtime/components/Table/ColumnImage.vue +4 -4
- package/dist/runtime/components/Table/ColumnText.vue +1 -1
- package/dist/runtime/components/Table/Simple.vue.d.ts +3 -3
- package/dist/runtime/components/Table/index.vue +28 -28
- package/dist/runtime/components/Table/index.vue.d.ts +3 -3
- package/dist/runtime/server/tsconfig.json +3 -3
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { ISimpleTableOptions } from '#core/components/Table/types';
|
|
2
2
|
import type { tableTheme } from '../../theme/table.js';
|
|
3
3
|
import type { TableSlots } from '@nuxt/ui';
|
|
4
|
+
type Slot = TableSlots<any> & {
|
|
5
|
+
error: (props?: Record<string, any>) => any;
|
|
6
|
+
};
|
|
4
7
|
type __VLS_Props = {
|
|
5
8
|
options: ISimpleTableOptions<any>;
|
|
6
9
|
ui?: typeof tableTheme['slots'];
|
|
7
10
|
};
|
|
8
11
|
type __VLS_Slots = Slot;
|
|
9
|
-
type Slot = TableSlots<any> & {
|
|
10
|
-
error: (props?: Record<string, any>) => any;
|
|
11
|
-
};
|
|
12
12
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
14
|
export default _default;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div ref="tableContainer">
|
|
3
|
-
<div
|
|
4
|
-
v-if="options.isEnabledSearch"
|
|
2
|
+
<div ref="tableContainer">
|
|
3
|
+
<div
|
|
4
|
+
v-if="options.isEnabledSearch"
|
|
5
5
|
:class="theme.searchContainer({
|
|
6
6
|
class: [ui?.searchContainer]
|
|
7
|
-
})"
|
|
8
|
-
>
|
|
9
|
-
<Input
|
|
10
|
-
v-model="q"
|
|
11
|
-
icon="i-heroicons-magnifying-glass"
|
|
12
|
-
:placeholder="options.searchPlaceholder || '\u0E04\u0E49\u0E19\u0E2B\u0E32....'"
|
|
13
|
-
/>
|
|
14
|
-
</div>
|
|
15
|
-
<Base
|
|
16
|
-
v-bind="$attrs"
|
|
17
|
-
:options="options"
|
|
18
|
-
@page-change="onPageChange"
|
|
19
|
-
@search="emits('search', q)"
|
|
20
|
-
>
|
|
21
|
-
<template
|
|
22
|
-
v-for="(_, slot) of $slots"
|
|
23
|
-
#[slot]="slotProps"
|
|
24
|
-
>
|
|
25
|
-
<slot
|
|
26
|
-
:name="slot"
|
|
27
|
-
v-bind="slotProps || {}"
|
|
28
|
-
/>
|
|
29
|
-
</template>
|
|
30
|
-
</Base>
|
|
31
|
-
</div>
|
|
7
|
+
})"
|
|
8
|
+
>
|
|
9
|
+
<Input
|
|
10
|
+
v-model="q"
|
|
11
|
+
icon="i-heroicons-magnifying-glass"
|
|
12
|
+
:placeholder="options.searchPlaceholder || '\u0E04\u0E49\u0E19\u0E2B\u0E32....'"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
<Base
|
|
16
|
+
v-bind="$attrs"
|
|
17
|
+
:options="options"
|
|
18
|
+
@page-change="onPageChange"
|
|
19
|
+
@search="emits('search', q)"
|
|
20
|
+
>
|
|
21
|
+
<template
|
|
22
|
+
v-for="(_, slot) of $slots"
|
|
23
|
+
#[slot]="slotProps"
|
|
24
|
+
>
|
|
25
|
+
<slot
|
|
26
|
+
:name="slot"
|
|
27
|
+
v-bind="slotProps || {}"
|
|
28
|
+
/>
|
|
29
|
+
</template>
|
|
30
|
+
</Base>
|
|
31
|
+
</div>
|
|
32
32
|
</template>
|
|
33
33
|
|
|
34
34
|
<script setup>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { TableSlots } from '@nuxt/ui';
|
|
2
2
|
import type { ITableOptions } from '#core/components/Table/types';
|
|
3
3
|
import { tableTheme } from '#core/theme/table';
|
|
4
|
+
type Slot = TableSlots<any> & {
|
|
5
|
+
error: (props?: Record<string, any>) => any;
|
|
6
|
+
};
|
|
4
7
|
type __VLS_Props = {
|
|
5
8
|
options: ITableOptions<any>;
|
|
6
9
|
ui?: typeof tableTheme['slots'];
|
|
7
10
|
};
|
|
8
11
|
type __VLS_Slots = Slot;
|
|
9
|
-
type Slot = TableSlots<any> & {
|
|
10
|
-
error: (props?: Record<string, any>) => any;
|
|
11
|
-
};
|
|
12
12
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
13
|
search: (q: string) => any;
|
|
14
14
|
pageChange: (page: number) => any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/core",
|
|
3
|
-
"version": "2.52.
|
|
3
|
+
"version": "2.52.2",
|
|
4
4
|
"repository": "https://gitlab.finema.co/finema/ui-kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Finema Dev Core Team",
|
|
@@ -91,4 +91,4 @@
|
|
|
91
91
|
"lint-staged": {
|
|
92
92
|
"*": "eslint"
|
|
93
93
|
}
|
|
94
|
-
}
|
|
94
|
+
}
|