sd-render 1.2.3 → 1.2.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 (26) hide show
  1. package/api-docs.html +1460 -0
  2. package/field-docs.html +15358 -0
  3. package/package.json +1 -1
  4. package/{sd-lib-dHIV-L4J.js → sd-lib-Cczl-l04.js} +2104 -1900
  5. package/{sd-render-CNzGzWA1.js → sd-render-DETM6GzA.js} +757 -684
  6. package/sd-render.es.js +58 -57
  7. package/sd-render.style.css +1 -1
  8. package/types/src/components/form-render/form-field/cascader-form-input.vue.d.ts +372 -0
  9. package/types/src/components/input3/eltiptap/widget/ExtensionViews/ImageView.vue.d.ts +8 -8
  10. package/types/src/components/input3/eltiptap/widget/MenuCommands/ColorPopover.vue.d.ts +8 -8
  11. package/types/src/components/input3/eltiptap/widget/MenuCommands/CommandButton.vue.d.ts +6 -6
  12. package/types/src/components/input3/eltiptap/widget/MenuCommands/FontFamilyDropdown.vue.d.ts +28 -28
  13. package/types/src/components/input3/eltiptap/widget/MenuCommands/FontSizeDropdown.vue.d.ts +28 -28
  14. package/types/src/components/input3/eltiptap/widget/MenuCommands/HeadingDropdown.vue.d.ts +28 -28
  15. package/types/src/components/input3/eltiptap/widget/MenuCommands/HighlightPopover.vue.d.ts +8 -8
  16. package/types/src/components/input3/eltiptap/widget/MenuCommands/Image/ImageDisplayCommandButton.vue.d.ts +8 -8
  17. package/types/src/components/input3/eltiptap/widget/MenuCommands/Image/InsertImageCommandButton.vue.d.ts +8 -8
  18. package/types/src/components/input3/eltiptap/widget/MenuCommands/LineHeightDropdown.vue.d.ts +28 -28
  19. package/types/src/components/input3/eltiptap/widget/MenuCommands/TablePopover/CreateTablePopover.vue.d.ts +8 -8
  20. package/types/src/components/input3/eltiptap/widget/MenuCommands/TablePopover/index.vue.d.ts +8 -8
  21. package/types/src/components/sdlib.d.ts +1 -0
  22. package/types/src/components/sdwidget/SdCascaderForm.vue.d.ts +128 -0
  23. package/types/src/components/sdwidget/SdFormSchema.vue.d.ts +3 -5
  24. package/types/src/components/sdwidget/SdFormSchemaForm.vue.d.ts +3 -5
  25. package/types/src/components/sdwidget/SdGallery.vue.d.ts +6 -10
  26. package/types/src/components/sdwidget/SdChart.vue.d.ts +0 -282
