@finema/core 3.16.8 → 3.16.10
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/InputSelect/index.vue +2 -0
- package/dist/runtime/components/Form/InputSelect/types.d.ts +1 -0
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue +2 -0
- package/dist/runtime/components/Form/InputSelectMultiple/types.d.ts +1 -0
- package/dist/runtime/components/Table/index.d.vue.ts +0 -2
- package/dist/runtime/components/Table/index.vue +1 -2
- package/dist/runtime/components/Table/index.vue.d.ts +0 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
label-key="label"
|
|
13
13
|
:icon="icon"
|
|
14
14
|
:ui="ui"
|
|
15
|
+
:variant="variant"
|
|
15
16
|
:ignore-filter="ignoreFilter"
|
|
16
17
|
:leading-icon="options.find((item2) => item2.value === value)?.icon"
|
|
17
18
|
:avatar="options.find((item2) => item2.value === value)?.avatar"
|
|
@@ -128,6 +129,7 @@ const props = defineProps({
|
|
|
128
129
|
ignoreFilter: { type: Boolean, required: false },
|
|
129
130
|
trailingIcon: { type: String, required: false },
|
|
130
131
|
clearIcon: { type: String, required: false, default: "ph:x-circle-fill" },
|
|
132
|
+
variant: { type: null, required: false },
|
|
131
133
|
selectedIcon: { type: String, required: false },
|
|
132
134
|
componentPosition: { type: String, required: false, default: "trailing" },
|
|
133
135
|
searchInput: { type: [Object, Boolean], required: false, default: void 0 },
|
|
@@ -12,6 +12,7 @@ export interface ISelectFieldProps extends IFieldProps {
|
|
|
12
12
|
ignoreFilter?: boolean;
|
|
13
13
|
trailingIcon?: string;
|
|
14
14
|
clearIcon?: string;
|
|
15
|
+
variant?: 'outline' | 'soft' | 'subtle' | 'ghost' | 'none' | undefined;
|
|
15
16
|
selectedIcon?: string;
|
|
16
17
|
componentPosition?: 'leading' | 'trailing';
|
|
17
18
|
searchInput?: {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
:selected-icon="selectedIcon"
|
|
12
12
|
value-key="value"
|
|
13
13
|
label-key="label"
|
|
14
|
+
:variant="variant"
|
|
14
15
|
:icon="icon"
|
|
15
16
|
:ui="ui"
|
|
16
17
|
:ignore-filter="ignoreFilter"
|
|
@@ -150,6 +151,7 @@ const props = defineProps({
|
|
|
150
151
|
ignoreFilter: { type: Boolean, required: false },
|
|
151
152
|
trailingIcon: { type: String, required: false },
|
|
152
153
|
clearIcon: { type: String, required: false, default: "ph:x-circle-fill" },
|
|
154
|
+
variant: { type: null, required: false },
|
|
153
155
|
selectedIcon: { type: String, required: false },
|
|
154
156
|
componentPosition: { type: String, required: false, default: "trailing" },
|
|
155
157
|
searchInput: { type: [Object, Boolean], required: false, default: void 0 },
|
|
@@ -19,7 +19,6 @@ type __VLS_Props = {
|
|
|
19
19
|
type __VLS_Slots = Slot;
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
21
|
search: (q: string) => any;
|
|
22
|
-
select: (rows: any[]) => any;
|
|
23
22
|
pageChange: (page: number) => any;
|
|
24
23
|
"update:columnPinning": (value: {
|
|
25
24
|
left: string[];
|
|
@@ -27,7 +26,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
26
|
}) => any;
|
|
28
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
28
|
onSearch?: ((q: string) => any) | undefined;
|
|
30
|
-
onSelect?: ((rows: any[]) => any) | undefined;
|
|
31
29
|
onPageChange?: ((page: number) => any) | undefined;
|
|
32
30
|
"onUpdate:columnPinning"?: ((value: {
|
|
33
31
|
left: string[];
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
:preserve-query="preserveQuery"
|
|
25
25
|
@page-change="onPageChange"
|
|
26
26
|
@search="emits('search', q)"
|
|
27
|
-
@select="emits('select', $event)"
|
|
28
27
|
>
|
|
29
28
|
<template
|
|
30
29
|
v-for="(_, slot) of $slots"
|
|
@@ -44,7 +43,7 @@ import { computed } from "vue";
|
|
|
44
43
|
import { _debounce, ref, useUiConfig, watch } from "#imports";
|
|
45
44
|
import { tableTheme } from "#core/theme/table";
|
|
46
45
|
import Base from "#core/components/Table/Base.vue";
|
|
47
|
-
const emits = defineEmits(["pageChange", "search", "
|
|
46
|
+
const emits = defineEmits(["pageChange", "search", "update:columnPinning"]);
|
|
48
47
|
const props = defineProps({
|
|
49
48
|
options: { type: Object, required: true },
|
|
50
49
|
ui: { type: null, required: false },
|
|
@@ -19,7 +19,6 @@ type __VLS_Props = {
|
|
|
19
19
|
type __VLS_Slots = Slot;
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
21
|
search: (q: string) => any;
|
|
22
|
-
select: (rows: any[]) => any;
|
|
23
22
|
pageChange: (page: number) => any;
|
|
24
23
|
"update:columnPinning": (value: {
|
|
25
24
|
left: string[];
|
|
@@ -27,7 +26,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
26
|
}) => any;
|
|
28
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
28
|
onSearch?: ((q: string) => any) | undefined;
|
|
30
|
-
onSelect?: ((rows: any[]) => any) | undefined;
|
|
31
29
|
onPageChange?: ((page: number) => any) | undefined;
|
|
32
30
|
"onUpdate:columnPinning"?: ((value: {
|
|
33
31
|
left: string[];
|