@voicenter-team/voicenter-ui-plus 0.4.34 → 0.4.35
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/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +1 -1
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +1 -1
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +1 -1
- package/library/types/components/VcTable/VcTable.vue.d.ts +1 -1
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +1 -2
- package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +1 -2
- package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +3 -3
- package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +2 -2
- package/library/types/types/basic.types.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverTriggerType } from '../VcPopover/VcPopover.types';
|
|
2
|
-
declare const _default: <Option extends import("../../types/basic.types").
|
|
2
|
+
declare const _default: <Option extends Partial<import("../../types/basic.types").AnyObject>, ValueKey extends keyof Option | undefined = undefined>(__VLS_props: {
|
|
3
3
|
list?: Option[] | undefined;
|
|
4
4
|
valueKey?: ValueKey | undefined;
|
|
5
5
|
trigger?: PopoverTriggerType | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType } from '../../types/OptionAndConfig.types';
|
|
2
|
-
declare const _default: <Option extends import("../../types/basic.types").
|
|
2
|
+
declare const _default: <Option extends Partial<import("../../types/basic.types").AnyObject>, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>, Multiple extends boolean = false>(__VLS_props: {
|
|
3
3
|
id?: string | undefined;
|
|
4
4
|
modelValue?: (Multiple extends true ? Model[] : Model) | undefined;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
@@ -3,7 +3,7 @@ export type OptionObjectGroupedValueType<Option extends OptionObjectValueType> =
|
|
|
3
3
|
label: string;
|
|
4
4
|
options: Array<Option>;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: <Option extends import("../../types/basic.types").
|
|
6
|
+
declare const _default: <Option extends Partial<import("../../types/basic.types").AnyObject>, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>, Multiple extends boolean = false>(__VLS_props: {
|
|
7
7
|
id?: string | undefined;
|
|
8
8
|
options?: OptionObjectGroupedValueType<Option>[] | undefined;
|
|
9
9
|
modelValue?: (Multiple extends true ? Model[] : Model) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionsColumnType, ColumnType, ColumnTypeItem, ConfigType, Pagination, PaginationProp, SortingOrderDefaultType } from './VcTable.types';
|
|
2
|
-
declare const _default: <Option extends import("../../types/basic.types").
|
|
2
|
+
declare const _default: <Option extends Partial<import("../../types/basic.types").AnyObject>>(__VLS_props: {
|
|
3
3
|
options?: Option[] | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
config?: ConfigType | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ObjectAnyType } from '../../../types/basic.types';
|
|
2
1
|
import { BaseEntityServiceImplements } from '../..';
|
|
3
|
-
declare const _default: <Entity extends BaseEntityServiceImplements, EntityData extends
|
|
2
|
+
declare const _default: <Entity extends BaseEntityServiceImplements, EntityData extends Partial<import('../../../types/basic.types').AnyObject>>(__VLS_props: {
|
|
4
3
|
entity: Entity;
|
|
5
4
|
entityData: EntityData;
|
|
6
5
|
useConfirm?: boolean | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ObjectAnyType } from '../../../types/basic.types';
|
|
2
1
|
import { BaseEntityServiceImplements } from '../..';
|
|
3
|
-
declare const _default: <Entity extends BaseEntityServiceImplements, EntityData extends
|
|
2
|
+
declare const _default: <Entity extends BaseEntityServiceImplements, EntityData extends Partial<import('../../../types/basic.types').AnyObject>>(__VLS_props: {
|
|
4
3
|
label?: string | undefined;
|
|
5
4
|
entity: Entity;
|
|
6
5
|
entityData: EntityData;
|
|
@@ -5,7 +5,7 @@ declare const _default: <Entity extends BaseEntityServiceImplements>(__VLS_props
|
|
|
5
5
|
entityData: ObjectAnyType;
|
|
6
6
|
useConfirm?: boolean | undefined;
|
|
7
7
|
confirmMessage?: string | undefined;
|
|
8
|
-
"onUpdate:status"?: ((entity:
|
|
8
|
+
"onUpdate:status"?: ((entity: Partial<import('../../../types/basic.types').AnyObject>, status: number | undefined) => any) | undefined;
|
|
9
9
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
10
10
|
emit: (e: 'update:status', entity: ObjectAnyType, status: number | undefined) => void;
|
|
11
11
|
attrs: any;
|
|
@@ -18,7 +18,7 @@ declare const _default: <Entity extends BaseEntityServiceImplements>(__VLS_props
|
|
|
18
18
|
entityData: ObjectAnyType;
|
|
19
19
|
useConfirm?: boolean | undefined;
|
|
20
20
|
confirmMessage?: string | undefined;
|
|
21
|
-
"onUpdate:status"?: ((entity:
|
|
21
|
+
"onUpdate:status"?: ((entity: Partial<import('../../../types/basic.types').AnyObject>, status: number | undefined) => any) | undefined;
|
|
22
22
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
23
23
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
24
24
|
attrs: any;
|
|
@@ -35,7 +35,7 @@ declare const _default: <Entity extends BaseEntityServiceImplements>(__VLS_props
|
|
|
35
35
|
entityData: ObjectAnyType;
|
|
36
36
|
useConfirm?: boolean | undefined;
|
|
37
37
|
confirmMessage?: string | undefined;
|
|
38
|
-
"onUpdate:status"?: ((entity:
|
|
38
|
+
"onUpdate:status"?: ((entity: Partial<import('../../../types/basic.types').AnyObject>, status: number | undefined) => any) | undefined;
|
|
39
39
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
40
40
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
41
|
attrs: any;
|
|
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
bottomContentClasses: string;
|
|
15
15
|
label: undefined;
|
|
16
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
save: (payload:
|
|
17
|
+
save: (payload: Partial<import('../../../types/basic.types').AnyObject>) => void;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
19
19
|
hideTopBlock: boolean;
|
|
20
20
|
minifiedView: boolean;
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
bottomContentClasses: string;
|
|
23
23
|
label: undefined;
|
|
24
24
|
}>>> & {
|
|
25
|
-
onSave?: ((payload:
|
|
25
|
+
onSave?: ((payload: Partial<import('../../../types/basic.types').AnyObject>) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
label: string;
|
|
28
28
|
hideTopBlock: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export type
|
|
2
|
-
[key: string]: any
|
|
1
|
+
export type AnyObject = {
|
|
2
|
+
[key: string]: any;
|
|
3
3
|
};
|
|
4
|
+
export type ObjectAnyType = Partial<AnyObject>;
|
|
4
5
|
export type EntityListDataType = ObjectAnyType & {
|
|
5
6
|
editDisabled?: boolean;
|
|
6
7
|
deleteDisabled?: boolean;
|