yc-agent-ui 1.1.0 → 1.1.1
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/es/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +3 -3
- package/es/components/display-item/index.d.ts +3 -3
- package/es/components/display-item/src/index.vue.d.ts +1 -1
- package/es/components/drawer-form/index.d.ts +6 -6
- package/es/components/drawer-form/src/index.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +28 -28
- package/es/components/form/src/form-content.vue.d.ts +7 -7
- package/es/components/form/src/index.vue.d.ts +10 -10
- package/es/components/form-item/index.d.ts +31 -31
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +725 -725
- package/es/components/page/src/index.vue.d.ts +242 -242
- package/es/components/search/index.d.ts +190 -190
- package/es/components/search/src/index.vue.d.ts +64 -64
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +10 -10
- package/es/components/virtual-table/index.d.ts +10 -10
- package/es/components/virtual-table/src/index.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +742 -742
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +18 -18
- package/es/index.css +15 -15
- package/es/packages/components/chart/index.mjs +36 -36
- package/es/packages/components/utils/index.mjs +1 -1
- package/es/packages/registry/load.mjs +21 -5
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +5 -5
- package/index.js +64249 -62417
- package/index.min.css +5 -5
- package/index.min.js +32 -32
- package/index.min.mjs +26 -26
- package/index.mjs +64236 -62404
- package/lib/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +3 -3
- package/lib/components/display-item/index.d.ts +3 -3
- package/lib/components/display-item/src/index.vue.d.ts +1 -1
- package/lib/components/drawer-form/index.d.ts +6 -6
- package/lib/components/drawer-form/src/index.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +28 -28
- package/lib/components/form/src/form-content.vue.d.ts +7 -7
- package/lib/components/form/src/index.vue.d.ts +10 -10
- package/lib/components/form-item/index.d.ts +31 -31
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +725 -725
- package/lib/components/page/src/index.vue.d.ts +242 -242
- package/lib/components/search/index.d.ts +190 -190
- package/lib/components/search/src/index.vue.d.ts +64 -64
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +10 -10
- package/lib/components/virtual-table/index.d.ts +10 -10
- package/lib/components/virtual-table/src/index.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +742 -742
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +18 -18
- package/lib/index.css +14 -14
- package/lib/packages/registry/load.js +21 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +5 -5
|
@@ -162,8 +162,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
162
162
|
column: PlusColumn;
|
|
163
163
|
row: RecordType;
|
|
164
164
|
index: number;
|
|
165
|
-
formProps: PlusFormProps;
|
|
166
165
|
rest: RecordType;
|
|
166
|
+
formProps: PlusFormProps;
|
|
167
167
|
editable: boolean | "click" | "dblclick";
|
|
168
168
|
}> & Omit<{
|
|
169
169
|
readonly onChange?: ((data: {
|
|
@@ -171,7 +171,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
171
171
|
prop: string;
|
|
172
172
|
row: RecordType;
|
|
173
173
|
}) => any) | undefined;
|
|
174
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
174
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
|
|
175
175
|
$attrs: Attrs;
|
|
176
176
|
$refs: {
|
|
177
177
|
[x: string]: unknown;
|
|
@@ -215,8 +215,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
215
215
|
column: PlusColumn;
|
|
216
216
|
row: RecordType;
|
|
217
217
|
index: number;
|
|
218
|
-
formProps: PlusFormProps;
|
|
219
218
|
rest: RecordType;
|
|
219
|
+
formProps: PlusFormProps;
|
|
220
220
|
editable: boolean | "click" | "dblclick";
|
|
221
221
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
222
222
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -242,8 +242,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
242
242
|
column: PlusColumn;
|
|
243
243
|
row: RecordType;
|
|
244
244
|
index: number;
|
|
245
|
-
formProps: PlusFormProps;
|
|
246
245
|
rest: RecordType;
|
|
246
|
+
formProps: PlusFormProps;
|
|
247
247
|
editable: boolean | "click" | "dblclick";
|
|
248
248
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
249
249
|
onChange?: ((data: {
|
|
@@ -251,7 +251,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
251
251
|
prop: string;
|
|
252
252
|
row: RecordType;
|
|
253
253
|
}) => any) | undefined;
|
|
254
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
254
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
|
|
255
255
|
startCellEdit: () => void;
|
|
256
256
|
stopCellEdit: () => void;
|
|
257
257
|
getDisplayItemInstance: () => {
|
|
@@ -622,8 +622,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
622
622
|
column: PlusColumn;
|
|
623
623
|
row: RecordType;
|
|
624
624
|
index: number;
|
|
625
|
-
formProps: PlusFormProps;
|
|
626
625
|
rest: RecordType;
|
|
626
|
+
formProps: PlusFormProps;
|
|
627
627
|
editable: boolean | "click" | "dblclick";
|
|
628
628
|
}> & Omit<{
|
|
629
629
|
readonly onChange?: ((data: {
|
|
@@ -631,7 +631,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
631
631
|
prop: string;
|
|
632
632
|
row: RecordType;
|
|
633
633
|
}) => any) | undefined;
|
|
634
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
634
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
|
|
635
635
|
$attrs: Attrs;
|
|
636
636
|
$refs: {
|
|
637
637
|
[x: string]: unknown;
|
|
@@ -675,8 +675,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
675
675
|
column: PlusColumn;
|
|
676
676
|
row: RecordType;
|
|
677
677
|
index: number;
|
|
678
|
-
formProps: PlusFormProps;
|
|
679
678
|
rest: RecordType;
|
|
679
|
+
formProps: PlusFormProps;
|
|
680
680
|
editable: boolean | "click" | "dblclick";
|
|
681
681
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
682
682
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -702,8 +702,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
702
702
|
column: PlusColumn;
|
|
703
703
|
row: RecordType;
|
|
704
704
|
index: number;
|
|
705
|
-
formProps: PlusFormProps;
|
|
706
705
|
rest: RecordType;
|
|
706
|
+
formProps: PlusFormProps;
|
|
707
707
|
editable: boolean | "click" | "dblclick";
|
|
708
708
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
709
709
|
onChange?: ((data: {
|
|
@@ -711,7 +711,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
711
711
|
prop: string;
|
|
712
712
|
row: RecordType;
|
|
713
713
|
}) => any) | undefined;
|
|
714
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
714
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
|
|
715
715
|
startCellEdit: () => void;
|
|
716
716
|
stopCellEdit: () => void;
|
|
717
717
|
getDisplayItemInstance: () => {
|
|
@@ -2,7 +2,7 @@ import { default as _VirtualTable } from './src/index.vue';
|
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, ComputedRef, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
3
|
import { RecordType, PageInfo, PlusColumn } from '../../types';
|
|
4
4
|
import { VirtualTableColumn } from './src/type';
|
|
5
|
-
import { ButtonsCallBackParams,
|
|
5
|
+
import { ButtonsCallBackParams, PlusPaginationProps, ActionBarProps } from '../../agent-ui';
|
|
6
6
|
import { TableV2Instance, ComponentSize } from 'element-plus';
|
|
7
7
|
|
|
8
8
|
export type PlusVirtualTableInstance = InstanceType<typeof _VirtualTable>;
|
|
@@ -46,17 +46,17 @@ export declare const PlusVirtualTable: {
|
|
|
46
46
|
fixed: boolean;
|
|
47
47
|
border: boolean;
|
|
48
48
|
columns: PlusColumn[];
|
|
49
|
-
scrollbarAlwaysOn: boolean;
|
|
50
49
|
rowKey: string;
|
|
51
|
-
|
|
50
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
52
51
|
stripe: boolean;
|
|
52
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
53
|
+
scrollbarAlwaysOn: boolean;
|
|
53
54
|
titleBar: boolean | {
|
|
54
55
|
title?: string;
|
|
55
56
|
refresh?: boolean;
|
|
56
57
|
};
|
|
57
58
|
defaultSize: ComponentSize;
|
|
58
59
|
tableData: RecordType[];
|
|
59
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
60
60
|
hasIndexColumn: boolean;
|
|
61
61
|
isSelection: boolean;
|
|
62
62
|
loadingStatus: boolean;
|
|
@@ -99,17 +99,17 @@ export declare const PlusVirtualTable: {
|
|
|
99
99
|
fixed: boolean;
|
|
100
100
|
border: boolean;
|
|
101
101
|
columns: PlusColumn[];
|
|
102
|
-
scrollbarAlwaysOn: boolean;
|
|
103
102
|
rowKey: string;
|
|
104
|
-
|
|
103
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
105
104
|
stripe: boolean;
|
|
105
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
106
|
+
scrollbarAlwaysOn: boolean;
|
|
106
107
|
titleBar: boolean | {
|
|
107
108
|
title?: string;
|
|
108
109
|
refresh?: boolean;
|
|
109
110
|
};
|
|
110
111
|
defaultSize: ComponentSize;
|
|
111
112
|
tableData: RecordType[];
|
|
112
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
113
113
|
hasIndexColumn: boolean;
|
|
114
114
|
isSelection: boolean;
|
|
115
115
|
loadingStatus: boolean;
|
|
@@ -162,17 +162,17 @@ export declare const PlusVirtualTable: {
|
|
|
162
162
|
fixed: boolean;
|
|
163
163
|
border: boolean;
|
|
164
164
|
columns: PlusColumn[];
|
|
165
|
-
scrollbarAlwaysOn: boolean;
|
|
166
165
|
rowKey: string;
|
|
167
|
-
|
|
166
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
168
167
|
stripe: boolean;
|
|
168
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
169
|
+
scrollbarAlwaysOn: boolean;
|
|
169
170
|
titleBar: boolean | {
|
|
170
171
|
title?: string;
|
|
171
172
|
refresh?: boolean;
|
|
172
173
|
};
|
|
173
174
|
defaultSize: ComponentSize;
|
|
174
175
|
tableData: RecordType[];
|
|
175
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
176
176
|
hasIndexColumn: boolean;
|
|
177
177
|
isSelection: boolean;
|
|
178
178
|
loadingStatus: boolean;
|
|
@@ -50,17 +50,17 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
50
50
|
fixed: boolean;
|
|
51
51
|
border: boolean;
|
|
52
52
|
columns: PlusColumn[];
|
|
53
|
-
scrollbarAlwaysOn: boolean;
|
|
54
53
|
rowKey: string;
|
|
55
|
-
|
|
54
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
56
55
|
stripe: boolean;
|
|
56
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
57
|
+
scrollbarAlwaysOn: boolean;
|
|
57
58
|
titleBar: boolean | {
|
|
58
59
|
title?: string;
|
|
59
60
|
refresh?: boolean;
|
|
60
61
|
};
|
|
61
62
|
defaultSize: ComponentSize;
|
|
62
63
|
tableData: RecordType[];
|
|
63
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
64
64
|
hasIndexColumn: boolean;
|
|
65
65
|
isSelection: boolean;
|
|
66
66
|
loadingStatus: boolean;
|
|
@@ -42,10 +42,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
42
42
|
caption: string;
|
|
43
43
|
columns: TableColumn[];
|
|
44
44
|
selectable: boolean;
|
|
45
|
-
striped: boolean;
|
|
46
45
|
rowKey: string;
|
|
47
|
-
density: TableDensity;
|
|
48
46
|
selection: any[];
|
|
47
|
+
striped: boolean;
|
|
48
|
+
density: TableDensity;
|
|
49
49
|
variant: TableVariant;
|
|
50
50
|
hoverable: boolean;
|
|
51
51
|
bordered: boolean;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
9
9
|
onSort?: ((order: "ascending" | "descending" | null) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
align: TableAlign;
|
|
12
|
-
sortable: boolean;
|
|
13
12
|
sortOrder: TableSortOrder;
|
|
13
|
+
sortable: boolean;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
16
|
export default _default;
|
|
@@ -13,8 +13,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
13
13
|
mode: DatePickerMode;
|
|
14
14
|
size: "small" | "default" | "large";
|
|
15
15
|
placeholder: string;
|
|
16
|
-
format: string;
|
|
17
16
|
clearable: boolean;
|
|
17
|
+
format: string;
|
|
18
18
|
rangeSeparator: string;
|
|
19
19
|
startPlaceholder: string;
|
|
20
20
|
endPlaceholder: string;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
35
35
|
monospace: boolean;
|
|
36
36
|
required: boolean;
|
|
37
37
|
modelValue: string | number;
|
|
38
|
-
readonly: boolean;
|
|
39
38
|
clearable: boolean;
|
|
39
|
+
readonly: boolean;
|
|
40
40
|
showPassword: boolean;
|
|
41
41
|
variant: YcInputVariant;
|
|
42
42
|
showCount: boolean;
|
|
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
17
17
|
placeholder: string;
|
|
18
18
|
required: boolean;
|
|
19
19
|
modelValue: number | string | null;
|
|
20
|
-
readonly: boolean;
|
|
21
20
|
clearable: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
22
|
variant: YcInputVariant;
|
|
23
23
|
currency: string;
|
|
24
24
|
unit: string;
|
|
@@ -7,29 +7,29 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
7
7
|
column: PlusColumn;
|
|
8
8
|
op: string;
|
|
9
9
|
}) => void;
|
|
10
|
+
sortChange: (payload: {
|
|
11
|
+
field: string;
|
|
12
|
+
direction?: "asc" | "desc";
|
|
13
|
+
}) => void;
|
|
10
14
|
confirm: (payload: {
|
|
11
15
|
column: PlusColumn;
|
|
12
16
|
op: string;
|
|
13
17
|
value?: string;
|
|
14
18
|
}) => void;
|
|
15
|
-
sortChange: (payload: {
|
|
16
|
-
field: string;
|
|
17
|
-
direction?: "asc" | "desc";
|
|
18
|
-
}) => void;
|
|
19
19
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
20
20
|
onReset?: ((payload: {
|
|
21
21
|
column: PlusColumn;
|
|
22
22
|
op: string;
|
|
23
23
|
}) => any) | undefined;
|
|
24
|
+
onSortChange?: ((payload: {
|
|
25
|
+
field: string;
|
|
26
|
+
direction?: "asc" | "desc";
|
|
27
|
+
}) => any) | undefined;
|
|
24
28
|
onConfirm?: ((payload: {
|
|
25
29
|
column: PlusColumn;
|
|
26
30
|
op: string;
|
|
27
31
|
value?: string;
|
|
28
32
|
}) => any) | undefined;
|
|
29
|
-
onSortChange?: ((payload: {
|
|
30
|
-
field: string;
|
|
31
|
-
direction?: "asc" | "desc";
|
|
32
|
-
}) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
filters: FilterItem[];
|
|
35
35
|
operators: OperatorOption[];
|