sd-render 1.1.7 → 1.2.0
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/package.json +1 -1
- package/{sd-lib-Dslq9vnq.js → sd-lib-CdzQnrjh.js} +1370 -1241
- package/{sd-render-BERmrNsG.js → sd-render-FK6Mjp-B.js} +655 -644
- package/sd-render.es.js +2 -2
- package/sd-render.style.css +1 -1
- package/types/src/components/form-render/SdFormRender.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/alert-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/apexchart-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/autonumber-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/avatar-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/btn-editor-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/button-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/carousel-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/chart-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/checkbox-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/code-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/color-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/crop-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/datagrid-form-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/datagrid-sql-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/date-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/date-range-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/divider-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/dropdown-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/dynamic-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/file-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/group-list-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/html-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/html-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/icon-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/image-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/json-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/link-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/list-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/masked-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/multiple-date.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/number-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/objectid-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/picture-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/progress-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/qrcode-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/radio-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/radio-text-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/rate-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/record-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/report-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/segmented-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-data-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-form-input.vue.d.ts +7 -4
- package/types/src/components/form-render/form-field/select-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-path-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-sql-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/side-menu-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/slider-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/statistic-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/step-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/svg-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/svg-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/switch-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/tags-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/text-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/text-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/textarea-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-range-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-select-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/tour-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/mixins/CoreFieldMixin.d.ts +3 -0
- package/types/src/components/sdwidget/SdCrudForm.vue.d.ts +3 -0
- package/types/src/components/sdwidget/SdCrudGrid.vue.d.ts +5 -0
- package/types/src/components/sdwidget/SdUiCarousel.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiListView.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiMenu.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiRecordView.vue.d.ts +5 -0
|
@@ -54,6 +54,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
54
54
|
globalApiUrl: any;
|
|
55
55
|
globalAuthToken: any;
|
|
56
56
|
globalSdForm: any;
|
|
57
|
+
formParams: any;
|
|
57
58
|
}, {
|
|
58
59
|
oldFieldValue: any;
|
|
59
60
|
defaultValue: any;
|
|
@@ -80,6 +81,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
80
81
|
get(): any;
|
|
81
82
|
set(newValue: any): void;
|
|
82
83
|
};
|
|
84
|
+
parentId(): string;
|
|
85
|
+
params(): any;
|
|
83
86
|
}, {
|
|
84
87
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
85
88
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -61,6 +61,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
61
61
|
globalApiUrl: any;
|
|
62
62
|
globalAuthToken: any;
|
|
63
63
|
globalSdForm: any;
|
|
64
|
+
formParams: any;
|
|
64
65
|
}, {
|
|
65
66
|
oldFieldValue: any;
|
|
66
67
|
defaultValue: any;
|
|
@@ -87,6 +88,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
87
88
|
get(): any;
|
|
88
89
|
set(newValue: any): void;
|
|
89
90
|
};
|
|
91
|
+
parentId(): string;
|
|
92
|
+
params(): any;
|
|
90
93
|
}, {
|
|
91
94
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
92
95
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -45,6 +45,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
45
45
|
globalApiUrl: any;
|
|
46
46
|
globalAuthToken: any;
|
|
47
47
|
globalSdForm: any;
|
|
48
|
+
formParams: any;
|
|
48
49
|
}, {
|
|
49
50
|
oldFieldValue: any;
|
|
50
51
|
defaultValue: any;
|
|
@@ -71,6 +72,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
71
72
|
get(): any;
|
|
72
73
|
set(newValue: any): void;
|
|
73
74
|
};
|
|
75
|
+
parentId(): string;
|
|
76
|
+
params(): any;
|
|
74
77
|
}, {
|
|
75
78
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
76
79
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -50,6 +50,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
50
50
|
globalApiUrl: any;
|
|
51
51
|
globalAuthToken: any;
|
|
52
52
|
globalSdForm: any;
|
|
53
|
+
formParams: any;
|
|
53
54
|
}, {
|
|
54
55
|
oldFieldValue: any;
|
|
55
56
|
defaultValue: any;
|
|
@@ -76,6 +77,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
76
77
|
get(): any;
|
|
77
78
|
set(newValue: any): void;
|
|
78
79
|
};
|
|
80
|
+
parentId(): string;
|
|
81
|
+
params(): any;
|
|
79
82
|
}, {
|
|
80
83
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
81
84
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -50,6 +50,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
50
50
|
globalApiUrl: any;
|
|
51
51
|
globalAuthToken: any;
|
|
52
52
|
globalSdForm: any;
|
|
53
|
+
formParams: any;
|
|
53
54
|
}, {
|
|
54
55
|
oldFieldValue: any;
|
|
55
56
|
defaultValue: any;
|
|
@@ -76,6 +77,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
76
77
|
get(): any;
|
|
77
78
|
set(newValue: any): void;
|
|
78
79
|
};
|
|
80
|
+
parentId(): string;
|
|
81
|
+
params(): any;
|
|
79
82
|
}, {
|
|
80
83
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
81
84
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -51,6 +51,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
51
51
|
globalApiUrl: any;
|
|
52
52
|
globalAuthToken: any;
|
|
53
53
|
globalSdForm: any;
|
|
54
|
+
formParams: any;
|
|
54
55
|
}, {
|
|
55
56
|
oldFieldValue: any;
|
|
56
57
|
defaultValue: any;
|
|
@@ -77,6 +78,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
77
78
|
get(): any;
|
|
78
79
|
set(newValue: any): void;
|
|
79
80
|
};
|
|
81
|
+
parentId(): string;
|
|
82
|
+
params(): any;
|
|
80
83
|
}, {
|
|
81
84
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
82
85
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -45,6 +45,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
45
45
|
globalApiUrl: any;
|
|
46
46
|
globalAuthToken: any;
|
|
47
47
|
globalSdForm: any;
|
|
48
|
+
formParams: any;
|
|
48
49
|
}, {
|
|
49
50
|
oldFieldValue: any;
|
|
50
51
|
defaultValue: any;
|
|
@@ -71,6 +72,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
71
72
|
get(): any;
|
|
72
73
|
set(newValue: any): void;
|
|
73
74
|
};
|
|
75
|
+
parentId(): string;
|
|
76
|
+
params(): any;
|
|
74
77
|
}, {
|
|
75
78
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
76
79
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -50,6 +50,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
50
50
|
globalApiUrl: any;
|
|
51
51
|
globalAuthToken: any;
|
|
52
52
|
globalSdForm: any;
|
|
53
|
+
formParams: any;
|
|
53
54
|
}, {
|
|
54
55
|
oldFieldValue: any;
|
|
55
56
|
defaultValue: any;
|
|
@@ -76,6 +77,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
76
77
|
get(): any;
|
|
77
78
|
set(newValue: any): void;
|
|
78
79
|
};
|
|
80
|
+
parentId(): string;
|
|
81
|
+
params(): any;
|
|
79
82
|
}, {
|
|
80
83
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
81
84
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -51,6 +51,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
51
51
|
globalApiUrl: any;
|
|
52
52
|
globalAuthToken: any;
|
|
53
53
|
globalSdForm: any;
|
|
54
|
+
formParams: any;
|
|
54
55
|
}, {
|
|
55
56
|
oldFieldValue: any;
|
|
56
57
|
defaultValue: any;
|
|
@@ -77,6 +78,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
77
78
|
get(): any;
|
|
78
79
|
set(newValue: any): void;
|
|
79
80
|
};
|
|
81
|
+
parentId(): string;
|
|
82
|
+
params(): any;
|
|
80
83
|
}, {
|
|
81
84
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
82
85
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -50,6 +50,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
50
50
|
globalApiUrl: any;
|
|
51
51
|
globalAuthToken: any;
|
|
52
52
|
globalSdForm: any;
|
|
53
|
+
formParams: any;
|
|
53
54
|
}, {
|
|
54
55
|
oldFieldValue: any;
|
|
55
56
|
defaultValue: any;
|
|
@@ -76,6 +77,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
76
77
|
get(): any;
|
|
77
78
|
set(newValue: any): void;
|
|
78
79
|
};
|
|
80
|
+
parentId(): string;
|
|
81
|
+
params(): any;
|
|
79
82
|
}, {
|
|
80
83
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
81
84
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -52,6 +52,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
52
52
|
globalApiUrl: any;
|
|
53
53
|
globalAuthToken: any;
|
|
54
54
|
globalSdForm: any;
|
|
55
|
+
formParams: any;
|
|
55
56
|
}, {
|
|
56
57
|
oldFieldValue: any;
|
|
57
58
|
defaultValue: any;
|
|
@@ -78,6 +79,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
78
79
|
get(): any;
|
|
79
80
|
set(newValue: any): void;
|
|
80
81
|
};
|
|
82
|
+
parentId(): string;
|
|
83
|
+
params(): any;
|
|
81
84
|
}, {
|
|
82
85
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
83
86
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -49,6 +49,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
49
49
|
globalApiUrl: any;
|
|
50
50
|
globalAuthToken: any;
|
|
51
51
|
globalSdForm: any;
|
|
52
|
+
formParams: any;
|
|
52
53
|
}, {
|
|
53
54
|
oldFieldValue: any;
|
|
54
55
|
defaultValue: any;
|
|
@@ -75,6 +76,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
75
76
|
get(): any;
|
|
76
77
|
set(newValue: any): void;
|
|
77
78
|
};
|
|
79
|
+
parentId(): string;
|
|
80
|
+
params(): any;
|
|
78
81
|
}, {
|
|
79
82
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
80
83
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -45,6 +45,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
45
45
|
globalApiUrl: any;
|
|
46
46
|
globalAuthToken: any;
|
|
47
47
|
globalSdForm: any;
|
|
48
|
+
formParams: any;
|
|
48
49
|
}, {
|
|
49
50
|
oldFieldValue: any;
|
|
50
51
|
defaultValue: any;
|
|
@@ -71,6 +72,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
71
72
|
get(): any;
|
|
72
73
|
set(newValue: any): void;
|
|
73
74
|
};
|
|
75
|
+
parentId(): string;
|
|
76
|
+
params(): any;
|
|
74
77
|
}, {
|
|
75
78
|
notify(message: any, type?: any, title?: string, duration?: any): void;
|
|
76
79
|
alert(message: any, type?: any, duration?: any): void;
|
|
@@ -363,6 +363,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
363
363
|
size(): any;
|
|
364
364
|
customClass(): any;
|
|
365
365
|
formParentId(): any;
|
|
366
|
+
formDataId(): any;
|
|
366
367
|
formParams(): any;
|
|
367
368
|
}, {
|
|
368
369
|
subFormOpen(bindProps: any): void;
|
|
@@ -495,6 +496,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
495
496
|
size(): any;
|
|
496
497
|
customClass(): any;
|
|
497
498
|
formParentId(): any;
|
|
499
|
+
formDataId(): any;
|
|
498
500
|
formParams(): any;
|
|
499
501
|
}, /*elided*/ any, import('vue').DefineComponent<{}, {
|
|
500
502
|
refList: any;
|
|
@@ -641,6 +643,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
641
643
|
size(): any;
|
|
642
644
|
customClass(): any;
|
|
643
645
|
formParentId(): any;
|
|
646
|
+
formDataId(): any;
|
|
644
647
|
formParams(): any;
|
|
645
648
|
}, {
|
|
646
649
|
setCurrentInstance(): void;
|
|
@@ -326,13 +326,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
326
326
|
dpExportRow: SdProvider;
|
|
327
327
|
sdFunc: any;
|
|
328
328
|
isFormEnable: boolean;
|
|
329
|
+
defaultParentId: string;
|
|
330
|
+
defaultWhere: string;
|
|
329
331
|
}, {
|
|
330
332
|
actionWidthAuto(): number;
|
|
331
333
|
totalLabel(): string;
|
|
334
|
+
ddId(): string;
|
|
332
335
|
rowStartLabel(): string;
|
|
333
336
|
rowEndLabel(): string;
|
|
334
337
|
getSummary(): (params: SummaryMethod) => any;
|
|
338
|
+
getParentFormId(): any;
|
|
335
339
|
}, {
|
|
340
|
+
changeParentId(parentId: string): void;
|
|
336
341
|
genIndex(index: number): any;
|
|
337
342
|
handleExportOpen(): void;
|
|
338
343
|
handleExportClose(data: any): void;
|
|
@@ -169,9 +169,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
169
169
|
widgetId: string;
|
|
170
170
|
isFormEnable: boolean;
|
|
171
171
|
loadEnable: boolean;
|
|
172
|
+
defaultParentId: string;
|
|
173
|
+
defaultWhere: string;
|
|
172
174
|
}, {
|
|
173
175
|
htmlValue(): (value: string, rawData: any) => string;
|
|
176
|
+
getParentFormId(): any;
|
|
174
177
|
}, {
|
|
178
|
+
changeParentId(parentId: string): void;
|
|
175
179
|
initSQL(): void;
|
|
176
180
|
initForm(sdform: any): void;
|
|
177
181
|
keyIdIndex(dataId: any): number;
|
|
@@ -265,10 +265,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
265
265
|
groupValue: {};
|
|
266
266
|
loadEnable: boolean;
|
|
267
267
|
defaultImg: string;
|
|
268
|
+
defaultParentId: string;
|
|
269
|
+
defaultWhere: string;
|
|
268
270
|
}, {
|
|
269
271
|
colSpan(): () => number;
|
|
270
272
|
htmlValue(): (value: string, rawData: any) => string;
|
|
273
|
+
getParentFormId(): any;
|
|
271
274
|
}, {
|
|
275
|
+
changeParentId(parentId: string): void;
|
|
272
276
|
initSQL(): void;
|
|
273
277
|
initForm(sdform: any): void;
|
|
274
278
|
keyIdIndex(dataId: any): number;
|
|
@@ -188,9 +188,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
188
188
|
isCollapse: boolean;
|
|
189
189
|
loadEnable: boolean;
|
|
190
190
|
menuWidthOnexpand: number;
|
|
191
|
+
defaultParentId: string;
|
|
192
|
+
defaultWhere: string;
|
|
191
193
|
}, {
|
|
192
194
|
htmlValue(): (value: string, rawData: any) => string;
|
|
195
|
+
getParentFormId(): any;
|
|
193
196
|
}, {
|
|
197
|
+
changeParentId(parentId: string): void;
|
|
194
198
|
initSQL(): void;
|
|
195
199
|
initForm(sdform: any): void;
|
|
196
200
|
keyIdIndex(dataId: any): number;
|
|
@@ -188,9 +188,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
188
188
|
sdFunc: any;
|
|
189
189
|
isFormEnable: boolean;
|
|
190
190
|
afterDeleteForm: any;
|
|
191
|
+
defaultParentId: string;
|
|
192
|
+
defaultWhere: string;
|
|
193
|
+
defaultWhereParent: string;
|
|
191
194
|
}, {
|
|
192
195
|
htmlValue(): (value: string, rawData: any, field: BlockFields) => string;
|
|
196
|
+
getParentFormId(): any;
|
|
193
197
|
}, {
|
|
198
|
+
changeParentId(parentId: string): void;
|
|
194
199
|
handleAdd(): void;
|
|
195
200
|
handleUpdate(dataId: any): void;
|
|
196
201
|
handleDelete(dataId: any): void;
|