cnhis-design-vue 3.1.9-beta.8 → 3.1.10
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/README.md +22 -22
- package/es/packages/big-table/index.d.ts +1 -1
- package/es/packages/big-table/index.js +5 -5
- package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +41 -20
- package/es/packages/big-table/src/components/NoData.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/packages/big-table/src/components/edit-form/edit-select-table.js +2 -2
- package/es/packages/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/packages/big-table/src/hooks/useEvent.js +1 -1
- package/es/packages/big-table/src/hooks/useFormat.js +1 -1
- package/es/packages/big-table/src/hooks/useNestTable.js +1 -1
- package/es/packages/big-table/src/hooks/useTableParse.js +1 -1
- package/es/packages/big-table/src/utils.js +2 -2
- package/es/packages/big-table/style/index.css +1 -6
- package/es/packages/bpmn-workflow/index.d.ts +1 -1
- package/es/packages/bpmn-workflow/index.js +2 -2
- package/es/packages/button-print/index.d.ts +1 -1
- package/es/packages/button-print/index.js +2 -2
- package/es/packages/chunk-upload/index.d.ts +23 -2
- package/es/packages/chunk-upload/index.js +3 -3
- package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +33 -3
- package/es/packages/chunk-upload/src/chunk-upload-new.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/packages/chunk-upload/src/hooks/upload-data.d.ts +29 -27
- package/es/packages/chunk-upload/src/hooks/upload-data.js +32 -29
- package/es/packages/chunk-upload/src/hooks/vod-data.d.ts +21 -42
- package/es/packages/chunk-upload/src/hooks/vod-data.js +26 -31
- package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +32 -3
- package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue_vue_type_script_setup_true_lang.js +21 -11
- package/es/packages/chunk-upload/style/index.css +3 -1
- package/es/packages/drag-layout/index.d.ts +1 -1
- package/es/packages/drag-layout/index.js +3 -3
- package/es/packages/drag-layout/src/DragLayout.vue.d.ts +2 -3
- package/es/packages/drag-layout/src/DragLayout.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/editor/index.d.ts +1 -1
- package/es/packages/editor/index.js +2 -2
- package/es/packages/fabric-chart/index.d.ts +21 -58
- package/es/packages/fabric-chart/index.js +2 -2
- package/es/packages/fabric-chart/src/FabricChart.vue.d.ts +20 -66
- package/es/packages/fabric-chart/src/FabricChart.vue_vue_type_script_setup_true_lang.js +98 -13
- package/es/packages/fabric-chart/src/hooks/useCenter.d.ts +4 -0
- package/es/packages/fabric-chart/src/hooks/useCenter.js +7 -0
- package/es/packages/fabric-chart/src/hooks/useDraw.d.ts +42 -0
- package/es/packages/fabric-chart/src/hooks/useDraw.js +76 -0
- package/es/packages/fabric-chart/src/hooks/useGrid.d.ts +4 -0
- package/es/packages/fabric-chart/src/hooks/useGrid.js +45 -0
- package/es/packages/fabric-chart/src/hooks/useLeft.d.ts +4 -0
- package/es/packages/fabric-chart/src/hooks/useLeft.js +66 -0
- package/es/packages/fabric-chart/src/hooks/useTop.d.ts +4 -0
- package/es/packages/fabric-chart/src/hooks/useTop.js +124 -0
- package/es/packages/fabric-chart/src/interface.d.ts +88 -0
- package/es/packages/fabric-chart/src/interface.js +4 -0
- package/es/packages/fabric-chart/src/utils/index.d.ts +2 -0
- package/es/packages/fabric-chart/src/utils/index.js +15334 -0
- package/es/packages/field-set/index.d.ts +1 -1
- package/es/packages/field-set/index.js +2 -2
- package/es/packages/form-render/index.d.ts +12 -12
- package/es/packages/form-render/index.js +3 -2
- package/es/packages/form-render/src/FormRender.vue.d.ts +5 -5
- package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.js +23 -9
- package/es/packages/form-render/src/components/cascader.d.ts +1 -1
- package/es/packages/form-render/src/components/cascader.js +0 -1
- package/es/packages/form-render/src/components/checkbox.d.ts +1 -1
- package/es/packages/form-render/src/components/complex.js +1 -1
- package/es/packages/form-render/src/components/radio.d.ts +1 -1
- package/es/packages/form-render/src/components/select.d.ts +1 -1
- package/es/packages/form-render/src/components/slider.js +1 -1
- package/es/packages/form-render/src/constants/index.d.ts +1 -1
- package/es/packages/form-render/src/hooks/index.d.ts +1 -0
- package/es/packages/form-render/src/hooks/index.js +1 -0
- package/es/packages/form-render/src/hooks/useAsyncQueue.js +1 -1
- package/es/packages/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/packages/form-render/src/hooks/useFieldList2Schema.js +1 -1
- package/es/packages/form-render/src/hooks/useFormField.js +1 -3
- package/es/packages/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/packages/form-render/src/hooks/useFormValidator.d.ts +1 -1
- package/es/packages/form-render/src/hooks/useInitialData.d.ts +5 -0
- package/es/packages/form-render/src/hooks/useInitialData.js +11 -0
- package/es/packages/form-render/src/types/fieldItem.d.ts +1 -1
- package/es/packages/form-render/src/types/index.d.ts +2 -2
- package/es/packages/form-render/src/utils/index.d.ts +1 -1
- package/es/packages/form-render/style/index.css +1 -1
- package/es/packages/form-table/index.d.ts +391 -391
- package/es/packages/form-table/index.js +2 -2
- package/es/packages/form-table/src/FormTable.vue.d.ts +45 -45
- package/es/packages/form-table/src/FormTable.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/packages/form-table/src/components/index.d.ts +43 -43
- package/es/packages/form-table/src/components/table-age.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-age.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-date-picker.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-digital.vue.d.ts +2 -2
- package/es/packages/form-table/src/components/table-digital.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-input-password.vue.d.ts +2 -2
- package/es/packages/form-table/src/components/table-input-password.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/packages/form-table/src/components/table-input.vue.d.ts +2 -2
- package/es/packages/form-table/src/components/table-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-month-picker.vue.d.ts +2 -2
- package/es/packages/form-table/src/components/table-month-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-search-more.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-select-multiple.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-select-multiple.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-select.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-textarea.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-textarea.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/packages/form-table/src/components/table-time-picker.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-time-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/components/table-tree-select.vue.d.ts +10 -10
- package/es/packages/form-table/src/components/table-tree-select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/form-table/src/configs/index.d.ts +1 -1
- package/es/packages/form-table/src/hooks/useBoundDate.d.ts +1 -1
- package/es/packages/form-table/src/hooks/useDateType.d.ts +1 -1
- package/es/packages/form-table/src/hooks/useDateType.js +1 -1
- package/es/packages/form-table/src/hooks/useFormCommon.d.ts +1 -1
- package/es/packages/form-table/src/hooks/useFormCommon.js +1 -1
- package/es/packages/form-table/src/hooks/useFormEvent.d.ts +1 -1
- package/es/packages/form-table/src/hooks/useFormEvent.js +1 -1
- package/es/packages/form-table/src/hooks/useItemDefault.d.ts +10 -10
- package/es/packages/form-table/src/hooks/useItemDefault.js +5 -5
- package/es/packages/form-table/src/hooks/useSearch.d.ts +10 -10
- package/es/packages/form-table/src/hooks/useSearch.js +2 -2
- package/es/packages/form-table/src/hooks/useValidate.d.ts +2 -2
- package/es/packages/form-table/src/types/index.d.ts +1 -1
- package/es/packages/grid/index.d.ts +1 -1
- package/es/packages/grid/index.js +4 -4
- package/es/packages/index.css +43 -21
- package/es/packages/index.js +1 -0
- package/es/packages/info-header/index.d.ts +6 -6
- package/es/packages/info-header/index.js +2 -2
- package/es/packages/info-header/src/InfoHeader.vue.d.ts +3 -3
- package/es/packages/info-header/src/SlotRender.d.ts +1 -1
- package/es/packages/map/index.d.ts +1 -1
- package/es/packages/map/index.js +2 -2
- package/es/packages/scale-view/index.d.ts +138 -1
- package/es/packages/scale-view/index.js +4 -4
- package/es/packages/scale-view/src/ScaleView.vue.d.ts +119 -0
- package/es/packages/scale-view/src/ScaleView.vue_vue_type_script_setup_true_lang.js +32 -25
- package/es/packages/scale-view/src/components/AnswerParse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/scale-view/src/components/EvaluateCountdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/scale-view/src/components/LoadingCom.js +7 -0
- package/es/packages/scale-view/src/components/LoadingCom.vue_vue_type_template_id_413329b0_lang.js +16 -0
- package/es/packages/scale-view/src/components/NoData.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/packages/scale-view/src/components/composables/choose-common.d.ts +1 -0
- package/es/packages/scale-view/src/components/composables/choose-common.js +6 -1
- package/es/packages/scale-view/src/components/formitem/r-address.js +1 -1
- package/es/packages/scale-view/src/components/formitem/r-cascader.js +19 -7
- package/es/packages/scale-view/src/components/formitem/r-checkbox.d.ts +9 -0
- package/es/packages/scale-view/src/components/formitem/r-checkbox.js +58 -13
- package/es/packages/scale-view/src/components/formitem/r-collection.js +1 -2
- package/es/packages/scale-view/src/components/formitem/r-datetime.js +6 -3
- package/es/packages/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/packages/scale-view/src/components/formitem/r-radio.d.ts +9 -0
- package/es/packages/scale-view/src/components/formitem/r-radio.js +26 -13
- package/es/packages/scale-view/src/components/formitem/r-select.js +17 -8
- package/es/packages/scale-view/src/components/formitem/r-upload.js +3 -3
- package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/scale-view/src/hooks/scaleview-computed.js +6 -14
- package/es/packages/scale-view/src/hooks/scaleview-init.js +4 -2
- package/es/packages/scale-view/src/hooks/scaleview-props.d.ts +28 -0
- package/es/packages/scale-view/src/hooks/scaleview-props.js +21 -0
- package/es/packages/scale-view/src/hooks/scaleview-state.d.ts +32 -31
- package/es/packages/scale-view/src/hooks/scaleview-state.js +41 -38
- package/es/packages/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/packages/scale-view/src/hooks/scaleview-validate.js +1 -1
- package/es/packages/scale-view/src/hooks/use-component.d.ts +103 -2
- package/es/packages/scale-view/src/hooks/use-component.js +2 -2
- package/es/packages/scale-view/src/hooks/use-evaluate.js +1 -1
- package/es/packages/scale-view/src/hooks/use-event.js +1 -1
- package/es/packages/scale-view/style/index.css +19 -9
- package/es/packages/select-label/index.d.ts +47 -3
- package/es/packages/select-label/index.js +2 -2
- package/es/packages/select-label/src/LabelFormContent.vue.d.ts +2 -2
- package/es/packages/select-label/src/LabelFormContent.vue_vue_type_script_setup_true_lang.js +2 -3
- package/es/packages/select-label/src/SelectLabel.vue.d.ts +59 -9
- package/es/packages/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.js +22 -4
- package/es/packages/select-label/src/components/label-classify.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/packages/select-label/style/index.css +10 -0
- package/es/packages/select-person/index.d.ts +1 -1
- package/es/packages/select-person/index.js +2 -2
- package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/packages/time-line/index.d.ts +1 -1
- package/es/packages/time-line/index.js +2 -2
- package/es/src/assets/img/failure.d.ts +2 -0
- package/es/src/assets/img/failure.js +1 -0
- package/es/src/assets/img/icon-asc.d.ts +2 -0
- package/es/src/assets/img/icon-asc.js +1 -0
- package/es/src/assets/img/icon-desc.d.ts +2 -0
- package/es/src/assets/img/icon-desc.js +1 -0
- package/es/src/assets/img/no-permission.d.ts +2 -0
- package/es/src/assets/img/no-permission.js +1 -0
- package/es/src/assets/img/nodata.d.ts +2 -0
- package/es/src/assets/img/nodata.js +1 -0
- package/es/src/assets/img/notfound.d.ts +2 -0
- package/es/src/assets/img/notfound.js +1 -0
- package/es/src/assets/img/qr.d.ts +2 -0
- package/es/src/assets/img/qr.js +1 -0
- package/es/src/assets/img/success.d.ts +2 -0
- package/es/src/assets/img/success.js +1 -0
- package/es/src/assets/img/video.d.ts +2 -0
- package/es/src/assets/img/video.js +1 -0
- package/es/src/assets/img/video_default_cover.d.ts +2 -0
- package/es/src/assets/img/video_default_cover.js +1 -0
- package/es/src/assets/img/video_hover.d.ts +2 -0
- package/es/src/assets/img/video_hover.js +1 -0
- package/es/src/assets/img/video_play_hover.d.ts +2 -0
- package/es/src/assets/img/video_play_hover.js +1 -0
- package/es/src/assets/img/xb_big.d.ts +2 -0
- package/es/src/assets/img/xb_big.js +1 -0
- package/es/src/assets/img/xb_small.d.ts +2 -0
- package/es/src/assets/img/xb_small.js +1 -0
- package/es/src/components/SelectPage/SelectPage.vue.d.ts +1 -1
- package/es/src/components/TextOverTooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/src/components/player-vod/video-list.js +2 -2
- package/es/src/components/player-vod/video-modal.js +1 -1
- package/es/src/utils/loadViewer.js +1 -1
- package/es/src/utils/loadVxe.js +1 -1
- package/global.d.ts +8 -8
- package/package.json +2 -4
- package/test.ts +326 -0
- package/es/packages/big-table/style/index.less +0 -557
- package/es/packages/bpmn-workflow/src/BpmnWorkflow.d.js +0 -1
- package/es/packages/bpmn-workflow/style/index.less +0 -29
- package/es/packages/bpmn-workflow/types/BpmnViewer.d.js +0 -1
- package/es/packages/bpmn-workflow/types/ModelingModule.d.js +0 -1
- package/es/packages/bpmn-workflow/types/MoveCanvasModule.d.js +0 -1
- package/es/packages/button-print/style/index.less +0 -30
- package/es/packages/chunk-upload/style/index.less +0 -395
- package/es/packages/drag-layout/style/index.less +0 -208
- package/es/packages/editor/style/index.less +0 -0
- package/es/packages/fabric-chart/style/index.less +0 -0
- package/es/packages/field-set/style/index.less +0 -157
- package/es/packages/form-render/style/index.less +0 -129
- package/es/packages/form-table/style/index.less +0 -301
- package/es/packages/grid/style/index.less +0 -13
- package/es/packages/index.less +0 -3077
- package/es/packages/info-header/style/index.less +0 -149
- package/es/packages/map/style/index.less +0 -60
- package/es/packages/scale-view/style/index.less +0 -755
- package/es/packages/select-label/style/index.less +0 -151
- package/es/packages/select-person/style/index.less +0 -229
- package/es/packages/time-line/style/index.less +0 -35
- package/es/src/assets/img/failure.png +0 -0
- package/es/src/assets/img/icon-asc.png +0 -0
- package/es/src/assets/img/icon-desc.png +0 -0
- package/es/src/assets/img/no-permission.png +0 -0
- package/es/src/assets/img/nodata.png +0 -0
- package/es/src/assets/img/notfound.png +0 -0
- package/es/src/assets/img/qr.png +0 -0
- package/es/src/assets/img/success.png +0 -0
- package/es/src/assets/img/video.png +0 -0
- package/es/src/assets/img/video_default_cover.png +0 -0
- package/es/src/assets/img/video_hover.png +0 -0
- package/es/src/assets/img/video_play_hover.png +0 -0
- package/es/src/assets/img/xb_big.png +0 -0
- package/es/src/assets/img/xb_small.png +0 -0
|
@@ -1,44 +1,23 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const VodState: {
|
|
25
|
-
videoVisible: boolean;
|
|
26
|
-
fileList: never[];
|
|
27
|
-
cacheFileObj: {};
|
|
28
|
-
playerOptions: {};
|
|
29
|
-
vodClient: null;
|
|
30
|
-
chunkUploadVisible: boolean;
|
|
31
|
-
uploader: null;
|
|
32
|
-
autoStart: boolean;
|
|
33
|
-
timeOuts: number;
|
|
34
|
-
configList: never[];
|
|
35
|
-
draggableOptions: {
|
|
36
|
-
group: string;
|
|
37
|
-
filter: string;
|
|
38
|
-
delayOnTouchOnly: boolean;
|
|
39
|
-
delay: number;
|
|
40
|
-
touchStartThreshold: number;
|
|
41
|
-
chosenClass: string;
|
|
42
|
-
dragClass: string;
|
|
1
|
+
export declare const getVodData: () => {
|
|
2
|
+
VodState: {
|
|
3
|
+
videoVisible: boolean;
|
|
4
|
+
fileList: never[];
|
|
5
|
+
cacheFileObj: {};
|
|
6
|
+
playerOptions: {};
|
|
7
|
+
vodClient: null;
|
|
8
|
+
chunkUploadVisible: boolean;
|
|
9
|
+
uploader: null;
|
|
10
|
+
autoStart: boolean;
|
|
11
|
+
timeOuts: number;
|
|
12
|
+
configList: never[];
|
|
13
|
+
draggableOptions: {
|
|
14
|
+
group: string;
|
|
15
|
+
filter: string;
|
|
16
|
+
delayOnTouchOnly: boolean;
|
|
17
|
+
delay: number;
|
|
18
|
+
touchStartThreshold: number;
|
|
19
|
+
chosenClass: string;
|
|
20
|
+
dragClass: string;
|
|
21
|
+
};
|
|
43
22
|
};
|
|
44
23
|
};
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
delay: 100,
|
|
27
|
-
touchStartThreshold: 3,
|
|
28
|
-
chosenClass: "upload-chosen-draing",
|
|
29
|
-
dragClass: "upload-sortable-drag"
|
|
30
|
-
}
|
|
1
|
+
const getVodData = () => {
|
|
2
|
+
const VodState = {
|
|
3
|
+
videoVisible: false,
|
|
4
|
+
fileList: [],
|
|
5
|
+
cacheFileObj: {},
|
|
6
|
+
playerOptions: {},
|
|
7
|
+
vodClient: null,
|
|
8
|
+
chunkUploadVisible: false,
|
|
9
|
+
uploader: null,
|
|
10
|
+
autoStart: true,
|
|
11
|
+
timeOuts: 6e4 * 5,
|
|
12
|
+
configList: [],
|
|
13
|
+
draggableOptions: {
|
|
14
|
+
group: "upload-com-item",
|
|
15
|
+
filter: ".uploading-item",
|
|
16
|
+
delayOnTouchOnly: true,
|
|
17
|
+
delay: 100,
|
|
18
|
+
touchStartThreshold: 3,
|
|
19
|
+
chosenClass: "upload-chosen-draing",
|
|
20
|
+
dragClass: "upload-sortable-drag"
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
VodState
|
|
25
|
+
};
|
|
31
26
|
};
|
|
32
27
|
|
|
33
|
-
export {
|
|
28
|
+
export { getVodData };
|
|
@@ -21,6 +21,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
default: () => Promise<{}>;
|
|
22
22
|
};
|
|
23
23
|
}, {
|
|
24
|
+
VodState: {
|
|
25
|
+
videoVisible: boolean;
|
|
26
|
+
fileList: never[];
|
|
27
|
+
cacheFileObj: {};
|
|
28
|
+
playerOptions: {};
|
|
29
|
+
vodClient: null;
|
|
30
|
+
chunkUploadVisible: boolean;
|
|
31
|
+
uploader: null;
|
|
32
|
+
autoStart: boolean;
|
|
33
|
+
timeOuts: number;
|
|
34
|
+
configList: never[];
|
|
35
|
+
draggableOptions: {
|
|
36
|
+
group: string;
|
|
37
|
+
filter: string;
|
|
38
|
+
delayOnTouchOnly: boolean;
|
|
39
|
+
delay: number;
|
|
40
|
+
touchStartThreshold: number;
|
|
41
|
+
chosenClass: string;
|
|
42
|
+
dragClass: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
24
45
|
state: {
|
|
25
46
|
videoVisible: boolean;
|
|
26
47
|
fileList: never[];
|
|
@@ -136,6 +157,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
157
|
updatePosition(oldIndex: any, newIndex: any): void;
|
|
137
158
|
getRelatedContextFromMoveEvent({ to, related }: {
|
|
138
159
|
to: any;
|
|
160
|
+
/**
|
|
161
|
+
* 支持的格式
|
|
162
|
+
* MP4、TS、MOV、MXF、MPG、FLV、WMV、AVI、M4V、F4V、MPEG、3GP、ASF、MKV、HLS
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* simple-uploader 配置文档
|
|
166
|
+
* https://github.com/simple-uploader/Uploader/blob/develop/README_zh-CN.md#%E9%85%8D%E7%BD%AE
|
|
167
|
+
*/
|
|
139
168
|
related: any;
|
|
140
169
|
}): any;
|
|
141
170
|
getVmIndexFromDomIndex(domIndex: any): any;
|
|
@@ -241,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
270
|
modalTitle: string;
|
|
242
271
|
}>;
|
|
243
272
|
NIcon: import("vue").DefineComponent<{
|
|
244
|
-
readonly depth: import("vue").PropType<import("naive-ui/es/icon/src/Icon").Depth>;
|
|
273
|
+
readonly depth: import("vue").PropType<import("naive-ui/es/icon/src/Icon").Depth>;
|
|
245
274
|
readonly size: import("vue").PropType<string | number>;
|
|
246
275
|
readonly color: StringConstructor;
|
|
247
276
|
readonly component: import("vue").PropType<import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
@@ -268,7 +297,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
297
|
opacity3Depth: string;
|
|
269
298
|
opacity4Depth: string;
|
|
270
299
|
opacity5Depth: string;
|
|
271
|
-
}, any>>>;
|
|
300
|
+
}, any>>>; /** 获取提交的数据 */
|
|
272
301
|
}, {
|
|
273
302
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
274
303
|
mergedStyle: import("vue").ComputedRef<{
|
|
@@ -1744,9 +1773,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1744
1773
|
}, {
|
|
1745
1774
|
isDetail: boolean;
|
|
1746
1775
|
isLock: boolean;
|
|
1776
|
+
getChunkUploadConfig: Function;
|
|
1747
1777
|
formData: Record<string, any>;
|
|
1748
1778
|
limitNum: number;
|
|
1749
1779
|
defFileList: string;
|
|
1750
|
-
getChunkUploadConfig: Function;
|
|
1751
1780
|
}>;
|
|
1752
1781
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, reactive, computed, onMounted, openBlock, createElementBlock, withDirectives, normalizeClass, unref, createElementVNode, Fragment, vShow, createCommentVNode, createVNode, withCtx, normalizeStyle, toDisplayString, withModifiers, createBlock, createTextVNode } from 'vue';
|
|
2
2
|
import Draggable from 'vuedraggable';
|
|
3
|
-
import vexutils from '
|
|
4
|
-
import {
|
|
3
|
+
import vexutils from '../../../../src/utils/vexutils';
|
|
4
|
+
import { getVodData } from '../hooks/vod-data.js';
|
|
5
5
|
import { VodComputed } from '../hooks/vod-computed.js';
|
|
6
|
-
import videoModal from '
|
|
6
|
+
import videoModal from '../../../../src/components/player-vod/video-modal';
|
|
7
7
|
import vodUploadModal from '../vod-upload-modal.js';
|
|
8
8
|
import { NIcon, NButton } from 'naive-ui';
|
|
9
9
|
import { PlayCircleSharp, PlayCircleOutline, RemoveCircleSharp } from '@vicons/ionicons5';
|
|
10
|
-
import default_cover from '
|
|
11
|
-
import videoImg from '
|
|
12
|
-
import success from '
|
|
10
|
+
import default_cover from '../../../../src/assets/img/video_default_cover';
|
|
11
|
+
import videoImg from '../../../../src/assets/img/video';
|
|
12
|
+
import success from '../../../../src/assets/img/success';
|
|
13
13
|
|
|
14
14
|
const _hoisted_1 = { class: "c-upload" };
|
|
15
15
|
const _hoisted_2 = { class: "chunk-btn-content" };
|
|
@@ -40,11 +40,21 @@ const _hoisted_18 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
|
|
|
40
40
|
const _hoisted_19 = ["onClick"];
|
|
41
41
|
var script = /* @__PURE__ */ defineComponent({
|
|
42
42
|
__name: "vod-chunk-upload",
|
|
43
|
-
props: {
|
|
43
|
+
props: {
|
|
44
|
+
formData: { type: Object, default: () => ({}) },
|
|
45
|
+
defList: [Array, String],
|
|
46
|
+
source: String,
|
|
47
|
+
limitNum: { default: 1 },
|
|
48
|
+
defFileList: { default: "" },
|
|
49
|
+
isLock: Boolean,
|
|
50
|
+
isDetail: { type: Boolean, default: false },
|
|
51
|
+
getChunkUploadConfig: { type: Function, default: () => Promise.resolve({}) }
|
|
52
|
+
},
|
|
44
53
|
emits: ["vodFileList"],
|
|
45
54
|
setup(__props, { emit }) {
|
|
46
55
|
const props = __props;
|
|
47
|
-
const
|
|
56
|
+
const { VodState } = getVodData();
|
|
57
|
+
const state = reactive(VodState);
|
|
48
58
|
const mainForm = {};
|
|
49
59
|
const {
|
|
50
60
|
isShowBtn,
|
|
@@ -189,7 +199,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
189
199
|
});
|
|
190
200
|
return (_ctx, _cache) => {
|
|
191
201
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
192
|
-
!
|
|
202
|
+
!__props.isDetail ? withDirectives((openBlock(), createElementBlock("div", {
|
|
193
203
|
key: 0,
|
|
194
204
|
class: normalizeClass(["c-chunk-uploader-btn", { "disable-upload": unref(isDisabled) }]),
|
|
195
205
|
onClick: handleBtnOnClick
|
|
@@ -286,7 +296,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
286
296
|
])
|
|
287
297
|
])
|
|
288
298
|
], 64)) : createCommentVNode("v-if", true),
|
|
289
|
-
["done", "error"].includes(element.status) && !unref(isDisabled) && !
|
|
299
|
+
["done", "error"].includes(element.status) && !unref(isDisabled) && !__props.isDetail ? (openBlock(), createElementBlock("div", {
|
|
290
300
|
key: 3,
|
|
291
301
|
onClick: withModifiers(($event) => handleDelFileList(index), ["stop"]),
|
|
292
302
|
class: "uploader-preview-delete"
|
|
@@ -315,7 +325,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
315
325
|
maxLength: unref(maxlength),
|
|
316
326
|
propsCategoryMap: unref(allow_format),
|
|
317
327
|
defaultList: state.fileList,
|
|
318
|
-
getChunkUploadConfig:
|
|
328
|
+
getChunkUploadConfig: __props.getChunkUploadConfig,
|
|
319
329
|
onGetSumbitList: getSumbitList
|
|
320
330
|
}, null, 8, ["modelValue", "modalTitle", "max_size", "maxLength", "propsCategoryMap", "defaultList", "getChunkUploadConfig"])
|
|
321
331
|
]);
|
|
@@ -289,8 +289,10 @@
|
|
|
289
289
|
position: relative;
|
|
290
290
|
top: 50%;
|
|
291
291
|
left: 50%;
|
|
292
|
+
font-size: 46px;
|
|
292
293
|
transform: translate(-50%, -50%);
|
|
293
294
|
transition: all 0.25s ease-out;
|
|
295
|
+
cursor: pointer;
|
|
294
296
|
}
|
|
295
297
|
.c-icon-wrap .theme_outlined {
|
|
296
298
|
display: inline-block;
|
|
@@ -353,7 +355,7 @@
|
|
|
353
355
|
border-color: #5585f5;
|
|
354
356
|
}
|
|
355
357
|
.c-chunk-uploader-btn:hover .guage-img {
|
|
356
|
-
content: url('
|
|
358
|
+
content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAALK0lEQVR4Xu2beZAcdRXHP693CAmQiCVrOBIIJBAUFgMCQtQgUOCBECASOZRDTpFbNGF3e7Z3ejYmREiJQAyCCgglAQQRqeIQww0SwhEqViAIFCBIkCNJhZDs9rN+PbMzPT09O93Tswl/5FWlKrXzrt+3f/37vauFjVSBgGzEoxKBjYCEdsR6AcRx1HLWMoEMe6LsirILwkhgePGfAisRVuLxDhZLgaUoizTHCyJifl8vNHiAzNLhrGIKymTgAOCzDa1IeA9lARZ3YnEHjqxuS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3yViydAzClAwQoHrYnoX69oXq39BsXXi1+broYYak/q6GswIxdw1Dwz4ER/uFosTO97I4wCS8wUhleiMU7tDCd4YFxiziIrGBdrfJkakBK9gvVc9NcMhMDtYGJ4/Bg85ivOZTfk5czqjd1s42b0NnjBBSzayo79822lVafMAFXyjXkVB8hxnGmU8dicQQeB/nbv/Bd7qeDTPPLYke65T+V98H6cs/EDUsYi8d4FFPgNb2Yz2OGaMX/wtK0HMyHSabMsJI+VmH550vzSVlDhj/gSLm5X7TSvDOk+W5vEI0bAQnBvhGQjYAM/Cb+H3T7u3KSAjrtAAAAAElFTkSuQmCC');
|
|
357
359
|
}
|
|
358
360
|
.c-chunk-uploader-btn:hover .c-uploader-btn .uploader-icon,
|
|
359
361
|
.c-chunk-uploader-btn:hover .c-uploader-btn .uploader-text p,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { COMPONENT_NAMESPACE } from '
|
|
2
|
-
import { safeComponentRegister } from '
|
|
3
|
-
import { expandXEUtils } from '
|
|
1
|
+
import { COMPONENT_NAMESPACE } from '../../src/global/variable';
|
|
2
|
+
import { safeComponentRegister } from '../../src/utils';
|
|
3
|
+
import { expandXEUtils } from '../../src/utils/utilExpand';
|
|
4
4
|
import './src/DragLayout.js';
|
|
5
5
|
import script from './src/DragLayout.vue_vue_type_script_setup_true_lang.js';
|
|
6
6
|
|
|
@@ -101,12 +101,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
readonly default: 24;
|
|
102
102
|
};
|
|
103
103
|
readonly itemResponsive: BooleanConstructor;
|
|
104
|
-
readonly collapsed: BooleanConstructor;
|
|
104
|
+
readonly collapsed: BooleanConstructor; /** line 类型 */
|
|
105
105
|
readonly collapsedRows: {
|
|
106
106
|
readonly type: NumberConstructor;
|
|
107
107
|
readonly default: 1;
|
|
108
108
|
};
|
|
109
|
-
/** line 类型 */
|
|
110
109
|
readonly itemStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
111
110
|
readonly xGap: {
|
|
112
111
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -15327,7 +15326,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15327
15326
|
dotColorActive: string;
|
|
15328
15327
|
dotColorDisabled: string;
|
|
15329
15328
|
buttonBorderColor: string;
|
|
15330
|
-
buttonBorderColorActive: string;
|
|
15329
|
+
buttonBorderColorActive: string; /** line 类型 */
|
|
15331
15330
|
buttonBorderColorHover: string;
|
|
15332
15331
|
buttonColor: string;
|
|
15333
15332
|
buttonColorActive: string;
|
|
@@ -3,7 +3,7 @@ import { NButton, NModal, NForm, NGrid, NFormItemGi, NInput, NSelect, NCheckbox,
|
|
|
3
3
|
import Draggable from 'vuedraggable';
|
|
4
4
|
import './DragFormLeftItem.js';
|
|
5
5
|
import './DragFormRightItem.js';
|
|
6
|
-
import vexutils from '
|
|
6
|
+
import vexutils from '../../../src/utils/vexutils';
|
|
7
7
|
import script$1 from './DragFormLeftItem.vue_vue_type_script_setup_true_lang.js';
|
|
8
8
|
import script$2 from './DragFormRightItem.vue_vue_type_script_setup_true_lang.js';
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { COMPONENT_NAMESPACE } from '
|
|
2
|
-
import { safeComponentRegister } from '
|
|
1
|
+
import { COMPONENT_NAMESPACE } from '../../src/global/variable';
|
|
2
|
+
import { safeComponentRegister } from '../../src/utils';
|
|
3
3
|
import script from './src/Editor.js';
|
|
4
4
|
|
|
5
5
|
const Editor = script;
|
|
@@ -1,70 +1,33 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../../es/src/types';
|
|
2
2
|
declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
data: {
|
|
4
|
-
type:
|
|
4
|
+
type: null;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
8
|
props: {
|
|
9
|
-
data:
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
borderStyle?: import("fabric/fabric-impl").ILineOptions | undefined;
|
|
13
|
-
grid: {
|
|
14
|
-
mainXCell: number;
|
|
15
|
-
subXCell: number;
|
|
16
|
-
subSecondXCell: number;
|
|
17
|
-
mainYCell: number;
|
|
18
|
-
subYCell: number;
|
|
19
|
-
mainLineStyle?: import("fabric/fabric-impl").ILineOptions | undefined;
|
|
20
|
-
subLineStyle?: import("fabric/fabric-impl").ILineOptions | undefined;
|
|
21
|
-
subSecondLineStyle?: import("fabric/fabric-impl").ILineOptions | undefined;
|
|
22
|
-
event?: Partial<{
|
|
23
|
-
selectable: boolean;
|
|
24
|
-
evented: boolean;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
};
|
|
27
|
-
other?: {
|
|
28
|
-
style?: import("fabric/fabric-impl").ITextOptions | undefined;
|
|
29
|
-
list: {
|
|
30
|
-
time: string;
|
|
31
|
-
value: string | number;
|
|
32
|
-
}[];
|
|
33
|
-
} | undefined;
|
|
34
|
-
top: {
|
|
35
|
-
dateStyle?: import("fabric/fabric-impl").ITextOptions | undefined;
|
|
36
|
-
titleWidth: number;
|
|
37
|
-
date: {
|
|
38
|
-
title: string;
|
|
39
|
-
height?: number | undefined;
|
|
40
|
-
list: string[];
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
left: {
|
|
44
|
-
spaceGridNumber?: number | undefined;
|
|
45
|
-
yScaleValue: any[];
|
|
46
|
-
};
|
|
47
|
-
right?: {
|
|
48
|
-
width?: number | undefined;
|
|
49
|
-
yScaleValue: any;
|
|
50
|
-
} | undefined;
|
|
51
|
-
bottom?: any;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
canvasRef: import("vue").Ref<HTMLCanvasElement | null>;
|
|
55
|
-
canvas: import("vue").Ref<import("fabric/fabric-impl").Canvas | undefined>;
|
|
56
|
-
gridXNumber: () => number;
|
|
57
|
-
gridYNumber: () => number;
|
|
58
|
-
endX: () => number;
|
|
59
|
-
originX: () => number;
|
|
60
|
-
propItems: {
|
|
61
|
-
canvasWidth: number;
|
|
62
|
-
canvasHeight: number;
|
|
63
|
-
originX: number;
|
|
9
|
+
data: import("./src/interface").IData;
|
|
64
10
|
};
|
|
11
|
+
canvasRef: any;
|
|
12
|
+
canvas: import("vue").Ref<any>;
|
|
13
|
+
gridXNumber: import("vue").ComputedRef<number>;
|
|
14
|
+
gridYNumber: import("vue").ComputedRef<number>;
|
|
15
|
+
endX: import("vue").ComputedRef<number>;
|
|
16
|
+
originX: import("vue").ComputedRef<number>;
|
|
17
|
+
endY: import("vue").ComputedRef<number>;
|
|
18
|
+
originY: import("vue").ComputedRef<number>;
|
|
19
|
+
xCellWidth: import("vue").ComputedRef<number>;
|
|
20
|
+
yCellHeight: import("vue").ComputedRef<number>;
|
|
21
|
+
xScaleList: import("vue").ComputedRef<number[]>;
|
|
22
|
+
xScaleCell: import("vue").ComputedRef<number>;
|
|
23
|
+
breatheYCell: import("vue").ComputedRef<number>;
|
|
24
|
+
pulseYCell: import("vue").ComputedRef<number>;
|
|
25
|
+
centigradeYCell: import("vue").ComputedRef<number>;
|
|
26
|
+
event: import("vue").ComputedRef<any>;
|
|
27
|
+
propItems: any;
|
|
65
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
29
|
data: {
|
|
67
|
-
type:
|
|
30
|
+
type: null;
|
|
68
31
|
required: true;
|
|
69
32
|
};
|
|
70
33
|
}>>, {}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { COMPONENT_NAMESPACE } from '
|
|
2
|
-
import { safeComponentRegister } from '
|
|
1
|
+
import { COMPONENT_NAMESPACE } from '../../src/global/variable';
|
|
2
|
+
import { safeComponentRegister } from '../../src/utils';
|
|
3
3
|
import './src/FabricChart.js';
|
|
4
4
|
import script from './src/FabricChart.vue_vue_type_script_setup_true_lang.js';
|
|
5
5
|
|
|
@@ -1,79 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare type IEvent = {
|
|
3
|
-
selectable: boolean;
|
|
4
|
-
evented: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare type IPoint = {
|
|
7
|
-
time: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
};
|
|
10
|
-
declare type IGrid = {
|
|
11
|
-
mainXCell: number;
|
|
12
|
-
subXCell: number;
|
|
13
|
-
subSecondXCell: number;
|
|
14
|
-
mainYCell: number;
|
|
15
|
-
subYCell: number;
|
|
16
|
-
mainLineStyle?: fabric.ILineOptions;
|
|
17
|
-
subLineStyle?: fabric.ILineOptions;
|
|
18
|
-
subSecondLineStyle?: fabric.ILineOptions;
|
|
19
|
-
event?: Partial<IEvent>;
|
|
20
|
-
};
|
|
21
|
-
declare type IOther = {
|
|
22
|
-
style?: fabric.ITextOptions;
|
|
23
|
-
list: Array<IPoint>;
|
|
24
|
-
};
|
|
25
|
-
declare type IDate = {
|
|
26
|
-
title: string;
|
|
27
|
-
height?: number;
|
|
28
|
-
list: Array<string>;
|
|
29
|
-
};
|
|
30
|
-
declare type ITop = {
|
|
31
|
-
dateStyle?: fabric.ITextOptions;
|
|
32
|
-
titleWidth: number;
|
|
33
|
-
date: IDate;
|
|
34
|
-
};
|
|
35
|
-
declare type ILeft = {
|
|
36
|
-
spaceGridNumber?: number;
|
|
37
|
-
yScaleValue: Array<any>;
|
|
38
|
-
};
|
|
39
|
-
declare type IRight = {
|
|
40
|
-
width?: number;
|
|
41
|
-
yScaleValue: any;
|
|
42
|
-
};
|
|
43
|
-
declare type IData = {
|
|
44
|
-
width: number;
|
|
45
|
-
height: number;
|
|
46
|
-
borderStyle?: fabric.ILineOptions;
|
|
47
|
-
grid: IGrid;
|
|
48
|
-
other?: IOther;
|
|
49
|
-
top: ITop;
|
|
50
|
-
left: ILeft;
|
|
51
|
-
right?: IRight;
|
|
52
|
-
bottom?: any;
|
|
53
|
-
};
|
|
1
|
+
import { IData } from './interface';
|
|
54
2
|
declare const _default: import("vue").DefineComponent<{
|
|
55
3
|
data: {
|
|
56
|
-
type:
|
|
4
|
+
type: null;
|
|
57
5
|
required: true;
|
|
58
6
|
};
|
|
59
7
|
}, {
|
|
60
8
|
props: {
|
|
61
9
|
data: IData;
|
|
62
10
|
};
|
|
63
|
-
canvasRef:
|
|
64
|
-
canvas: import("vue").Ref<
|
|
65
|
-
gridXNumber: ()
|
|
66
|
-
gridYNumber: ()
|
|
67
|
-
endX: ()
|
|
68
|
-
originX: ()
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
11
|
+
canvasRef: any;
|
|
12
|
+
canvas: import("vue").Ref<any>;
|
|
13
|
+
gridXNumber: import("vue").ComputedRef<number>;
|
|
14
|
+
gridYNumber: import("vue").ComputedRef<number>;
|
|
15
|
+
endX: import("vue").ComputedRef<number>;
|
|
16
|
+
originX: import("vue").ComputedRef<number>;
|
|
17
|
+
endY: import("vue").ComputedRef<number>;
|
|
18
|
+
originY: import("vue").ComputedRef<number>;
|
|
19
|
+
xCellWidth: import("vue").ComputedRef<number>;
|
|
20
|
+
yCellHeight: import("vue").ComputedRef<number>;
|
|
21
|
+
xScaleList: import("vue").ComputedRef<number[]>;
|
|
22
|
+
xScaleCell: import("vue").ComputedRef<number>;
|
|
23
|
+
breatheYCell: import("vue").ComputedRef<number>;
|
|
24
|
+
pulseYCell: import("vue").ComputedRef<number>;
|
|
25
|
+
centigradeYCell: import("vue").ComputedRef<number>;
|
|
26
|
+
event: import("vue").ComputedRef<any>;
|
|
27
|
+
propItems: any;
|
|
74
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
29
|
data: {
|
|
76
|
-
type:
|
|
30
|
+
type: null;
|
|
77
31
|
required: true;
|
|
78
32
|
};
|
|
79
33
|
}>>, {}>;
|