@a2simcode/ui 0.0.20 → 0.0.22

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.
Files changed (84) hide show
  1. package/LICENSE +53 -53
  2. package/README.md +130 -130
  3. package/dist/components/autocomplete/index.d.ts +3 -0
  4. package/dist/components/autocomplete/src/autocomplete.vue.d.ts +3 -0
  5. package/dist/components/barcode/index.d.ts +520 -93
  6. package/dist/components/barcode/src/barcode.vue.d.ts +419 -98
  7. package/dist/components/button-select/index.d.ts +61 -0
  8. package/dist/components/button-select/src/button-select.vue.d.ts +35 -0
  9. package/dist/components/cascader-select/index.d.ts +4 -20
  10. package/dist/components/cascader-select/src/cascader-select.vue.d.ts +4 -33
  11. package/dist/components/checkbox/index.d.ts +3 -3
  12. package/dist/components/checkbox/src/checkbox.vue.d.ts +1 -1
  13. package/dist/components/code-mirror/index.d.ts +0 -1
  14. package/dist/components/code-mirror/src/code-mirror.vue.d.ts +0 -1
  15. package/dist/components/collapse/index.d.ts +44 -0
  16. package/dist/components/collapse/src/collapse.vue.d.ts +37 -0
  17. package/dist/components/comp/index.d.ts +30 -15
  18. package/dist/components/comp/src/comp.vue.d.ts +31 -45
  19. package/dist/components/comp/src/interface.d.ts +101 -0
  20. package/dist/components/count-up/index.d.ts +3 -3
  21. package/dist/components/count-up/src/count-up.vue.d.ts +1 -1
  22. package/dist/components/dialog/index.d.ts +5 -5
  23. package/dist/components/dialog/src/index.vue.d.ts +2 -2
  24. package/dist/components/dialog-full/index.d.ts +5 -5
  25. package/dist/components/dialog-full/src/index.vue.d.ts +2 -2
  26. package/dist/components/drawer/index.d.ts +5 -5
  27. package/dist/components/drawer/src/drawer.vue.d.ts +2 -2
  28. package/dist/components/editor/index.d.ts +160 -0
  29. package/dist/components/editor/src/editor.vue.d.ts +86 -0
  30. package/dist/components/form/index.d.ts +6 -6
  31. package/dist/components/form/src/form.vue.d.ts +3 -3
  32. package/dist/components/form-item/src/form-item.vue.d.ts +1 -1
  33. package/dist/components/icon/src/icon.vue.d.ts +0 -4
  34. package/dist/components/index.d.ts +22 -6
  35. package/dist/components/inject-provide.d.ts +159 -0
  36. package/dist/components/input/index.d.ts +3 -1
  37. package/dist/components/input/src/input.vue.d.ts +5 -1
  38. package/dist/components/input-color/index.d.ts +114 -0
  39. package/dist/components/input-color/src/input-color.vue.d.ts +73 -0
  40. package/dist/components/input-rows/index.d.ts +200 -0
  41. package/dist/components/input-rows/src/input-rows.vue.d.ts +154 -0
  42. package/dist/components/input-rows/src/interface.d.ts +33 -0
  43. package/dist/components/layer-form/index.d.ts +178 -0
  44. package/dist/components/layer-form/src/layer-form.vue.d.ts +149 -0
  45. package/dist/components/map/index.d.ts +127 -0
  46. package/dist/components/map/src/map.vue.d.ts +92 -0
  47. package/dist/components/number/index.d.ts +3 -3
  48. package/dist/components/number/src/number.vue.d.ts +3 -3
  49. package/dist/components/page/index.d.ts +6 -6
  50. package/dist/components/page/src/page.vue.d.ts +2 -2
  51. package/dist/components/select/index.d.ts +6 -1
  52. package/dist/components/select/src/select.vue.d.ts +7 -2
  53. package/dist/components/slider/index.d.ts +3 -3
  54. package/dist/components/slider/src/slider.vue.d.ts +1 -1
  55. package/dist/components/switch/index.d.ts +71 -0
  56. package/dist/components/switch/src/switch.vue.d.ts +83 -0
  57. package/dist/components/table/index.d.ts +275 -66
  58. package/dist/components/table/src/editors/index.d.ts +26 -0
  59. package/dist/components/table/src/editors/j-comp-editor.d.ts +62 -0
  60. package/dist/components/table/src/table.vue.d.ts +326 -61
  61. package/dist/components/table/src/theme/default.d.ts +27 -0
  62. package/dist/components/table-panel/index.d.ts +459 -0
  63. package/dist/components/table-panel/src/column-panel.vue.d.ts +37 -0
  64. package/dist/components/table-panel/src/filter-panel.vue.d.ts +49 -0
  65. package/dist/components/table-panel/src/keyword-panel.vue.d.ts +36 -0
  66. package/dist/components/table-panel/src/order-panel.vue.d.ts +24 -0
  67. package/dist/components/table-panel/src/table-panel.vue.d.ts +445 -0
  68. package/dist/components/tabs/index.d.ts +156 -0
  69. package/dist/components/tabs/src/tabs.vue.d.ts +110 -0
  70. package/dist/components/tree/index.d.ts +451 -0
  71. package/dist/components/tree/src/tree.vue.d.ts +478 -0
  72. package/dist/components/upload/index.d.ts +13 -13
  73. package/dist/components/upload/src/list.vue.d.ts +1 -1
  74. package/dist/components/upload/src/upload.vue.d.ts +5 -5
  75. package/dist/core/utils/comp.d.ts +18 -0
  76. package/dist/core/utils/index.d.ts +2 -0
  77. package/dist/core/utils/map.d.ts +1 -0
  78. package/dist/core/utils/tree.d.ts +1 -0
  79. package/dist/core/utils/useSortable.d.ts +5 -0
  80. package/dist/simcode-ui.es.js +6888 -3212
  81. package/dist/simcode-ui.umd.js +2 -2
  82. package/dist/stats.html +1 -1
  83. package/dist/ui.css +1 -1
  84. package/package.json +50 -25
