@a2simcode/ui 0.0.2 → 0.0.4

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 (89) hide show
  1. package/README.md +1 -0
  2. package/dist/components/autocomplete/index.d.ts +118 -0
  3. package/dist/components/autocomplete/src/autocomplete.vue.d.ts +109 -0
  4. package/dist/components/barcode/index.d.ts +114 -0
  5. package/dist/components/barcode/src/barcode.vue.d.ts +101 -0
  6. package/dist/components/button/index.d.ts +278 -0
  7. package/dist/components/button/src/button.vue.d.ts +268 -0
  8. package/dist/components/buttons/index.d.ts +81 -0
  9. package/dist/components/buttons/src/index.vue.d.ts +76 -0
  10. package/dist/components/buttons/src/interface.d.ts +128 -0
  11. package/dist/components/buttons/src/useButtons.d.ts +4 -0
  12. package/dist/components/cascader-select/index.d.ts +142 -0
  13. package/dist/components/cascader-select/src/cascader-select.vue.d.ts +128 -0
  14. package/dist/components/checkbox/index.d.ts +73 -0
  15. package/dist/components/checkbox/src/checkbox.vue.d.ts +55 -0
  16. package/dist/components/code-mirror/index.d.ts +74 -0
  17. package/dist/components/code-mirror/src/code-mirror.vue.d.ts +45 -0
  18. package/dist/components/comp/index.d.ts +157 -0
  19. package/dist/components/comp/src/comp.vue.d.ts +164 -0
  20. package/dist/components/dialog/index.d.ts +416 -0
  21. package/dist/components/dialog/src/index.vue.d.ts +404 -0
  22. package/dist/components/dialog-full/index.d.ts +311 -0
  23. package/dist/components/dialog-full/src/index.vue.d.ts +287 -0
  24. package/dist/components/drawer/index.d.ts +335 -0
  25. package/dist/components/drawer/src/drawer.vue.d.ts +337 -0
  26. package/dist/components/dynamic-layer/index.d.ts +25 -0
  27. package/dist/components/dynamic-layer/src/dynamic-layer.vue.d.ts +8 -0
  28. package/dist/components/dynamic-layer/src/interface.d.ts +66 -0
  29. package/dist/components/echarts/index.d.ts +177 -0
  30. package/dist/components/echarts/src/echarts.vue.d.ts +118 -0
  31. package/dist/components/form/index.d.ts +194 -0
  32. package/dist/components/form/src/form.vue.d.ts +106 -0
  33. package/dist/components/form/src/interface.d.ts +138 -0
  34. package/dist/components/form/src/useForm/index.d.ts +9 -0
  35. package/dist/components/form/src/useForm/interface.d.ts +170 -0
  36. package/dist/components/form/src/useForm/validateUtil.d.ts +5 -0
  37. package/dist/components/form-item/index.d.ts +112 -0
  38. package/dist/components/form-item/src/form-item.vue.d.ts +97 -0
  39. package/dist/components/icon/index.d.ts +31 -0
  40. package/dist/components/icon/src/icon.vue.d.ts +33 -0
  41. package/dist/components/index.d.ts +35 -0
  42. package/dist/components/input/index.d.ts +111 -0
  43. package/dist/components/input/src/input.vue.d.ts +110 -0
  44. package/dist/components/input-tag/index.d.ts +75 -0
  45. package/dist/components/input-tag/src/input-tag.vue.d.ts +40 -0
  46. package/dist/components/layer/index.d.ts +284 -0
  47. package/dist/components/layer/src/layer.vue.d.ts +263 -0
  48. package/dist/components/layout/__tests__/layout.test.d.ts +1 -0
  49. package/dist/components/layout/index.d.ts +173 -0
  50. package/dist/components/layout/src/layout.vue.d.ts +187 -0
  51. package/dist/components/number/index.d.ts +85 -0
  52. package/dist/components/number/src/number.vue.d.ts +78 -0
  53. package/dist/components/page/index.d.ts +67 -0
  54. package/dist/components/page/src/interface.d.ts +22 -0
  55. package/dist/components/page/src/page.vue.d.ts +52 -0
  56. package/dist/components/radio/index.d.ts +152 -0
  57. package/dist/components/radio/src/radio.vue.d.ts +123 -0
  58. package/dist/components/rate/index.d.ts +71 -0
  59. package/dist/components/rate/src/rate.vue.d.ts +42 -0
  60. package/dist/components/select/index.d.ts +88 -0
  61. package/dist/components/select/src/select.vue.d.ts +75 -0
  62. package/dist/components/slider/index.d.ts +89 -0
  63. package/dist/components/slider/src/slider.vue.d.ts +76 -0
  64. package/dist/components/table/index.d.ts +160 -0
  65. package/dist/components/table/src/table.vue.d.ts +143 -0
  66. package/dist/components/upload/index.d.ts +405 -0
  67. package/dist/components/upload/src/list.vue.d.ts +103 -0
  68. package/dist/components/upload/src/upload.vue.d.ts +367 -0
  69. package/dist/components/upload/src/utils.d.ts +2 -0
  70. package/dist/{utils → components/utils}/index.d.ts +0 -1
  71. package/dist/core/index.d.ts +1 -0
  72. package/dist/core/utils/cipher.d.ts +21 -0
  73. package/dist/core/utils/common.d.ts +41 -0
  74. package/dist/core/utils/comp.d.ts +9 -0
  75. package/dist/core/utils/date.d.ts +3 -0
  76. package/dist/core/utils/dom.d.ts +4 -0
  77. package/dist/core/utils/index.d.ts +6 -0
  78. package/dist/core/utils/is.d.ts +2 -0
  79. package/dist/index.d.ts +6 -9
  80. package/dist/simcode-ui.es.js +5021 -81
  81. package/dist/simcode-ui.umd.js +1 -1
  82. package/dist/stats.html +4949 -0
  83. package/dist/ui.css +1 -0
  84. package/package.json +36 -22
  85. package/dist/button/index.d.ts +0 -157
  86. package/dist/button/src/button.vue.d.ts +0 -78
  87. package/dist/input/index.d.ts +0 -137
  88. package/dist/input/src/input.vue.d.ts +0 -64
  89. package/dist/style.css +0 -1
