yc-agent-ui 1.0.0 → 1.1.0
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/README.md +22 -0
- 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/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +10 -10
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +36 -36
- package/es/components/form/src/form-content.vue.d.ts +15 -15
- package/es/components/form/src/index.vue.d.ts +18 -18
- package/es/components/form-item/index.d.ts +37 -37
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- package/es/components/index.d.ts +4 -0
- package/es/components/page/index.d.ts +897 -897
- package/es/components/page/src/index.vue.d.ts +302 -302
- package/es/components/search/index.d.ts +242 -242
- package/es/components/search/src/index.vue.d.ts +84 -84
- 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 +24 -24
- 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-controls/capability.d.ts +4 -0
- package/es/components/yc-controls/index.d.ts +17 -0
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +16 -0
- package/es/components/yc-controls/src/segmented.vue.d.ts +16 -0
- package/es/components/yc-controls/src/switch-row.vue.d.ts +13 -0
- package/es/components/yc-controls/src/type.d.ts +39 -0
- 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-feedback/capability.d.ts +4 -0
- package/es/components/yc-feedback/index.d.ts +21 -0
- package/es/components/yc-feedback/src/banner.vue.d.ts +22 -0
- package/es/components/yc-feedback/src/empty-state.vue.d.ts +20 -0
- package/es/components/yc-feedback/src/key-value-list.vue.d.ts +22 -0
- package/es/components/yc-feedback/src/timeline.vue.d.ts +7 -0
- package/es/components/yc-feedback/src/type.d.ts +46 -0
- package/es/components/yc-input/capability.d.ts +4 -0
- package/es/components/yc-input/index.d.ts +21 -0
- package/es/components/yc-input/src/input.vue.d.ts +50 -0
- package/es/components/yc-input/src/money-input.vue.d.ts +26 -0
- package/es/components/yc-input/src/stepper-input.vue.d.ts +18 -0
- package/es/components/yc-input/src/textarea.vue.d.ts +35 -0
- package/es/components/yc-input/src/type.d.ts +82 -0
- 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 +917 -917
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/capability.d.ts +4 -0
- package/es/components/yc-property-table/index.d.ts +30 -0
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +17 -0
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +18 -0
- package/es/components/yc-property-table/src/device-table.vue.d.ts +17 -0
- package/es/components/yc-property-table/src/order-table.vue.d.ts +18 -0
- package/es/components/yc-property-table/src/property-table.vue.d.ts +91 -0
- package/es/components/yc-property-table/src/type.d.ts +214 -0
- 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 +66 -66
- package/es/index.css +9 -9
- package/es/index.mjs +4 -0
- package/es/packages/components/index.mjs +4 -0
- package/es/packages/components/table/capability.mjs +10 -29
- package/es/packages/components/yc-card/capability.mjs +53 -13
- package/es/packages/components/yc-controls/capability.mjs +100 -0
- package/es/packages/components/yc-controls/index.mjs +13 -0
- package/es/packages/components/yc-controls/src/choice-cards.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/choice-cards2.vue.mjs +157 -0
- package/es/packages/components/yc-controls/src/segmented.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/segmented2.vue.mjs +78 -0
- package/es/packages/components/yc-controls/src/switch-row.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/switch-row2.vue.mjs +95 -0
- package/es/packages/components/yc-controls/src/type.mjs +1 -0
- package/es/packages/components/yc-feedback/capability.mjs +109 -0
- package/es/packages/components/yc-feedback/index.mjs +16 -0
- package/es/packages/components/yc-feedback/src/banner.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/banner2.vue.mjs +230 -0
- package/es/packages/components/yc-feedback/src/empty-state.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/empty-state2.vue.mjs +97 -0
- package/es/packages/components/yc-feedback/src/key-value-list.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/key-value-list2.vue.mjs +194 -0
- package/es/packages/components/yc-feedback/src/timeline.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/timeline2.vue.mjs +134 -0
- package/es/packages/components/yc-feedback/src/type.mjs +1 -0
- package/es/packages/components/yc-input/capability.mjs +112 -0
- package/es/packages/components/yc-input/index.mjs +16 -0
- package/es/packages/components/yc-input/src/input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/input2.vue.mjs +427 -0
- package/es/packages/components/yc-input/src/money-input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/money-input2.vue.mjs +242 -0
- package/es/packages/components/yc-input/src/stepper-input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/stepper-input2.vue.mjs +211 -0
- package/es/packages/components/yc-input/src/textarea.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/textarea2.vue.mjs +158 -0
- package/es/packages/components/yc-input/src/type.mjs +1 -0
- package/es/packages/components/yc-property-table/capability.mjs +350 -0
- package/es/packages/components/yc-property-table/index.mjs +24 -0
- package/es/packages/components/yc-property-table/src/asset-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/asset-table2.vue.mjs +405 -0
- package/es/packages/components/yc-property-table/src/bill-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/bill-table2.vue.mjs +654 -0
- package/es/packages/components/yc-property-table/src/device-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/device-table2.vue.mjs +324 -0
- package/es/packages/components/yc-property-table/src/order-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/order-table2.vue.mjs +363 -0
- package/es/packages/components/yc-property-table/src/property-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/property-table2.vue.mjs +1228 -0
- package/es/packages/components/yc-property-table/src/type.mjs +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +6385 -1362
- package/index.min.js +24 -24
- package/index.min.mjs +26 -26
- package/index.mjs +6341 -1355
- 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/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +10 -10
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +36 -36
- package/lib/components/form/src/form-content.vue.d.ts +15 -15
- package/lib/components/form/src/index.vue.d.ts +18 -18
- package/lib/components/form-item/index.d.ts +37 -37
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- package/lib/components/index.d.ts +4 -0
- package/lib/components/page/index.d.ts +897 -897
- package/lib/components/page/src/index.vue.d.ts +302 -302
- package/lib/components/search/index.d.ts +242 -242
- package/lib/components/search/src/index.vue.d.ts +84 -84
- 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 +24 -24
- 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-controls/capability.d.ts +4 -0
- package/lib/components/yc-controls/index.d.ts +17 -0
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +16 -0
- package/lib/components/yc-controls/src/segmented.vue.d.ts +16 -0
- package/lib/components/yc-controls/src/switch-row.vue.d.ts +13 -0
- package/lib/components/yc-controls/src/type.d.ts +39 -0
- 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-feedback/capability.d.ts +4 -0
- package/lib/components/yc-feedback/index.d.ts +21 -0
- package/lib/components/yc-feedback/src/banner.vue.d.ts +22 -0
- package/lib/components/yc-feedback/src/empty-state.vue.d.ts +20 -0
- package/lib/components/yc-feedback/src/key-value-list.vue.d.ts +22 -0
- package/lib/components/yc-feedback/src/timeline.vue.d.ts +7 -0
- package/lib/components/yc-feedback/src/type.d.ts +46 -0
- package/lib/components/yc-input/capability.d.ts +4 -0
- package/lib/components/yc-input/index.d.ts +21 -0
- package/lib/components/yc-input/src/input.vue.d.ts +50 -0
- package/lib/components/yc-input/src/money-input.vue.d.ts +26 -0
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +18 -0
- package/lib/components/yc-input/src/textarea.vue.d.ts +35 -0
- package/lib/components/yc-input/src/type.d.ts +82 -0
- 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 +917 -917
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/capability.d.ts +4 -0
- package/lib/components/yc-property-table/index.d.ts +30 -0
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +17 -0
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +18 -0
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +17 -0
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +18 -0
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +91 -0
- package/lib/components/yc-property-table/src/type.d.ts +214 -0
- 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 +66 -66
- package/lib/index.css +11 -11
- package/lib/index.js +176 -135
- package/lib/packages/components/index.js +172 -131
- package/lib/packages/components/table/capability.js +10 -29
- package/lib/packages/components/yc-card/capability.js +53 -13
- package/lib/packages/components/yc-controls/capability.js +104 -0
- package/lib/packages/components/yc-controls/index.js +23 -0
- package/lib/packages/components/yc-controls/src/choice-cards.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/choice-cards2.vue.js +161 -0
- package/lib/packages/components/yc-controls/src/segmented.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/segmented2.vue.js +82 -0
- package/lib/packages/components/yc-controls/src/switch-row.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/switch-row2.vue.js +99 -0
- package/lib/packages/components/yc-controls/src/type.js +2 -0
- package/lib/packages/components/yc-feedback/capability.js +113 -0
- package/lib/packages/components/yc-feedback/index.js +28 -0
- package/lib/packages/components/yc-feedback/src/banner.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/banner2.vue.js +234 -0
- package/lib/packages/components/yc-feedback/src/empty-state.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/empty-state2.vue.js +101 -0
- package/lib/packages/components/yc-feedback/src/key-value-list.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/key-value-list2.vue.js +198 -0
- package/lib/packages/components/yc-feedback/src/timeline.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/timeline2.vue.js +138 -0
- package/lib/packages/components/yc-feedback/src/type.js +2 -0
- package/lib/packages/components/yc-input/capability.js +116 -0
- package/lib/packages/components/yc-input/index.js +28 -0
- package/lib/packages/components/yc-input/src/input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/input2.vue.js +431 -0
- package/lib/packages/components/yc-input/src/money-input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/money-input2.vue.js +246 -0
- package/lib/packages/components/yc-input/src/stepper-input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/stepper-input2.vue.js +215 -0
- package/lib/packages/components/yc-input/src/textarea.vue.js +9 -0
- package/lib/packages/components/yc-input/src/textarea2.vue.js +162 -0
- package/lib/packages/components/yc-input/src/type.js +2 -0
- package/lib/packages/components/yc-property-table/capability.js +354 -0
- package/lib/packages/components/yc-property-table/index.js +43 -0
- package/lib/packages/components/yc-property-table/src/asset-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/asset-table2.vue.js +409 -0
- package/lib/packages/components/yc-property-table/src/bill-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/bill-table2.vue.js +658 -0
- package/lib/packages/components/yc-property-table/src/device-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/device-table2.vue.js +328 -0
- package/lib/packages/components/yc-property-table/src/order-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/order-table2.vue.js +367 -0
- package/lib/packages/components/yc-property-table/src/property-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/property-table2.vue.js +1232 -0
- package/lib/packages/components/yc-property-table/src/type.js +2 -0
- 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 +1 -1
- package/theme-chalk/plus-yc-controls.css +1 -0
- package/theme-chalk/plus-yc-feedback.css +1 -0
- package/theme-chalk/plus-yc-input.css +1 -0
- package/theme-chalk/plus-yc-property-table.css +1 -0
- package/theme-chalk/src/index.scss +4 -0
- package/theme-chalk/src/yc-controls.scss +316 -0
- package/theme-chalk/src/yc-feedback.scss +452 -0
- package/theme-chalk/src/yc-input.scss +473 -0
- package/theme-chalk/src/yc-property-table.scss +1700 -0
|
@@ -41,8 +41,6 @@ export declare const PlusTable: {
|
|
|
41
41
|
}, PublicProps, {
|
|
42
42
|
data: RecordType[];
|
|
43
43
|
columns: PlusColumn[];
|
|
44
|
-
rowKey: string | ((row: any[]) => string);
|
|
45
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
46
44
|
editable: boolean | "click" | "dblclick";
|
|
47
45
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
48
46
|
row: any[];
|
|
@@ -50,6 +48,7 @@ export declare const PlusTable: {
|
|
|
50
48
|
column: TableColumnCtx<any[]>;
|
|
51
49
|
columnIndex: number;
|
|
52
50
|
}) => CSSProperties>;
|
|
51
|
+
rowKey: string | ((row: any[]) => string);
|
|
53
52
|
actionBar: false | Partial< ActionBarProps>;
|
|
54
53
|
indexTableColumnProps: TableColumn;
|
|
55
54
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -66,6 +65,7 @@ export declare const PlusTable: {
|
|
|
66
65
|
}>>;
|
|
67
66
|
defaultSize: ComponentSize;
|
|
68
67
|
tableData: RecordType[];
|
|
68
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
69
69
|
hasIndexColumn: boolean;
|
|
70
70
|
isSelection: boolean | "radio";
|
|
71
71
|
isRadio: boolean;
|
|
@@ -109,8 +109,6 @@ export declare const PlusTable: {
|
|
|
109
109
|
}, {}, {}, {}, {
|
|
110
110
|
data: RecordType[];
|
|
111
111
|
columns: PlusColumn[];
|
|
112
|
-
rowKey: string | ((row: any[]) => string);
|
|
113
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
114
112
|
editable: boolean | "click" | "dblclick";
|
|
115
113
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
116
114
|
row: any[];
|
|
@@ -118,6 +116,7 @@ export declare const PlusTable: {
|
|
|
118
116
|
column: TableColumnCtx<any[]>;
|
|
119
117
|
columnIndex: number;
|
|
120
118
|
}) => CSSProperties>;
|
|
119
|
+
rowKey: string | ((row: any[]) => string);
|
|
121
120
|
actionBar: false | Partial< ActionBarProps>;
|
|
122
121
|
indexTableColumnProps: TableColumn;
|
|
123
122
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -134,6 +133,7 @@ export declare const PlusTable: {
|
|
|
134
133
|
}>>;
|
|
135
134
|
defaultSize: ComponentSize;
|
|
136
135
|
tableData: RecordType[];
|
|
136
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
137
137
|
hasIndexColumn: boolean;
|
|
138
138
|
isSelection: boolean | "radio";
|
|
139
139
|
isRadio: boolean;
|
|
@@ -186,8 +186,6 @@ export declare const PlusTable: {
|
|
|
186
186
|
}, string, {
|
|
187
187
|
data: RecordType[];
|
|
188
188
|
columns: PlusColumn[];
|
|
189
|
-
rowKey: string | ((row: any[]) => string);
|
|
190
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
191
189
|
editable: boolean | "click" | "dblclick";
|
|
192
190
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
193
191
|
row: any[];
|
|
@@ -195,6 +193,7 @@ export declare const PlusTable: {
|
|
|
195
193
|
column: TableColumnCtx<any[]>;
|
|
196
194
|
columnIndex: number;
|
|
197
195
|
}) => CSSProperties>;
|
|
196
|
+
rowKey: string | ((row: any[]) => string);
|
|
198
197
|
actionBar: false | Partial< ActionBarProps>;
|
|
199
198
|
indexTableColumnProps: TableColumn;
|
|
200
199
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -211,6 +210,7 @@ export declare const PlusTable: {
|
|
|
211
210
|
}>>;
|
|
212
211
|
defaultSize: ComponentSize;
|
|
213
212
|
tableData: RecordType[];
|
|
213
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
214
214
|
hasIndexColumn: boolean;
|
|
215
215
|
isSelection: boolean | "radio";
|
|
216
216
|
isRadio: boolean;
|
|
@@ -291,8 +291,6 @@ export declare const YcPlusTable: {
|
|
|
291
291
|
}, PublicProps, {
|
|
292
292
|
data: RecordType[];
|
|
293
293
|
columns: PlusColumn[];
|
|
294
|
-
rowKey: string | ((row: any[]) => string);
|
|
295
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
296
294
|
editable: boolean | "click" | "dblclick";
|
|
297
295
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
298
296
|
row: any[];
|
|
@@ -300,6 +298,7 @@ export declare const YcPlusTable: {
|
|
|
300
298
|
column: TableColumnCtx<any[]>;
|
|
301
299
|
columnIndex: number;
|
|
302
300
|
}) => CSSProperties>;
|
|
301
|
+
rowKey: string | ((row: any[]) => string);
|
|
303
302
|
actionBar: false | Partial< ActionBarProps>;
|
|
304
303
|
indexTableColumnProps: TableColumn;
|
|
305
304
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -316,6 +315,7 @@ export declare const YcPlusTable: {
|
|
|
316
315
|
}>>;
|
|
317
316
|
defaultSize: ComponentSize;
|
|
318
317
|
tableData: RecordType[];
|
|
318
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
319
319
|
hasIndexColumn: boolean;
|
|
320
320
|
isSelection: boolean | "radio";
|
|
321
321
|
isRadio: boolean;
|
|
@@ -359,8 +359,6 @@ export declare const YcPlusTable: {
|
|
|
359
359
|
}, {}, {}, {}, {
|
|
360
360
|
data: RecordType[];
|
|
361
361
|
columns: PlusColumn[];
|
|
362
|
-
rowKey: string | ((row: any[]) => string);
|
|
363
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
364
362
|
editable: boolean | "click" | "dblclick";
|
|
365
363
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
366
364
|
row: any[];
|
|
@@ -368,6 +366,7 @@ export declare const YcPlusTable: {
|
|
|
368
366
|
column: TableColumnCtx<any[]>;
|
|
369
367
|
columnIndex: number;
|
|
370
368
|
}) => CSSProperties>;
|
|
369
|
+
rowKey: string | ((row: any[]) => string);
|
|
371
370
|
actionBar: false | Partial< ActionBarProps>;
|
|
372
371
|
indexTableColumnProps: TableColumn;
|
|
373
372
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -384,6 +383,7 @@ export declare const YcPlusTable: {
|
|
|
384
383
|
}>>;
|
|
385
384
|
defaultSize: ComponentSize;
|
|
386
385
|
tableData: RecordType[];
|
|
386
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
387
387
|
hasIndexColumn: boolean;
|
|
388
388
|
isSelection: boolean | "radio";
|
|
389
389
|
isRadio: boolean;
|
|
@@ -436,8 +436,6 @@ export declare const YcPlusTable: {
|
|
|
436
436
|
}, string, {
|
|
437
437
|
data: RecordType[];
|
|
438
438
|
columns: PlusColumn[];
|
|
439
|
-
rowKey: string | ((row: any[]) => string);
|
|
440
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
441
439
|
editable: boolean | "click" | "dblclick";
|
|
442
440
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
443
441
|
row: any[];
|
|
@@ -445,6 +443,7 @@ export declare const YcPlusTable: {
|
|
|
445
443
|
column: TableColumnCtx<any[]>;
|
|
446
444
|
columnIndex: number;
|
|
447
445
|
}) => CSSProperties>;
|
|
446
|
+
rowKey: string | ((row: any[]) => string);
|
|
448
447
|
actionBar: false | Partial< ActionBarProps>;
|
|
449
448
|
indexTableColumnProps: TableColumn;
|
|
450
449
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -461,6 +460,7 @@ export declare const YcPlusTable: {
|
|
|
461
460
|
}>>;
|
|
462
461
|
defaultSize: ComponentSize;
|
|
463
462
|
tableData: RecordType[];
|
|
463
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
464
464
|
hasIndexColumn: boolean;
|
|
465
465
|
isSelection: boolean | "radio";
|
|
466
466
|
isRadio: boolean;
|
|
@@ -541,8 +541,6 @@ export declare const RePlusTable: {
|
|
|
541
541
|
}, PublicProps, {
|
|
542
542
|
data: RecordType[];
|
|
543
543
|
columns: PlusColumn[];
|
|
544
|
-
rowKey: string | ((row: any[]) => string);
|
|
545
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
546
544
|
editable: boolean | "click" | "dblclick";
|
|
547
545
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
548
546
|
row: any[];
|
|
@@ -550,6 +548,7 @@ export declare const RePlusTable: {
|
|
|
550
548
|
column: TableColumnCtx<any[]>;
|
|
551
549
|
columnIndex: number;
|
|
552
550
|
}) => CSSProperties>;
|
|
551
|
+
rowKey: string | ((row: any[]) => string);
|
|
553
552
|
actionBar: false | Partial< ActionBarProps>;
|
|
554
553
|
indexTableColumnProps: TableColumn;
|
|
555
554
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -566,6 +565,7 @@ export declare const RePlusTable: {
|
|
|
566
565
|
}>>;
|
|
567
566
|
defaultSize: ComponentSize;
|
|
568
567
|
tableData: RecordType[];
|
|
568
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
569
569
|
hasIndexColumn: boolean;
|
|
570
570
|
isSelection: boolean | "radio";
|
|
571
571
|
isRadio: boolean;
|
|
@@ -609,8 +609,6 @@ export declare const RePlusTable: {
|
|
|
609
609
|
}, {}, {}, {}, {
|
|
610
610
|
data: RecordType[];
|
|
611
611
|
columns: PlusColumn[];
|
|
612
|
-
rowKey: string | ((row: any[]) => string);
|
|
613
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
614
612
|
editable: boolean | "click" | "dblclick";
|
|
615
613
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
616
614
|
row: any[];
|
|
@@ -618,6 +616,7 @@ export declare const RePlusTable: {
|
|
|
618
616
|
column: TableColumnCtx<any[]>;
|
|
619
617
|
columnIndex: number;
|
|
620
618
|
}) => CSSProperties>;
|
|
619
|
+
rowKey: string | ((row: any[]) => string);
|
|
621
620
|
actionBar: false | Partial< ActionBarProps>;
|
|
622
621
|
indexTableColumnProps: TableColumn;
|
|
623
622
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -634,6 +633,7 @@ export declare const RePlusTable: {
|
|
|
634
633
|
}>>;
|
|
635
634
|
defaultSize: ComponentSize;
|
|
636
635
|
tableData: RecordType[];
|
|
636
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
637
637
|
hasIndexColumn: boolean;
|
|
638
638
|
isSelection: boolean | "radio";
|
|
639
639
|
isRadio: boolean;
|
|
@@ -686,8 +686,6 @@ export declare const RePlusTable: {
|
|
|
686
686
|
}, string, {
|
|
687
687
|
data: RecordType[];
|
|
688
688
|
columns: PlusColumn[];
|
|
689
|
-
rowKey: string | ((row: any[]) => string);
|
|
690
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
691
689
|
editable: boolean | "click" | "dblclick";
|
|
692
690
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
693
691
|
row: any[];
|
|
@@ -695,6 +693,7 @@ export declare const RePlusTable: {
|
|
|
695
693
|
column: TableColumnCtx<any[]>;
|
|
696
694
|
columnIndex: number;
|
|
697
695
|
}) => CSSProperties>;
|
|
696
|
+
rowKey: string | ((row: any[]) => string);
|
|
698
697
|
actionBar: false | Partial< ActionBarProps>;
|
|
699
698
|
indexTableColumnProps: TableColumn;
|
|
700
699
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -711,6 +710,7 @@ export declare const RePlusTable: {
|
|
|
711
710
|
}>>;
|
|
712
711
|
defaultSize: ComponentSize;
|
|
713
712
|
tableData: RecordType[];
|
|
713
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
714
714
|
hasIndexColumn: boolean;
|
|
715
715
|
isSelection: boolean | "radio";
|
|
716
716
|
isRadio: boolean;
|
|
@@ -68,8 +68,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
68
68
|
}>, {
|
|
69
69
|
data: RecordType[];
|
|
70
70
|
columns: PlusColumn[];
|
|
71
|
-
rowKey: string | ((row: any[]) => string);
|
|
72
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
73
71
|
editable: boolean | "click" | "dblclick";
|
|
74
72
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
75
73
|
row: any[];
|
|
@@ -77,6 +75,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
77
75
|
column: TableColumnCtx<any[]>;
|
|
78
76
|
columnIndex: number;
|
|
79
77
|
}) => CSSProperties>;
|
|
78
|
+
rowKey: string | ((row: any[]) => string);
|
|
80
79
|
actionBar: false | Partial< ActionBarProps>;
|
|
81
80
|
indexTableColumnProps: TableColumn;
|
|
82
81
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
@@ -93,6 +92,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
93
92
|
}>>;
|
|
94
93
|
defaultSize: ComponentSize;
|
|
95
94
|
tableData: RecordType[];
|
|
95
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
96
96
|
hasIndexColumn: boolean;
|
|
97
97
|
isSelection: boolean | "radio";
|
|
98
98
|
isRadio: boolean;
|
|
@@ -270,10 +270,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
270
270
|
readonly label: string | ComputedRef<string>;
|
|
271
271
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
272
272
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
273
|
-
readonly tooltip: string |
|
|
273
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
274
274
|
style?: CSSProperties;
|
|
275
275
|
class?: any;
|
|
276
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
276
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
277
277
|
style?: CSSProperties;
|
|
278
278
|
class?: any;
|
|
279
279
|
} & RecordType>>;
|
|
@@ -344,10 +344,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
344
344
|
prop: PlusColumn["prop"];
|
|
345
345
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
346
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
347
|
-
tooltip: string |
|
|
347
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
348
348
|
style?: CSSProperties;
|
|
349
349
|
class?: any;
|
|
350
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
350
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
351
351
|
style?: CSSProperties;
|
|
352
352
|
class?: any;
|
|
353
353
|
} & RecordType>>;
|
|
@@ -383,10 +383,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
383
383
|
readonly label: string | ComputedRef<string>;
|
|
384
384
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
385
385
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
386
|
-
readonly tooltip: string |
|
|
386
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
387
387
|
style?: CSSProperties;
|
|
388
388
|
class?: any;
|
|
389
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
389
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
390
390
|
style?: CSSProperties;
|
|
391
391
|
class?: any;
|
|
392
392
|
} & RecordType>>;
|
|
@@ -457,10 +457,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
457
457
|
prop: PlusColumn["prop"];
|
|
458
458
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
459
459
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
460
|
-
tooltip: string |
|
|
460
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
461
461
|
style?: CSSProperties;
|
|
462
462
|
class?: any;
|
|
463
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
463
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
464
464
|
style?: CSSProperties;
|
|
465
465
|
class?: any;
|
|
466
466
|
} & RecordType>>;
|
|
@@ -496,10 +496,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
496
496
|
readonly label: string | ComputedRef<string>;
|
|
497
497
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
498
498
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
499
|
-
readonly tooltip: string |
|
|
499
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
500
500
|
style?: CSSProperties;
|
|
501
501
|
class?: any;
|
|
502
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
502
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
503
503
|
style?: CSSProperties;
|
|
504
504
|
class?: any;
|
|
505
505
|
} & RecordType>>;
|
|
@@ -570,10 +570,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
570
570
|
prop: PlusColumn["prop"];
|
|
571
571
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
572
572
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
573
|
-
tooltip: string |
|
|
573
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
574
574
|
style?: CSSProperties;
|
|
575
575
|
class?: any;
|
|
576
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
576
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
577
577
|
style?: CSSProperties;
|
|
578
578
|
class?: any;
|
|
579
579
|
} & RecordType>>;
|
|
@@ -730,10 +730,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
730
730
|
readonly label: string | ComputedRef<string>;
|
|
731
731
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
732
732
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
733
|
-
readonly tooltip: string |
|
|
733
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
734
734
|
style?: CSSProperties;
|
|
735
735
|
class?: any;
|
|
736
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
736
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
737
737
|
style?: CSSProperties;
|
|
738
738
|
class?: any;
|
|
739
739
|
} & RecordType>>;
|
|
@@ -804,10 +804,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
804
804
|
prop: PlusColumn["prop"];
|
|
805
805
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
806
806
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
807
|
-
tooltip: string |
|
|
807
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
808
808
|
style?: CSSProperties;
|
|
809
809
|
class?: any;
|
|
810
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
810
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
811
811
|
style?: CSSProperties;
|
|
812
812
|
class?: any;
|
|
813
813
|
} & RecordType>>;
|
|
@@ -843,10 +843,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
843
843
|
readonly label: string | ComputedRef<string>;
|
|
844
844
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
845
845
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
846
|
-
readonly tooltip: string |
|
|
846
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
847
847
|
style?: CSSProperties;
|
|
848
848
|
class?: any;
|
|
849
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
849
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
850
850
|
style?: CSSProperties;
|
|
851
851
|
class?: any;
|
|
852
852
|
} & RecordType>>;
|
|
@@ -917,10 +917,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
917
917
|
prop: PlusColumn["prop"];
|
|
918
918
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
919
919
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
920
|
-
tooltip: string |
|
|
920
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
921
921
|
style?: CSSProperties;
|
|
922
922
|
class?: any;
|
|
923
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
923
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
924
924
|
style?: CSSProperties;
|
|
925
925
|
class?: any;
|
|
926
926
|
} & RecordType>>;
|
|
@@ -956,10 +956,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
956
956
|
readonly label: string | ComputedRef<string>;
|
|
957
957
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
958
958
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
959
|
-
readonly tooltip: string |
|
|
959
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
960
960
|
style?: CSSProperties;
|
|
961
961
|
class?: any;
|
|
962
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
962
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
963
963
|
style?: CSSProperties;
|
|
964
964
|
class?: any;
|
|
965
965
|
} & RecordType>>;
|
|
@@ -1030,10 +1030,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1030
1030
|
prop: PlusColumn["prop"];
|
|
1031
1031
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1032
1032
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1033
|
-
tooltip: string |
|
|
1033
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1034
1034
|
style?: CSSProperties;
|
|
1035
1035
|
class?: any;
|
|
1036
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1036
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1037
1037
|
style?: CSSProperties;
|
|
1038
1038
|
class?: any;
|
|
1039
1039
|
} & RecordType>>;
|
|
@@ -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, ActionBarProps, PlusPaginationProps } 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;
|
|
49
50
|
rowKey: string;
|
|
50
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
51
|
-
stripe: boolean;
|
|
52
51
|
actionBar: false | Partial< ActionBarProps>;
|
|
53
|
-
|
|
52
|
+
stripe: boolean;
|
|
54
53
|
titleBar: boolean | {
|
|
55
54
|
title?: string;
|
|
56
55
|
refresh?: boolean;
|
|
57
56
|
};
|
|
58
57
|
defaultSize: ComponentSize;
|
|
59
58
|
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;
|
|
102
103
|
rowKey: string;
|
|
103
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
104
|
-
stripe: boolean;
|
|
105
104
|
actionBar: false | Partial< ActionBarProps>;
|
|
106
|
-
|
|
105
|
+
stripe: boolean;
|
|
107
106
|
titleBar: boolean | {
|
|
108
107
|
title?: string;
|
|
109
108
|
refresh?: boolean;
|
|
110
109
|
};
|
|
111
110
|
defaultSize: ComponentSize;
|
|
112
111
|
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;
|
|
165
166
|
rowKey: string;
|
|
166
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
167
|
-
stripe: boolean;
|
|
168
167
|
actionBar: false | Partial< ActionBarProps>;
|
|
169
|
-
|
|
168
|
+
stripe: boolean;
|
|
170
169
|
titleBar: boolean | {
|
|
171
170
|
title?: string;
|
|
172
171
|
refresh?: boolean;
|
|
173
172
|
};
|
|
174
173
|
defaultSize: ComponentSize;
|
|
175
174
|
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;
|
|
53
54
|
rowKey: string;
|
|
54
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
55
|
-
stripe: boolean;
|
|
56
55
|
actionBar: false | Partial< ActionBarProps>;
|
|
57
|
-
|
|
56
|
+
stripe: boolean;
|
|
58
57
|
titleBar: boolean | {
|
|
59
58
|
title?: string;
|
|
60
59
|
refresh?: boolean;
|
|
61
60
|
};
|
|
62
61
|
defaultSize: ComponentSize;
|
|
63
62
|
tableData: RecordType[];
|
|
63
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
64
64
|
hasIndexColumn: boolean;
|
|
65
65
|
isSelection: boolean;
|
|
66
66
|
loadingStatus: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { default as SegmentedComponent } from './src/segmented.vue';
|
|
3
|
+
import { default as SwitchRowComponent } from './src/switch-row.vue';
|
|
4
|
+
import { default as ChoiceCardsComponent } from './src/choice-cards.vue';
|
|
5
|
+
import { SFCWithInstall } from '../../utils';
|
|
6
|
+
|
|
7
|
+
export declare const YcSegmented: SFCWithInstall<DefineComponent>;
|
|
8
|
+
export declare const ReSegmented: SFCWithInstall<DefineComponent>;
|
|
9
|
+
export declare const YcSwitchRow: SFCWithInstall<DefineComponent>;
|
|
10
|
+
export declare const ReSwitchRow: SFCWithInstall<DefineComponent>;
|
|
11
|
+
export declare const YcChoiceCards: SFCWithInstall<DefineComponent>;
|
|
12
|
+
export declare const ReChoiceCards: SFCWithInstall<DefineComponent>;
|
|
13
|
+
export type YcSegmentedInstance = InstanceType<typeof SegmentedComponent>;
|
|
14
|
+
export type YcSwitchRowInstance = InstanceType<typeof SwitchRowComponent>;
|
|
15
|
+
export type YcChoiceCardsInstance = InstanceType<typeof ChoiceCardsComponent>;
|
|
16
|
+
export * from './src/type';
|
|
17
|
+
export default YcSegmented;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { YcChoiceCardOption } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string | number | (string | number)[]) => void;
|
|
6
|
+
change: (value: string | number | (string | number)[]) => void;
|
|
7
|
+
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
8
|
+
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
options: YcChoiceCardOption<string | number>[];
|
|
12
|
+
multiple: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
columns: 1 | 2 | 3;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { YcSegmentedOption } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string | number) => void;
|
|
6
|
+
change: (value: string | number) => void;
|
|
7
|
+
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
8
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
options: YcSegmentedOption<string | number>[];
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
size: "small" | "default" | "large";
|
|
14
|
+
block: boolean;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: boolean) => void;
|
|
4
|
+
change: (value: boolean) => void;
|
|
5
|
+
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
6
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
bordered: boolean;
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface YcSegmentedOption<V extends string | number = string> {
|
|
2
|
+
label: string;
|
|
3
|
+
value: V;
|
|
4
|
+
count?: number | string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface YcSegmentedProps<V extends string | number = string> {
|
|
8
|
+
modelValue?: V;
|
|
9
|
+
options?: YcSegmentedOption<V>[];
|
|
10
|
+
size?: 'small' | 'default' | 'large';
|
|
11
|
+
block?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface YcSwitchRowProps {
|
|
15
|
+
modelValue?: boolean;
|
|
16
|
+
title: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
badge?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
bordered?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface YcChoiceCardOption<V extends string | number = string> {
|
|
23
|
+
value: V;
|
|
24
|
+
title: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
meta?: string;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface YcChoiceCardsProps<V extends string | number = string> {
|
|
30
|
+
modelValue?: V | V[];
|
|
31
|
+
options?: YcChoiceCardOption<V>[];
|
|
32
|
+
multiple?: boolean;
|
|
33
|
+
columns?: 1 | 2 | 3;
|
|
34
|
+
label?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export type ReSegmentedProps = YcSegmentedProps;
|
|
38
|
+
export type ReSwitchRowProps = YcSwitchRowProps;
|
|
39
|
+
export type ReChoiceCardsProps = YcChoiceCardsProps;
|
|
@@ -42,10 +42,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
42
42
|
caption: string;
|
|
43
43
|
columns: TableColumn[];
|
|
44
44
|
selectable: boolean;
|
|
45
|
-
rowKey: string;
|
|
46
|
-
selection: any[];
|
|
47
45
|
striped: boolean;
|
|
46
|
+
rowKey: string;
|
|
48
47
|
density: TableDensity;
|
|
48
|
+
selection: any[];
|
|
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
|
-
sortOrder: TableSortOrder;
|
|
13
12
|
sortable: boolean;
|
|
13
|
+
sortOrder: TableSortOrder;
|
|
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
|
-
clearable: boolean;
|
|
17
16
|
format: string;
|
|
17
|
+
clearable: boolean;
|
|
18
18
|
rangeSeparator: string;
|
|
19
19
|
startPlaceholder: string;
|
|
20
20
|
endPlaceholder: string;
|