@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.
@@ -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;
@@ -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
- export { XnCascader, XnTag, XnTransfer, XnVirtualList, XnEllipsis, XnEditableText, XnEditableTextarea, XnTimeRangePicker, XnTextRuleConfig, XnFormList };
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;
@@ -0,0 +1,5 @@
1
+ import type { Plugin } from 'vue';
2
+ import XnModalComponent from './index.vue';
3
+ declare const XnModal: typeof XnModalComponent & Plugin;
4
+ export default XnModal;
5
+ export type { ModalProps } from './props';