@@ -1,282 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { ChartData } from 'chart.js';
3
- import { ConnectStateStore } from '../../types/StateStore';
4
- import { UserState } from '../../types/User';
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- sqlId: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- params: {
11
- type: PropType<any>;
12
- default: {};
13
- };
14
- width: {
15
- type: NumberConstructor;
16
- };
17
- height: {
18
- type: NumberConstructor;
19
- };
20
- type: {
21
- type: PropType<"bar" | "line" | "bubble" | "doughnut" | "pie" | "polarArea" | "radar" | "scatter">;
22
- default: string;
23
- };
24
- title: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- titleDisplay: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- gridDisplay: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- legendDisplay: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- legendCustom: {
41
- type: PropType<any>;
42
- default: {};
43
- };
44
- scalesXDisplay: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- scalesXLabel: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- scalesXCustom: {
53
- type: PropType<any>;
54
- default: {};
55
- };
56
- xField: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- xType: {
61
- type: PropType<"category" | "time">;
62
- default: string;
63
- };
64
- scalesYDisplay: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- scalesYLabel: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- scalesYCustom: {
73
- type: PropType<any>;
74
- default: {};
75
- };
76
- yDataset: {
77
- type: PropType<{
78
- field: string;
79
- label: string;
80
- type?: "bar" | "line" | "bubble" | "doughnut" | "pie" | "polarArea" | "radar" | "scatter";
81
- backgroundColor?: string | Array<string>;
82
- borderColor?: string | Array<string>;
83
- fill?: boolean;
84
- custom?: any;
85
- }[]>;
86
- default: never[];
87
- };
88
- customOptions: {
89
- type: PropType<any>;
90
- default: {};
91
- };
92
- userState: {
93
- type: PropType<ConnectStateStore>;
94
- required: true;
95
- };
96
- mockup: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- buildState: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- }>, {
105
- chartRef: import('vue').Ref<any, any>;
106
- }, {
107
- options: any;
108
- dataMockup: ChartData;
109
- optionsMockup: any;
110
- defaultParams: any;
111
- rawData: any[];
112
- loadEnable: boolean;
113
- preLoading: boolean;
114
- showChart: boolean;
115
- apiUrl: string;
116
- isDark: import('vue').WritableComputedRef<boolean, boolean>;
117
- useUserState: UserState;
118
- }, {
119
- color(): "#414243" | "#e4e7ed";
120
- dataChart(): any;
121
- }, {
122
- initdata(): Promise<void>;
123
- createOptions(): void;
124
- createOpMockup(): {
125
- responsive: boolean;
126
- scales: {
127
- x: {
128
- type: "time" | "category";
129
- display: boolean;
130
- title: {
131
- display: boolean;
132
- text: string;
133
- };
134
- grid: {
135
- display: boolean;
136
- color: (context: any) => "#414243" | "#e4e7ed";
137
- };
138
- };
139
- y: {
140
- display: boolean;
141
- title: {
142
- display: boolean;
143
- text: string;
144
- };
145
- grid: {
146
- display: boolean;
147
- color: (context: any) => "#414243" | "#e4e7ed";
148
- };
149
- };
150
- };
151
- };
152
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
153
- sqlId: {
154
- type: StringConstructor;
155
- required: true;
156
- };
157
- params: {
158
- type: PropType<any>;
159
- default: {};
160
- };
161
- width: {
162
- type: NumberConstructor;
163
- };
164
- height: {
165
- type: NumberConstructor;
166
- };
167
- type: {
168
- type: PropType<"bar" | "line" | "bubble" | "doughnut" | "pie" | "polarArea" | "radar" | "scatter">;
169
- default: string;
170
- };
171
- title: {
172
- type: StringConstructor;
173
- default: string;
174
- };
175
- titleDisplay: {
176
- type: BooleanConstructor;
177
- default: boolean;
178
- };
179
- gridDisplay: {
180
- type: BooleanConstructor;
181
- default: boolean;
182
- };
183
- legendDisplay: {
184
- type: BooleanConstructor;
185
- default: boolean;
186
- };
187
- legendCustom: {
188
- type: PropType<any>;
189
- default: {};
190
- };
191
- scalesXDisplay: {
192
- type: BooleanConstructor;
193
- default: boolean;
194
- };
195
- scalesXLabel: {
196
- type: StringConstructor;
197
- default: string;
198
- };
199
- scalesXCustom: {
200
- type: PropType<any>;
201
- default: {};
202
- };
203
- xField: {
204
- type: StringConstructor;
205
- default: string;
206
- };
207
- xType: {
208
- type: PropType<"category" | "time">;
209
- default: string;
210
- };
211
- scalesYDisplay: {
212
- type: BooleanConstructor;
213
- default: boolean;
214
- };
215
- scalesYLabel: {
216
- type: StringConstructor;
217
- default: string;
218
- };
219
- scalesYCustom: {
220
- type: PropType<any>;
221
- default: {};
222
- };
223
- yDataset: {
224
- type: PropType<{
225
- field: string;
226
- label: string;
227
- type?: "bar" | "line" | "bubble" | "doughnut" | "pie" | "polarArea" | "radar" | "scatter";
228
- backgroundColor?: string | Array<string>;
229
- borderColor?: string | Array<string>;
230
- fill?: boolean;
231
- custom?: any;
232
- }[]>;
233
- default: never[];
234
- };
235
- customOptions: {
236
- type: PropType<any>;
237
- default: {};
238
- };
239
- userState: {
240
- type: PropType<ConnectStateStore>;
241
- required: true;
242
- };
243
- mockup: {
244
- type: BooleanConstructor;
245
- default: boolean;
246
- };
247
- buildState: {
248
- type: BooleanConstructor;
249
- default: boolean;
250
- };
251
- }>> & Readonly<{}>, {
252
- type: "line" | "bubble" | "bar" | "scatter" | "pie" | "doughnut" | "polarArea" | "radar";
253
- title: string;
254
- params: any;
255
- buildState: boolean;
256
- titleDisplay: boolean;
257
- gridDisplay: boolean;
258
- legendDisplay: boolean;
259
- legendCustom: any;
260
- scalesXDisplay: boolean;
261
- scalesXLabel: string;
262
- scalesXCustom: any;
263
- xField: string;
264
- xType: "time" | "category";
265
- scalesYDisplay: boolean;
266
- scalesYLabel: string;
267
- scalesYCustom: any;
268
- yDataset: {
269
- field: string;
270
- label: string;
271
- type?: "bar" | "line" | "bubble" | "doughnut" | "pie" | "polarArea" | "radar" | "scatter";
272
- backgroundColor?: string | Array<string>;
273
- borderColor?: string | Array<string>;
274
- fill?: boolean;
275
- custom?: any;
276
- }[];
277
- customOptions: any;
278
- mockup: boolean;
279
- }, {}, {
280
- Chart: import('node_modules/vue-chartjs/dist/types').ChartComponent;
281
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
282
- export default _default;