@xn-lib/component 0.1.30 → 0.1.34
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/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/cascader/index.vue.d.ts +2 -2
- package/dist/types/editable-textarea/index.vue.d.ts +1 -1
- package/dist/types/form-list/index.vue.d.ts +4 -4
- package/dist/types/index.d.ts +4 -1
- package/dist/types/modal/index.d.ts +5 -0
- package/dist/types/modal/index.vue.d.ts +567 -0
- package/dist/types/modal/props.d.ts +75 -0
- package/dist/types/table/components/TableMain.vue.d.ts +70 -0
- package/dist/types/table/components/TablePagination.vue.d.ts +24 -0
- package/dist/types/table/components/TableToolbar.vue.d.ts +18 -0
- package/dist/types/table/components/ToolbarButtonGroup.vue.d.ts +23 -0
- package/dist/types/table/composables/index.d.ts +2 -0
- package/dist/types/table/composables/store.d.ts +399 -0
- package/dist/types/table/index.d.ts +6 -0
- package/dist/types/table/index.vue.d.ts +262 -0
- package/dist/types/table/props.d.ts +100 -0
- package/dist/types/time-range-picker/props.d.ts +1 -0
- package/dist/types/time-range-picker/utils.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/table.d.ts +322 -0
- package/package.json +1 -1
|
@@ -287,10 +287,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
287
287
|
}>, {
|
|
288
288
|
readonly disabled: boolean;
|
|
289
289
|
readonly filter: import("../types/cascader").Filter;
|
|
290
|
-
readonly showCheckbox: boolean;
|
|
291
290
|
readonly modelValue: CascaderValue | null;
|
|
292
291
|
readonly size: "small" | "default" | "large";
|
|
292
|
+
readonly showCheckbox: boolean;
|
|
293
293
|
readonly onLoad: import("../types/cascader").OnLoad;
|
|
294
|
+
readonly placeholder: string;
|
|
294
295
|
readonly getColumnStyle: (detail: {
|
|
295
296
|
level: number;
|
|
296
297
|
}) => string | Record<string, any>;
|
|
@@ -300,7 +301,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
300
301
|
readonly labelField: string;
|
|
301
302
|
readonly separator: string;
|
|
302
303
|
readonly options: CascaderOption[];
|
|
303
|
-
readonly placeholder: string;
|
|
304
304
|
readonly clearable: boolean;
|
|
305
305
|
readonly filterable: boolean;
|
|
306
306
|
readonly expandTrigger: import("../types/cascader").ExpandTrigger;
|
|
@@ -177,9 +177,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
177
177
|
}>, {
|
|
178
178
|
readonly disabled: boolean;
|
|
179
179
|
readonly modelValue: import("../types").EditableTextareaModelValue;
|
|
180
|
+
readonly placeholder: string;
|
|
180
181
|
readonly maxHeight: number;
|
|
181
182
|
readonly onEnter: import("../types").KeyboardEventHandler;
|
|
182
|
-
readonly placeholder: string;
|
|
183
183
|
readonly maxlength: number;
|
|
184
184
|
readonly readonly: boolean;
|
|
185
185
|
readonly autoHeight: boolean;
|
|
@@ -221,8 +221,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
|
|
|
221
221
|
readonly size: "small" | "default" | "large";
|
|
222
222
|
readonly height: string | number;
|
|
223
223
|
readonly maxHeight: string | number;
|
|
224
|
-
readonly gap: string;
|
|
225
224
|
readonly rules: Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>;
|
|
225
|
+
readonly labelWidth: string | number;
|
|
226
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
227
|
+
readonly showFooter: boolean;
|
|
228
|
+
readonly gap: string;
|
|
226
229
|
readonly defaultRow: import("./props").FormListDefaultRow;
|
|
227
230
|
readonly min: number;
|
|
228
231
|
readonly max: number;
|
|
@@ -230,8 +233,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
|
|
|
230
233
|
readonly keyType: "index" | "uid";
|
|
231
234
|
readonly uidKey: string;
|
|
232
235
|
readonly rowKey: string | ((row: FormListRow, index: number) => string | number);
|
|
233
|
-
readonly labelWidth: string | number;
|
|
234
|
-
readonly labelPosition: "top" | "right" | "left";
|
|
235
236
|
readonly inline: boolean;
|
|
236
237
|
readonly validateOnRuleChange: boolean;
|
|
237
238
|
readonly hideRequiredAsterisk: boolean;
|
|
@@ -239,7 +240,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
|
|
|
239
240
|
readonly inlineMessage: boolean;
|
|
240
241
|
readonly statusIcon: boolean;
|
|
241
242
|
readonly scrollToError: boolean;
|
|
242
|
-
readonly showFooter: boolean;
|
|
243
243
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
244
244
|
item?: (props: {
|
|
245
245
|
item: FormListRow;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,7 +10,9 @@ import XnEditableTextarea from './editable-textarea/index';
|
|
|
10
10
|
import XnTimeRangePicker from './time-range-picker/index';
|
|
11
11
|
import XnTextRuleConfig from './text-rule-config';
|
|
12
12
|
import XnFormList from './form-list/index';
|
|
13
|
-
|
|
13
|
+
import XnTable from './table/index';
|
|
14
|
+
import XnModal from './modal/index';
|
|
15
|
+
export { XnCascader, XnTag, XnTransfer, XnVirtualList, XnEllipsis, XnEditableText, XnEditableTextarea, XnTimeRangePicker, XnTextRuleConfig, XnFormList, XnTable, XnModal };
|
|
14
16
|
export declare const components: Record<string, Component>;
|
|
15
17
|
export type { CascaderProps } from './cascader/props';
|
|
16
18
|
export type { TagProps } from './tag/props';
|
|
@@ -23,5 +25,6 @@ export type { FormListProps, FormListRow, FormListDefaultRow } from './form-list
|
|
|
23
25
|
export { useFormList, useFormListActions, useFormListLayout, useFormListRowForms, useFormListUidSync, generateUid, cssLength, getFormListRowKey, ensureRowUids, stripUidRow } from './form-list/index';
|
|
24
26
|
export type { FormListExpose, FormListSubmitRow, RowKeyOptions, UseFormListOptions, UseFormListReturn } from './form-list/index';
|
|
25
27
|
export * from './types';
|
|
28
|
+
export * from './time-range-picker/utils';
|
|
26
29
|
declare const plugin: Plugin;
|
|
27
30
|
export default plugin;
|