@@ -0,0 +1,157 @@
1
+ declare const JComp: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ modelValue: {
4
+ type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
5
+ default: undefined;
6
+ };
7
+ row: {
8
+ type: import('vue').PropType<Record<string, any>>;
9
+ default: () => void;
10
+ };
11
+ id: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ type: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ getCompType: {
20
+ type: FunctionConstructor;
21
+ default: undefined;
22
+ };
23
+ config: {
24
+ type: import('vue').PropType<Record<string, any>>;
25
+ default: () => void;
26
+ };
27
+ getCompConfig: {
28
+ type: FunctionConstructor;
29
+ default: undefined;
30
+ };
31
+ children: {
32
+ type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
33
+ default: () => never[];
34
+ };
35
+ }>> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
37
+ onChange?: ((...args: unknown[] & []) => any) | undefined;
38
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ "update:modelValue": (value: string | number | boolean | any[] | Record<string, any> | undefined) => any;
40
+ change: ((...args: unknown[]) => any) | (() => any);
41
+ }, import('vue').PublicProps, {
42
+ type: string;
43
+ id: string;
44
+ modelValue: string | number | boolean | any[] | Record<string, any>;
45
+ children: import('./src/comp.vue').SchemaRuntimeConfig[];
46
+ row: Record<string, any>;
47
+ getCompType: Function;
48
+ config: Record<string, any>;
49
+ getCompConfig: Function;
50
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
51
+ P: {};
52
+ B: {};
53
+ D: {};
54
+ C: {};
55
+ M: {};
56
+ Defaults: {};
57
+ }, Readonly<import('vue').ExtractPropTypes<{
58
+ modelValue: {
59
+ type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
60
+ default: undefined;
61
+ };
62
+ row: {
63
+ type: import('vue').PropType<Record<string, any>>;
64
+ default: () => void;
65
+ };
66
+ id: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ type: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ getCompType: {
75
+ type: FunctionConstructor;
76
+ default: undefined;
77
+ };
78
+ config: {
79
+ type: import('vue').PropType<Record<string, any>>;
80
+ default: () => void;
81
+ };
82
+ getCompConfig: {
83
+ type: FunctionConstructor;
84
+ default: undefined;
85
+ };
86
+ children: {
87
+ type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
88
+ default: () => never[];
89
+ };
90
+ }>> & Readonly<{
91
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
92
+ onChange?: ((...args: unknown[] & []) => any) | undefined;
93
+ }>, {}, {}, {}, {}, {
94
+ type: string;
95
+ id: string;
96
+ modelValue: string | number | boolean | any[] | Record<string, any>;
97
+ children: import('./src/comp.vue').SchemaRuntimeConfig[];
98
+ row: Record<string, any>;
99
+ getCompType: Function;
100
+ config: Record<string, any>;
101
+ getCompConfig: Function;
102
+ }>;
103
+ __isFragment?: never;
104
+ __isTeleport?: never;
105
+ __isSuspense?: never;
106
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
107
+ modelValue: {
108
+ type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
109
+ default: undefined;
110
+ };
111
+ row: {
112
+ type: import('vue').PropType<Record<string, any>>;
113
+ default: () => void;
114
+ };
115
+ id: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ type: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ getCompType: {
124
+ type: FunctionConstructor;
125
+ default: undefined;
126
+ };
127
+ config: {
128
+ type: import('vue').PropType<Record<string, any>>;
129
+ default: () => void;
130
+ };
131
+ getCompConfig: {
132
+ type: FunctionConstructor;
133
+ default: undefined;
134
+ };
135
+ children: {
136
+ type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
137
+ default: () => never[];
138
+ };
139
+ }>> & Readonly<{
140
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
141
+ onChange?: ((...args: unknown[] & []) => any) | undefined;
142
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
143
+ "update:modelValue": (value: string | number | boolean | any[] | Record<string, any> | undefined) => any;
144
+ change: ((...args: unknown[]) => any) | (() => any);
145
+ }, string, {
146
+ type: string;
147
+ id: string;
148
+ modelValue: string | number | boolean | any[] | Record<string, any>;
149
+ children: import('./src/comp.vue').SchemaRuntimeConfig[];
150
+ row: Record<string, any>;
151
+ getCompType: Function;
152
+ config: Record<string, any>;
153
+ getCompConfig: Function;
154
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
155
+ install: (app: import('vue').App) => void;
156
+ };
157
+ export default JComp;
@@ -0,0 +1,164 @@
1
+ import { PropType } from 'vue';
2
+ export interface SchemaRuntimeConfig {
3
+ /**
4
+ * @zh id
5
+ */
6
+ id: string;
7
+ /**
8
+ * @zh 插槽名称
9
+ */
10
+ slot?: string;
11
+ /**
12
+ * @zh 组件类型
13
+ */
14
+ type: string;
15
+ /**
16
+ * @zh 获取组件类型
17
+ */
18
+ getCompType?: any;
19
+ /**
20
+ * @zh 组件配置
21
+ */
22
+ config?: Record<string, any>;
23
+ /**
24
+ * @zh 获取组件配置
25
+ */
26
+ getCompConfig?: any;
27
+ /**
28
+ * @zh 子集
29
+ */
30
+ children?: SchemaRuntimeConfig[];
31
+ }
32
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
33
+ /**
34
+ * @zh 输入值
35
+ * @vModel
36
+ */
37
+ modelValue: {
38
+ type: PropType<string | number | boolean | any[] | Record<string, any>>;
39
+ default: undefined;
40
+ };
41
+ /**
42
+ * @zh 行数据
43
+ */
44
+ row: {
45
+ type: PropType<Record<string, any>>;
46
+ default: () => void;
47
+ };
48
+ /**
49
+ * @zh 组件 id
50
+ */
51
+ id: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ /**
56
+ * @zh 组件类型
57
+ */
58
+ type: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ /**
63
+ * @zh 获取组件类型
64
+ */
65
+ getCompType: {
66
+ type: FunctionConstructor;
67
+ default: undefined;
68
+ };
69
+ /**
70
+ * @zh 组件配置
71
+ */
72
+ config: {
73
+ type: PropType<Record<string, any>>;
74
+ default: () => void;
75
+ };
76
+ /**
77
+ * @zh 获取组件配置
78
+ */
79
+ getCompConfig: {
80
+ type: FunctionConstructor;
81
+ default: undefined;
82
+ };
83
+ /**
84
+ * @zh 子集
85
+ */
86
+ children: {
87
+ type: PropType<SchemaRuntimeConfig[]>;
88
+ default: () => never[];
89
+ };
90
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
91
+ "update:modelValue": (value: string | number | boolean | any[] | Record<string, any> | undefined) => any;
92
+ change: ((...args: unknown[]) => any) | (() => any);
93
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
94
+ /**
95
+ * @zh 输入值
96
+ * @vModel
97
+ */
98
+ modelValue: {
99
+ type: PropType<string | number | boolean | any[] | Record<string, any>>;
100
+ default: undefined;
101
+ };
102
+ /**
103
+ * @zh 行数据
104
+ */
105
+ row: {
106
+ type: PropType<Record<string, any>>;
107
+ default: () => void;
108
+ };
109
+ /**
110
+ * @zh 组件 id
111
+ */
112
+ id: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ /**
117
+ * @zh 组件类型
118
+ */
119
+ type: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ /**
124
+ * @zh 获取组件类型
125
+ */
126
+ getCompType: {
127
+ type: FunctionConstructor;
128
+ default: undefined;
129
+ };
130
+ /**
131
+ * @zh 组件配置
132
+ */
133
+ config: {
134
+ type: PropType<Record<string, any>>;
135
+ default: () => void;
136
+ };
137
+ /**
138
+ * @zh 获取组件配置
139
+ */
140
+ getCompConfig: {
141
+ type: FunctionConstructor;
142
+ default: undefined;
143
+ };
144
+ /**
145
+ * @zh 子集
146
+ */
147
+ children: {
148
+ type: PropType<SchemaRuntimeConfig[]>;
149
+ default: () => never[];
150
+ };
151
+ }>> & Readonly<{
152
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
153
+ onChange?: ((...args: unknown[] & []) => any) | undefined;
154
+ }>, {
155
+ type: string;
156
+ id: string;
157
+ modelValue: string | number | boolean | any[] | Record<string, any>;
158
+ children: SchemaRuntimeConfig[];
159
+ row: Record<string, any>;
160
+ getCompType: Function;
161
+ config: Record<string, any>;
162
+ getCompConfig: Function;
163
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
164
+ export default _default;