@@ -0,0 +1,159 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ /**
3
+ * 注入键常量定义
4
+ */
5
+ export declare const INJECT_KEYS: {
6
+ /** 应用相关注入(国际化等) */
7
+ readonly APP_PROVIDE: "jcode_app_provide";
8
+ /** 表单相关注入 */
9
+ readonly FORM_PROVIDE: "jcode_form_provide";
10
+ /** 表格相关注入 */
11
+ readonly TABLE_PROVIDE: "jcode_table_provide";
12
+ /** 菜单相关注入 */
13
+ readonly MENU_PROVIDE: "jcode_menu_provide";
14
+ /** 水平菜单相关注入 */
15
+ readonly H_MENU_PROVIDE: "jianda_h_menu_provide";
16
+ /** 认证页面相关注入 */
17
+ readonly AUTH_PAGE_PROVIDE: "jcode_auth_page_provide";
18
+ /** 层级相关注入 */
19
+ readonly LAYER_PROVIDE: "jcode_layer_provide";
20
+ };
21
+ /**
22
+ * 应用提供者类型
23
+ */
24
+ export interface AppProvideType {
25
+ t: (text: string, ...args: string[]) => string;
26
+ warning?: (text: string) => void;
27
+ error?: (text: string) => void;
28
+ success?: (text: string) => void;
29
+ info?: (text: string) => void;
30
+ createConfirm?: any;
31
+ apiUrl?: string;
32
+ token?: Ref<string>;
33
+ logoImg?: string;
34
+ useData?: any;
35
+ existField?: any;
36
+ httpGet?: any;
37
+ httpPost?: any;
38
+ useFile?: any;
39
+ }
40
+ /**
41
+ * 表单提供者类型
42
+ */
43
+ export interface FormProvideType {
44
+ formData: Record<string, any>;
45
+ compsConfig: Ref<Record<string, any>>;
46
+ errorFields: Ref<Record<string, any>>;
47
+ isAutoWindow: ComputedRef<boolean>;
48
+ gutter: ComputedRef<number>;
49
+ span: ComputedRef<number>;
50
+ labelWidth: ComputedRef<number>;
51
+ labelPosition: ComputedRef<'left' | 'right' | 'top'>;
52
+ formChange: (data: any) => void;
53
+ getValue: ({ id, i }: {
54
+ id: string;
55
+ i?: number;
56
+ }) => any;
57
+ }
58
+ /**
59
+ * 表格提供者类型
60
+ */
61
+ export interface TableProvideType {
62
+ /** 表格数据 */
63
+ tableData?: Record<string, any>[];
64
+ /** 表格行数据 */
65
+ row?: Record<string, any>;
66
+ /** 表格行变更事件 */
67
+ rowChange: (data: any) => void;
68
+ }
69
+ /**
70
+ * 菜单提供者类型
71
+ */
72
+ export interface MenuProvideType {
73
+ getMenuMap: () => any;
74
+ toArray: any;
75
+ activeMenu: any;
76
+ theme: any;
77
+ }
78
+ /**
79
+ * 水平菜单提供者类型
80
+ */
81
+ export interface HMenuProvideType {
82
+ getHMoreMenus: any;
83
+ }
84
+ /**
85
+ * 认证页面提供者类型
86
+ */
87
+ export interface AuthPageProvideType {
88
+ getPageName: any;
89
+ }
90
+ /**
91
+ * 层级提供者类型
92
+ */
93
+ export interface LayerProvideType {
94
+ stepActive: any;
95
+ }
96
+ /**
97
+ * 统一的 inject 方法
98
+ */
99
+ export declare function useInject<T = any>(key: string, defaultValue?: T): T;
100
+ /**
101
+ * 统一的 provide 方法
102
+ */
103
+ export declare function useProvide<T = any>(key: string, value: T): void;
104
+ /**
105
+ * 应用相关注入
106
+ */
107
+ export declare function useAppInject(): AppProvideType;
108
+ /**
109
+ * 应用相关提供
110
+ */
111
+ export declare function useAppProvide(value: AppProvideType): void;
112
+ /**
113
+ * 表单相关注入
114
+ */
115
+ export declare function useFormInject(): FormProvideType;
116
+ /**
117
+ * 表单相关提供
118
+ */
119
+ export declare function useFormProvide(value: FormProvideType): void;
120
+ /**
121
+ * 表单相关注入
122
+ */
123
+ export declare function useTableInject(): TableProvideType;
124
+ /**
125
+ * 表单相关提供
126
+ */
127
+ export declare function useTableProvide(value: TableProvideType): void;
128
+ /**
129
+ * 菜单相关注入
130
+ */
131
+ export declare function useMenuInject(): MenuProvideType;
132
+ /**
133
+ * 菜单相关提供
134
+ */
135
+ export declare function useMenuProvide(value: MenuProvideType): void;
136
+ /**
137
+ * 水平菜单相关注入
138
+ */
139
+ export declare function useHMenuInject(): HMenuProvideType;
140
+ /**
141
+ * 水平菜单相关提供
142
+ */
143
+ export declare function useHMenuProvide(value: HMenuProvideType): void;
144
+ /**
145
+ * 认证页面相关注入
146
+ */
147
+ export declare function useAuthPageInject(): AuthPageProvideType;
148
+ /**
149
+ * 认证页面相关提供
150
+ */
151
+ export declare function useAuthPageProvide(value: AuthPageProvideType): void;
152
+ /**
153
+ * 层级相关注入
154
+ */
155
+ export declare function useLayerInject(): LayerProvideType;
156
+ /**
157
+ * 层级相关提供
158
+ */
159
+ export declare function useLayerProvide(value: LayerProvideType): void;
@@ -33,7 +33,9 @@ declare const JInput: {
33
33
  autofocus: boolean;
34
34
  validateEvent: boolean;
35
35
  inputStyle: string | Record<string, string | number>;
36
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
36
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
37
+ inputRef: unknown;
38
+ }, any, import('vue').ComponentProvideOptions, {
37
39
  P: {};
38
40
  B: {};
39
41
  D: {};
@@ -71,6 +71,8 @@ export interface InputProps {
71
71
  label?: string;
72
72
  /** 等价于原生 input inputmode 属性 */
73
73
  inputmode?: string;
74
+ /** 是否自动选择 */
75
+ autoFocus?: boolean;
74
76
  }
75
77
  declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
76
78
  clear: () => any;
@@ -106,5 +108,7 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
106
108
  autofocus: boolean;
107
109
  validateEvent: boolean;
108
110
  inputStyle: string | Record<string, string | number>;
109
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
111
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
112
+ inputRef: unknown;
113
+ }, any>;
110
114
  export default _default;
@@ -0,0 +1,114 @@
1
+ declare const JInputColor: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').InputColorProps> & Readonly<{
3
+ onClear?: (() => any) | undefined;
4
+ onInput?: ((value: string) => any) | undefined;
5
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
6
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ onChange?: ((value: string) => any) | undefined;
9
+ "onColor-change"?: ((value: string) => any) | undefined;
10
+ "onActive-change"?: ((value: string) => any) | undefined;
11
+ }>, {
12
+ focus: () => void;
13
+ blur: () => void;
14
+ select: () => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ clear: () => any;
17
+ input: (value: string) => any;
18
+ focus: (evt: FocusEvent) => any;
19
+ blur: (evt: FocusEvent) => any;
20
+ "update:modelValue": (value: string) => any;
21
+ change: (value: string) => any;
22
+ "color-change": (value: string) => any;
23
+ "active-change": (value: string) => any;
24
+ }, import('vue').PublicProps, {
25
+ size: "large" | "default" | "small";
26
+ disabled: boolean;
27
+ readonly: boolean;
28
+ placeholder: string;
29
+ clearable: boolean;
30
+ validateEvent: boolean;
31
+ inputStyle: string | Record<string, string | number>;
32
+ onlyButton: boolean;
33
+ inputType: "append" | "prepend";
34
+ showAlpha: boolean;
35
+ predefineColors: string[];
36
+ colorFormat: "hsl" | "hsv" | "hex" | "rgb";
37
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
38
+ inputRef: unknown;
39
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
40
+ P: {};
41
+ B: {};
42
+ D: {};
43
+ C: {};
44
+ M: {};
45
+ Defaults: {};
46
+ }, Readonly<import('..').InputColorProps> & Readonly<{
47
+ onClear?: (() => any) | undefined;
48
+ onInput?: ((value: string) => any) | undefined;
49
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
50
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
51
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
52
+ onChange?: ((value: string) => any) | undefined;
53
+ "onColor-change"?: ((value: string) => any) | undefined;
54
+ "onActive-change"?: ((value: string) => any) | undefined;
55
+ }>, {
56
+ focus: () => void;
57
+ blur: () => void;
58
+ select: () => void;
59
+ }, {}, {}, {}, {
60
+ size: "large" | "default" | "small";
61
+ disabled: boolean;
62
+ readonly: boolean;
63
+ placeholder: string;
64
+ clearable: boolean;
65
+ validateEvent: boolean;
66
+ inputStyle: string | Record<string, string | number>;
67
+ onlyButton: boolean;
68
+ inputType: "append" | "prepend";
69
+ showAlpha: boolean;
70
+ predefineColors: string[];
71
+ colorFormat: "hsl" | "hsv" | "hex" | "rgb";
72
+ }>;
73
+ __isFragment?: never;
74
+ __isTeleport?: never;
75
+ __isSuspense?: never;
76
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').InputColorProps> & Readonly<{
77
+ onClear?: (() => any) | undefined;
78
+ onInput?: ((value: string) => any) | undefined;
79
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
80
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
81
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
82
+ onChange?: ((value: string) => any) | undefined;
83
+ "onColor-change"?: ((value: string) => any) | undefined;
84
+ "onActive-change"?: ((value: string) => any) | undefined;
85
+ }>, {
86
+ focus: () => void;
87
+ blur: () => void;
88
+ select: () => void;
89
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
90
+ clear: () => any;
91
+ input: (value: string) => any;
92
+ focus: (evt: FocusEvent) => any;
93
+ blur: (evt: FocusEvent) => any;
94
+ "update:modelValue": (value: string) => any;
95
+ change: (value: string) => any;
96
+ "color-change": (value: string) => any;
97
+ "active-change": (value: string) => any;
98
+ }, string, {
99
+ size: "large" | "default" | "small";
100
+ disabled: boolean;
101
+ readonly: boolean;
102
+ placeholder: string;
103
+ clearable: boolean;
104
+ validateEvent: boolean;
105
+ inputStyle: string | Record<string, string | number>;
106
+ onlyButton: boolean;
107
+ inputType: "append" | "prepend";
108
+ showAlpha: boolean;
109
+ predefineColors: string[];
110
+ colorFormat: "hsl" | "hsv" | "hex" | "rgb";
111
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
112
+ install: (app: import('vue').App) => void;
113
+ };
114
+ export default JInputColor;
@@ -0,0 +1,73 @@
1
+ export interface InputColorProps {
2
+ /** 绑定值 */
3
+ modelValue?: string;
4
+ /** 占位符 */
5
+ placeholder?: string;
6
+ /** 是否禁用 */
7
+ disabled?: boolean;
8
+ /** 是否只读 */
9
+ readonly?: boolean;
10
+ /** 选框尺寸 */
11
+ size?: 'large' | 'default' | 'small';
12
+ /** 是否可以清除 */
13
+ clearable?: boolean;
14
+ /** 是否不显示输入框,只显示颜色选择器按钮 */
15
+ onlyButton?: boolean;
16
+ /** 颜色选择器位置,append 或 prepend */
17
+ inputType?: 'append' | 'prepend';
18
+ /** 是否支持透明度选择 */
19
+ showAlpha?: boolean;
20
+ /** 预定义颜色 */
21
+ predefineColors?: string[];
22
+ /** 写入 v-model 的颜色的格式 */
23
+ colorFormat?: 'hsl' | 'hsv' | 'hex' | 'rgb';
24
+ /** 等价于原生 input name 属性 */
25
+ name?: string;
26
+ /** 原生属性,自动获取焦点 */
27
+ autofocus?: boolean;
28
+ /** 输入框的 tabindex */
29
+ tabindex?: string | number;
30
+ /** 输入时是否触发表单的校验 */
31
+ validateEvent?: boolean;
32
+ /** input 元素或 textarea 元素的 style */
33
+ inputStyle?: string | Record<string, string | number>;
34
+ }
35
+ declare const _default: import('vue').DefineComponent<InputColorProps, {
36
+ focus: () => void;
37
+ blur: () => void;
38
+ select: () => void;
39
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ clear: () => any;
41
+ input: (value: string) => any;
42
+ focus: (evt: FocusEvent) => any;
43
+ blur: (evt: FocusEvent) => any;
44
+ "update:modelValue": (value: string) => any;
45
+ change: (value: string) => any;
46
+ "color-change": (value: string) => any;
47
+ "active-change": (value: string) => any;
48
+ }, string, import('vue').PublicProps, Readonly<InputColorProps> & Readonly<{
49
+ onClear?: (() => any) | undefined;
50
+ onInput?: ((value: string) => any) | undefined;
51
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
52
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
+ onChange?: ((value: string) => any) | undefined;
55
+ "onColor-change"?: ((value: string) => any) | undefined;
56
+ "onActive-change"?: ((value: string) => any) | undefined;
57
+ }>, {
58
+ size: "large" | "default" | "small";
59
+ disabled: boolean;
60
+ readonly: boolean;
61
+ placeholder: string;
62
+ clearable: boolean;
63
+ validateEvent: boolean;
64
+ inputStyle: string | Record<string, string | number>;
65
+ onlyButton: boolean;
66
+ inputType: "append" | "prepend";
67
+ showAlpha: boolean;
68
+ predefineColors: string[];
69
+ colorFormat: "hsl" | "hsv" | "hex" | "rgb";
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
71
+ inputRef: unknown;
72
+ }, HTMLDivElement>;
73
+ export default _default;
@@ -0,0 +1,200 @@
1
+ export declare const JInputRows: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ modelValue: {
4
+ type: import('vue').PropType<Record<string, any>[]>;
5
+ default: () => never[];
6
+ };
7
+ columns: {
8
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
9
+ default: () => never[];
10
+ };
11
+ editConfig: {
12
+ type: import('vue').PropType<import('.').EditConfigType>;
13
+ default: () => {};
14
+ };
15
+ isCompact: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ showNum: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ showChar: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ isWrap: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ id: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ }>> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
37
+ onChange?: ((data: {
38
+ id: string;
39
+ value: any;
40
+ data: any;
41
+ formData: Record<string, any>;
42
+ tableData: Record<string, any>[];
43
+ type: "add" | "delete" | "update" | "sort";
44
+ }) => any) | undefined;
45
+ onRowChange?: ((data: Record<string, any>) => any) | undefined;
46
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
+ "update:modelValue": (value: Record<string, any>[]) => any;
48
+ change: (data: {
49
+ id: string;
50
+ value: any;
51
+ data: any;
52
+ formData: Record<string, any>;
53
+ tableData: Record<string, any>[];
54
+ type: "add" | "delete" | "update" | "sort";
55
+ }) => any;
56
+ rowChange: (data: Record<string, any>) => any;
57
+ }, import('vue').PublicProps, {
58
+ id: string;
59
+ modelValue: Record<string, any>[];
60
+ columns: import('..').SchemaRuntimeConfig[];
61
+ editConfig: import('.').EditConfigType;
62
+ isWrap: boolean;
63
+ isCompact: boolean;
64
+ showNum: boolean;
65
+ showChar: boolean;
66
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
67
+ inputRowsRef: HTMLDivElement;
68
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
69
+ P: {};
70
+ B: {};
71
+ D: {};
72
+ C: {};
73
+ M: {};
74
+ Defaults: {};
75
+ }, Readonly<import('vue').ExtractPropTypes<{
76
+ modelValue: {
77
+ type: import('vue').PropType<Record<string, any>[]>;
78
+ default: () => never[];
79
+ };
80
+ columns: {
81
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
82
+ default: () => never[];
83
+ };
84
+ editConfig: {
85
+ type: import('vue').PropType<import('.').EditConfigType>;
86
+ default: () => {};
87
+ };
88
+ isCompact: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ showNum: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ showChar: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ isWrap: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ id: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ }>> & Readonly<{
109
+ "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
110
+ onChange?: ((data: {
111
+ id: string;
112
+ value: any;
113
+ data: any;
114
+ formData: Record<string, any>;
115
+ tableData: Record<string, any>[];
116
+ type: "add" | "delete" | "update" | "sort";
117
+ }) => any) | undefined;
118
+ onRowChange?: ((data: Record<string, any>) => any) | undefined;
119
+ }>, {}, {}, {}, {}, {
120
+ id: string;
121
+ modelValue: Record<string, any>[];
122
+ columns: import('..').SchemaRuntimeConfig[];
123
+ editConfig: import('.').EditConfigType;
124
+ isWrap: boolean;
125
+ isCompact: boolean;
126
+ showNum: boolean;
127
+ showChar: boolean;
128
+ }>;
129
+ __isFragment?: never;
130
+ __isTeleport?: never;
131
+ __isSuspense?: never;
132
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
133
+ modelValue: {
134
+ type: import('vue').PropType<Record<string, any>[]>;
135
+ default: () => never[];
136
+ };
137
+ columns: {
138
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
139
+ default: () => never[];
140
+ };
141
+ editConfig: {
142
+ type: import('vue').PropType<import('.').EditConfigType>;
143
+ default: () => {};
144
+ };
145
+ isCompact: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ showNum: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ showChar: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ isWrap: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ id: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ }>> & Readonly<{
166
+ "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
167
+ onChange?: ((data: {
168
+ id: string;
169
+ value: any;
170
+ data: any;
171
+ formData: Record<string, any>;
172
+ tableData: Record<string, any>[];
173
+ type: "add" | "delete" | "update" | "sort";
174
+ }) => any) | undefined;
175
+ onRowChange?: ((data: Record<string, any>) => any) | undefined;
176
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
177
+ "update:modelValue": (value: Record<string, any>[]) => any;
178
+ change: (data: {
179
+ id: string;
180
+ value: any;
181
+ data: any;
182
+ formData: Record<string, any>;
183
+ tableData: Record<string, any>[];
184
+ type: "add" | "delete" | "update" | "sort";
185
+ }) => any;
186
+ rowChange: (data: Record<string, any>) => any;
187
+ }, string, {
188
+ id: string;
189
+ modelValue: Record<string, any>[];
190
+ columns: import('..').SchemaRuntimeConfig[];
191
+ editConfig: import('.').EditConfigType;
192
+ isWrap: boolean;
193
+ isCompact: boolean;
194
+ showNum: boolean;
195
+ showChar: boolean;
196
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
197
+ install: (app: import('vue').App) => void;
198
+ };
199
+ export default JInputRows;
200
+ export type { EditConfigType } from './src/interface';