cnhis-design-vue 3.1.50 → 3.1.51-beta.1
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 +87 -87
- package/es/components/base-search/index.d.ts +13 -8
- package/es/components/base-search/src/index.vue.d.ts +13 -8
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/classification/index.d.ts +57 -15
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +57 -15
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +57 -15
- package/es/components/classification/src/index.vue.d.ts +57 -15
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
- package/es/components/field-set/index.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +174 -25
- package/es/components/form-config/src/FormConfig.vue.d.ts +175 -26
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -10
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +121 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -0
- package/es/components/form-config/src/constants/index.d.ts +19 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +7 -3
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +4 -4
- package/es/components/form-render/src/FormRender.vue.d.ts +2 -2
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/select.d.ts +10 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +2 -1
- package/es/components/form-render/src/types/index.d.ts +1 -19
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +2 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +13 -13
- package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -13
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -5
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -4
- package/es/components/quick-search/index.d.ts +13 -8
- package/es/components/quick-search/src/index.vue.d.ts +13 -8
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +6 -5
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -5
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +52 -7
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +34 -2
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -6
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +57 -15
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +56 -1
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +55 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -7
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -6
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +16 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +19 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +20 -0
- package/es/shared/utils/business.d.ts +1 -2
- package/es/shared/utils/index.d.ts +3 -3
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -150,7 +150,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
150
150
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
151
151
|
requestInstance: import("..").RequestInstance;
|
|
152
152
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
153
|
-
lowCodeReactions: import("
|
|
153
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
154
154
|
linebarAutoHidden: boolean;
|
|
155
155
|
bordered: string | boolean;
|
|
156
156
|
uniqueCacheData: boolean;
|
|
@@ -311,7 +311,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
311
311
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
312
312
|
requestInstance: import("..").RequestInstance;
|
|
313
313
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
314
|
-
lowCodeReactions: import("
|
|
314
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
315
315
|
linebarAutoHidden: boolean;
|
|
316
316
|
bordered: string | boolean;
|
|
317
317
|
uniqueCacheData: boolean;
|
|
@@ -478,7 +478,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
478
478
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
479
479
|
requestInstance: import("..").RequestInstance;
|
|
480
480
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
481
|
-
lowCodeReactions: import("
|
|
481
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
482
482
|
linebarAutoHidden: boolean;
|
|
483
483
|
bordered: string | boolean;
|
|
484
484
|
uniqueCacheData: boolean;
|
|
@@ -719,7 +719,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
719
719
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
720
720
|
requestInstance: import("..").RequestInstance;
|
|
721
721
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
722
|
-
lowCodeReactions: import("
|
|
722
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
723
723
|
linebarAutoHidden: boolean;
|
|
724
724
|
bordered: string | boolean;
|
|
725
725
|
uniqueCacheData: boolean;
|
|
@@ -2698,7 +2698,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2698
2698
|
default: boolean;
|
|
2699
2699
|
};
|
|
2700
2700
|
lowCodeReactions: {
|
|
2701
|
-
type: import("vue").PropType<import("
|
|
2701
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2702
2702
|
};
|
|
2703
2703
|
operationalForm: {
|
|
2704
2704
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2843,7 +2843,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2843
2843
|
default: boolean;
|
|
2844
2844
|
};
|
|
2845
2845
|
lowCodeReactions: {
|
|
2846
|
-
type: import("vue").PropType<import("
|
|
2846
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2847
2847
|
};
|
|
2848
2848
|
operationalForm: {
|
|
2849
2849
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3002,7 +3002,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3002
3002
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
3003
3003
|
requestInstance: import("..").RequestInstance;
|
|
3004
3004
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
3005
|
-
lowCodeReactions: import("
|
|
3005
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
3006
3006
|
linebarAutoHidden: boolean;
|
|
3007
3007
|
bordered: string | boolean;
|
|
3008
3008
|
uniqueCacheData: boolean;
|
|
@@ -3413,7 +3413,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3413
3413
|
default: boolean;
|
|
3414
3414
|
};
|
|
3415
3415
|
lowCodeReactions: {
|
|
3416
|
-
type: import("vue").PropType<import("
|
|
3416
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3417
3417
|
};
|
|
3418
3418
|
operationalForm: {
|
|
3419
3419
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3699,7 +3699,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3699
3699
|
default: boolean;
|
|
3700
3700
|
};
|
|
3701
3701
|
lowCodeReactions: {
|
|
3702
|
-
type: import("vue").PropType<import("
|
|
3702
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3703
3703
|
};
|
|
3704
3704
|
operationalForm: {
|
|
3705
3705
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3844,7 +3844,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3844
3844
|
default: boolean;
|
|
3845
3845
|
};
|
|
3846
3846
|
lowCodeReactions: {
|
|
3847
|
-
type: import("vue").PropType<import("
|
|
3847
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3848
3848
|
};
|
|
3849
3849
|
operationalForm: {
|
|
3850
3850
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -4003,7 +4003,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4003
4003
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
4004
4004
|
requestInstance: import("..").RequestInstance;
|
|
4005
4005
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
4006
|
-
lowCodeReactions: import("
|
|
4006
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
4007
4007
|
linebarAutoHidden: boolean;
|
|
4008
4008
|
bordered: string | boolean;
|
|
4009
4009
|
uniqueCacheData: boolean;
|
|
@@ -4414,7 +4414,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4414
4414
|
default: boolean;
|
|
4415
4415
|
};
|
|
4416
4416
|
lowCodeReactions: {
|
|
4417
|
-
type: import("vue").PropType<import("
|
|
4417
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
4418
4418
|
};
|
|
4419
4419
|
operationalForm: {
|
|
4420
4420
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -4620,7 +4620,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4620
4620
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
4621
4621
|
requestInstance: import("..").RequestInstance;
|
|
4622
4622
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
4623
|
-
lowCodeReactions: import("
|
|
4623
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
4624
4624
|
linebarAutoHidden: boolean;
|
|
4625
4625
|
bordered: string | boolean;
|
|
4626
4626
|
uniqueCacheData: boolean;
|
|
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
151
151
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
152
152
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
153
|
-
lowCodeReactions: import("../../../../es/
|
|
153
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
154
154
|
linebarAutoHidden: boolean;
|
|
155
155
|
bordered: string | boolean;
|
|
156
156
|
uniqueCacheData: boolean;
|
|
@@ -309,7 +309,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
309
309
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
310
310
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
311
311
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
312
|
-
lowCodeReactions: import("../../../../es/
|
|
312
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
313
313
|
linebarAutoHidden: boolean;
|
|
314
314
|
bordered: string | boolean;
|
|
315
315
|
uniqueCacheData: boolean;
|
|
@@ -472,7 +472,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
472
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
473
473
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
474
474
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
475
|
-
lowCodeReactions: import("../../../../es/
|
|
475
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
476
476
|
linebarAutoHidden: boolean;
|
|
477
477
|
bordered: string | boolean;
|
|
478
478
|
uniqueCacheData: boolean;
|
|
@@ -713,7 +713,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
713
713
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
714
714
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
715
715
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
716
|
-
lowCodeReactions: import("../../../../es/
|
|
716
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
717
717
|
linebarAutoHidden: boolean;
|
|
718
718
|
bordered: string | boolean;
|
|
719
719
|
uniqueCacheData: boolean;
|
|
@@ -2692,7 +2692,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2692
2692
|
default: boolean;
|
|
2693
2693
|
};
|
|
2694
2694
|
lowCodeReactions: {
|
|
2695
|
-
type: PropType<import("../../../../es/
|
|
2695
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2696
2696
|
};
|
|
2697
2697
|
operationalForm: {
|
|
2698
2698
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2837,7 +2837,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2837
2837
|
default: boolean;
|
|
2838
2838
|
};
|
|
2839
2839
|
lowCodeReactions: {
|
|
2840
|
-
type: PropType<import("../../../../es/
|
|
2840
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2841
2841
|
};
|
|
2842
2842
|
operationalForm: {
|
|
2843
2843
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2996,7 +2996,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2996
2996
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
2997
2997
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
2998
2998
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
2999
|
-
lowCodeReactions: import("../../../../es/
|
|
2999
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
3000
3000
|
linebarAutoHidden: boolean;
|
|
3001
3001
|
bordered: string | boolean;
|
|
3002
3002
|
uniqueCacheData: boolean;
|
|
@@ -3407,7 +3407,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3407
3407
|
default: boolean;
|
|
3408
3408
|
};
|
|
3409
3409
|
lowCodeReactions: {
|
|
3410
|
-
type: PropType<import("../../../../es/
|
|
3410
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3411
3411
|
};
|
|
3412
3412
|
operationalForm: {
|
|
3413
3413
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3693,7 +3693,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3693
3693
|
default: boolean;
|
|
3694
3694
|
};
|
|
3695
3695
|
lowCodeReactions: {
|
|
3696
|
-
type: PropType<import("../../../../es/
|
|
3696
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3697
3697
|
};
|
|
3698
3698
|
operationalForm: {
|
|
3699
3699
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3838,7 +3838,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3838
3838
|
default: boolean;
|
|
3839
3839
|
};
|
|
3840
3840
|
lowCodeReactions: {
|
|
3841
|
-
type: PropType<import("../../../../es/
|
|
3841
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
3842
3842
|
};
|
|
3843
3843
|
operationalForm: {
|
|
3844
3844
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -3997,7 +3997,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3997
3997
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
3998
3998
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
3999
3999
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
4000
|
-
lowCodeReactions: import("../../../../es/
|
|
4000
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
4001
4001
|
linebarAutoHidden: boolean;
|
|
4002
4002
|
bordered: string | boolean;
|
|
4003
4003
|
uniqueCacheData: boolean;
|
|
@@ -4408,7 +4408,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4408
4408
|
default: boolean;
|
|
4409
4409
|
};
|
|
4410
4410
|
lowCodeReactions: {
|
|
4411
|
-
type: PropType<import("../../../../es/
|
|
4411
|
+
type: PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
4412
4412
|
};
|
|
4413
4413
|
operationalForm: {
|
|
4414
4414
|
type: PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -4612,7 +4612,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4612
4612
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
4613
4613
|
requestInstance: import("../../../../es/components/form-render").RequestInstance;
|
|
4614
4614
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
4615
|
-
lowCodeReactions: import("../../../../es/
|
|
4615
|
+
lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
4616
4616
|
linebarAutoHidden: boolean;
|
|
4617
4617
|
bordered: string | boolean;
|
|
4618
4618
|
uniqueCacheData: boolean;
|
|
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
117
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
118
118
|
requestInstance: import("../../../../../../es/components/form-render").RequestInstance;
|
|
119
119
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
120
|
-
lowCodeReactions: import("
|
|
120
|
+
lowCodeReactions: import("../../../..").FormLowCodeReactions.Config[];
|
|
121
121
|
linebarAutoHidden: boolean;
|
|
122
122
|
bordered: string | boolean;
|
|
123
123
|
uniqueCacheData: boolean;
|
|
@@ -205,7 +205,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
205
|
businessFormatter: import("../../../..").FormBusinessFormatter;
|
|
206
206
|
requestInstance: import("../../../..").RequestInstance;
|
|
207
207
|
enterToNextWidget: boolean | ((fieldItem: import("../../../..").FieldItem) => boolean | void);
|
|
208
|
-
lowCodeReactions: import("
|
|
208
|
+
lowCodeReactions: import("../../../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
209
209
|
linebarAutoHidden: boolean;
|
|
210
210
|
bordered: string | boolean;
|
|
211
211
|
uniqueCacheData: boolean;
|
|
@@ -272,7 +272,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
272
272
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
273
273
|
requestInstance: import("../../../../../../es/components/form-render").RequestInstance;
|
|
274
274
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
275
|
-
lowCodeReactions: import("../../../../../../es/
|
|
275
|
+
lowCodeReactions: import("../../../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
276
276
|
linebarAutoHidden: boolean;
|
|
277
277
|
bordered: string | boolean;
|
|
278
278
|
uniqueCacheData: boolean;
|
|
@@ -2251,7 +2251,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2251
2251
|
default: boolean;
|
|
2252
2252
|
};
|
|
2253
2253
|
lowCodeReactions: {
|
|
2254
|
-
type: import("vue").PropType<import("../../../../../../es/
|
|
2254
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2255
2255
|
};
|
|
2256
2256
|
operationalForm: {
|
|
2257
2257
|
type: import("vue").PropType<import("../../../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2396,7 +2396,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2396
2396
|
default: boolean;
|
|
2397
2397
|
};
|
|
2398
2398
|
lowCodeReactions: {
|
|
2399
|
-
type: import("vue").PropType<import("../../../../../../es/
|
|
2399
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2400
2400
|
};
|
|
2401
2401
|
operationalForm: {
|
|
2402
2402
|
type: import("vue").PropType<import("../../../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2555,7 +2555,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2555
2555
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
2556
2556
|
requestInstance: import("../../../../../../es/components/form-render").RequestInstance;
|
|
2557
2557
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
2558
|
-
lowCodeReactions: import("../../../../../../es/
|
|
2558
|
+
lowCodeReactions: import("../../../../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
2559
2559
|
linebarAutoHidden: boolean;
|
|
2560
2560
|
bordered: string | boolean;
|
|
2561
2561
|
uniqueCacheData: boolean;
|
|
@@ -2966,7 +2966,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2966
2966
|
default: boolean;
|
|
2967
2967
|
};
|
|
2968
2968
|
lowCodeReactions: {
|
|
2969
|
-
type: import("vue").PropType<import("../../../../../../es/
|
|
2969
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2970
2970
|
};
|
|
2971
2971
|
operationalForm: {
|
|
2972
2972
|
type: import("vue").PropType<import("../../../../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -177,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
177
|
default: boolean;
|
|
178
178
|
};
|
|
179
179
|
lowCodeReactions: {
|
|
180
|
-
type: import("vue").PropType<import("
|
|
180
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
181
181
|
};
|
|
182
182
|
operationalForm: {
|
|
183
183
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -322,7 +322,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
322
322
|
default: boolean;
|
|
323
323
|
};
|
|
324
324
|
lowCodeReactions: {
|
|
325
|
-
type: import("vue").PropType<import("
|
|
325
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
326
326
|
};
|
|
327
327
|
operationalForm: {
|
|
328
328
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -481,7 +481,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
481
481
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
482
482
|
requestInstance: import("../../../../../../es/components/form-render").RequestInstance;
|
|
483
483
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
484
|
-
lowCodeReactions: import("
|
|
484
|
+
lowCodeReactions: import("../../../..").FormLowCodeReactions.Config[];
|
|
485
485
|
linebarAutoHidden: boolean;
|
|
486
486
|
bordered: string | boolean;
|
|
487
487
|
uniqueCacheData: boolean;
|
|
@@ -892,7 +892,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
892
892
|
default: boolean;
|
|
893
893
|
};
|
|
894
894
|
lowCodeReactions: {
|
|
895
|
-
type: import("vue").PropType<import("
|
|
895
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
896
896
|
};
|
|
897
897
|
operationalForm: {
|
|
898
898
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -28,13 +28,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
28
28
|
outQuickSearchFn: {
|
|
29
29
|
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
30
30
|
};
|
|
31
|
-
getRenderSearchConObj: (cfg: import("..").ISearchType) =>
|
|
32
|
-
widgetType: any;
|
|
33
|
-
field_key: string;
|
|
34
|
-
con: string | undefined;
|
|
35
|
-
value: any[] | null;
|
|
36
|
-
unit: string;
|
|
37
|
-
} | null;
|
|
31
|
+
getRenderSearchConObj: (cfg: import("..").ISearchType) => any;
|
|
38
32
|
resetRenderWidgetValue: (cfg: import("..").ISearchType) => any;
|
|
39
33
|
isRender: (cfg: import("..").ISearchType) => any;
|
|
40
34
|
transformData: (advancedFilterData: import("..").IApiServerType[], extendData: import("..").IExtendConfigurationType) => {
|
|
@@ -62,6 +56,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
62
56
|
};
|
|
63
57
|
rangeFilter: boolean | undefined;
|
|
64
58
|
unit: any;
|
|
59
|
+
isAccurateSearchVal: boolean;
|
|
65
60
|
_extendData: import("..").IExtendConfigurationType;
|
|
66
61
|
title: string;
|
|
67
62
|
alias: string | undefined;
|
|
@@ -71,6 +66,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
71
66
|
advanceOptionSetting: string;
|
|
72
67
|
placeholder: string | undefined;
|
|
73
68
|
advanceColWidth: number | null | undefined;
|
|
69
|
+
accurateSearch: any;
|
|
74
70
|
}[];
|
|
75
71
|
getCacheDef: (item: import("..").ISearchType, cacheList: string[]) => string | string[];
|
|
76
72
|
transformParams: (paramsList: any[]) => {};
|
|
@@ -128,6 +124,8 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
128
124
|
value?: any;
|
|
129
125
|
sid?: string | undefined;
|
|
130
126
|
alias?: string | undefined;
|
|
127
|
+
accurateSearch?: any;
|
|
128
|
+
isAccurateSearchVal?: boolean | undefined;
|
|
131
129
|
}[]>;
|
|
132
130
|
parentNames: import("vue").Ref<{
|
|
133
131
|
disabled: boolean;
|
|
@@ -167,6 +165,8 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
167
165
|
value?: any;
|
|
168
166
|
sid?: string | undefined;
|
|
169
167
|
alias?: string | undefined;
|
|
168
|
+
accurateSearch?: any;
|
|
169
|
+
isAccurateSearchVal?: boolean | undefined;
|
|
170
170
|
}[];
|
|
171
171
|
getMergeConObj: () => import("..").ISearchParamsType[];
|
|
172
172
|
getConObjParams: () => import("..").ISearchParamsType[];
|
|
@@ -184,6 +184,8 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
184
184
|
clearData: () => void;
|
|
185
185
|
handlerReset: (arr: import("..").ISearchType[]) => void;
|
|
186
186
|
setDefaultCon: (widgetArr: import("..").ISearchParamsType[]) => void;
|
|
187
|
+
getFilterParams: () => {};
|
|
188
|
+
setFilterParams: (params?: any) => void;
|
|
187
189
|
NForm: any;
|
|
188
190
|
NFormItem: import("vue").DefineComponent<{
|
|
189
191
|
readonly label: StringConstructor;
|
|
@@ -501,6 +503,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
501
503
|
}, {
|
|
502
504
|
valueCp(): any;
|
|
503
505
|
unit(): any;
|
|
506
|
+
isAccurateSearchVal(): any;
|
|
504
507
|
}, {
|
|
505
508
|
search(): void;
|
|
506
509
|
getEleWidth(cfg: any): {
|
|
@@ -512,7 +515,8 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
512
515
|
}> | null;
|
|
513
516
|
handleUpdate(val: any): void;
|
|
514
517
|
handleUpdateUnit(val: any): void;
|
|
515
|
-
|
|
518
|
+
handleUpdateAccurateSearch(val: any): void;
|
|
519
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange")[], "update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
516
520
|
cfg: {
|
|
517
521
|
type: ObjectConstructor;
|
|
518
522
|
required: true;
|
|
@@ -523,6 +527,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
523
527
|
}>> & {
|
|
524
528
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
525
529
|
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
530
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
526
531
|
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
527
532
|
}, {}>;
|
|
528
533
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig")[], "onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,13 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
outQuickSearchFn: {
|
|
31
31
|
handlerInitSearchItem(arr: ISearchType[]): void;
|
|
32
32
|
};
|
|
33
|
-
getRenderSearchConObj: (cfg: ISearchType) =>
|
|
34
|
-
widgetType: any;
|
|
35
|
-
field_key: string;
|
|
36
|
-
con: string | undefined;
|
|
37
|
-
value: any[] | null;
|
|
38
|
-
unit: string;
|
|
39
|
-
} | null;
|
|
33
|
+
getRenderSearchConObj: (cfg: ISearchType) => any;
|
|
40
34
|
resetRenderWidgetValue: (cfg: ISearchType) => any;
|
|
41
35
|
isRender: (cfg: ISearchType) => any;
|
|
42
36
|
transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType) => {
|
|
@@ -64,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
58
|
};
|
|
65
59
|
rangeFilter: boolean | undefined;
|
|
66
60
|
unit: any;
|
|
61
|
+
isAccurateSearchVal: boolean;
|
|
67
62
|
_extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType;
|
|
68
63
|
title: string;
|
|
69
64
|
alias: string | undefined;
|
|
@@ -73,6 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
68
|
advanceOptionSetting: string;
|
|
74
69
|
placeholder: string | undefined;
|
|
75
70
|
advanceColWidth: number | null | undefined;
|
|
71
|
+
accurateSearch: any;
|
|
76
72
|
}[];
|
|
77
73
|
getCacheDef: (item: ISearchType, cacheList: string[]) => string | string[];
|
|
78
74
|
transformParams: (paramsList: any[]) => {};
|
|
@@ -130,6 +126,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
126
|
value?: any;
|
|
131
127
|
sid?: string | undefined;
|
|
132
128
|
alias?: string | undefined;
|
|
129
|
+
accurateSearch?: any;
|
|
130
|
+
isAccurateSearchVal?: boolean | undefined;
|
|
133
131
|
}[]>;
|
|
134
132
|
parentNames: import("vue").Ref<{
|
|
135
133
|
disabled: boolean;
|
|
@@ -169,6 +167,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
167
|
value?: any;
|
|
170
168
|
sid?: string | undefined;
|
|
171
169
|
alias?: string | undefined;
|
|
170
|
+
accurateSearch?: any;
|
|
171
|
+
isAccurateSearchVal?: boolean | undefined;
|
|
172
172
|
}[];
|
|
173
173
|
getMergeConObj: () => ISearchParamsType[];
|
|
174
174
|
getConObjParams: () => ISearchParamsType[];
|
|
@@ -186,6 +186,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
186
|
clearData: () => void;
|
|
187
187
|
handlerReset: (arr: ISearchType[]) => void;
|
|
188
188
|
setDefaultCon: (widgetArr: ISearchParamsType[]) => void;
|
|
189
|
+
getFilterParams: () => {};
|
|
190
|
+
setFilterParams: (params?: any) => void;
|
|
189
191
|
NForm: any;
|
|
190
192
|
NFormItem: import("vue").DefineComponent<{
|
|
191
193
|
readonly label: StringConstructor;
|
|
@@ -503,6 +505,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
503
505
|
}, {
|
|
504
506
|
valueCp(): any;
|
|
505
507
|
unit(): any;
|
|
508
|
+
isAccurateSearchVal(): any;
|
|
506
509
|
}, {
|
|
507
510
|
search(): void;
|
|
508
511
|
getEleWidth(cfg: any): {
|
|
@@ -514,7 +517,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
514
517
|
}> | null;
|
|
515
518
|
handleUpdate(val: any): void;
|
|
516
519
|
handleUpdateUnit(val: any): void;
|
|
517
|
-
|
|
520
|
+
handleUpdateAccurateSearch(val: any): void;
|
|
521
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange")[], "update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
518
522
|
cfg: {
|
|
519
523
|
type: ObjectConstructor;
|
|
520
524
|
required: true;
|
|
@@ -525,6 +529,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
525
529
|
}>> & {
|
|
526
530
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
527
531
|
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
532
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
528
533
|
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
529
534
|
}, {}>;
|
|
530
535
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig")[], "onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,provide as t,computed as a,watch as i,onMounted as n,openBlock as o,createElementBlock as
|
|
1
|
+
import{defineComponent as e,ref as l,provide as t,computed as a,watch as i,onMounted as n,openBlock as o,createElementBlock as r,createElementVNode as s,Fragment as u,renderList as c,unref as d,normalizeClass as f,createCommentVNode as v,createVNode as m,withCtx as p,createTextVNode as h,toDisplayString as g,createBlock as k,withDirectives as b,vShow as y,isRef as C}from"vue";import{useMessage as S,NPopover as x,NModal as A,NCard as _,NIcon as q,NButton as w,NForm as F,NFormItem as j,NInput as U}from"naive-ui";import{CloseOutline as E,AddOutline as I}from"@vicons/ionicons5";import L from"../../table-filter/src/hooks/useMixins.js";import N from"../../table-filter/src/hooks/useRenderWidget.js";import P from"../../table-filter/src/hooks/useAdvanced.js";import R from"../../table-filter/src/components/render-widget/index.vue.js";import"moment/locale/zh-cn";import{cloneDeep as V}from"lodash-es";import{InjectionFilterApiConfig as z,InjectionFilterSearchConfig as D}from"../../table-filter/src/constants/index.js";const O={class:"quick-search-block quick-search-table"},T={class:"quick-row"},B={class:"quick-item-title"},Q={class:"quick-item-col"},M={class:"svg-wrap"},W={class:"flex_right"},G={class:"class-filter-content"},J={class:"quickSearch-content"},H=s("span",{class:"label"},"父类名称:",-1),K=["onDblclick","onClick"],X={key:0,class:"s-content"};var Y=e({__name:"index",props:{searchFieldList:{type:Array,default:()=>[]},quickSearchConfig:{type:Array,default:()=>[]},tableId:{type:String,default:""},filterApiConfig:{type:Object}},emits:["getFilterParam","onFilterSearch","clearQuickSearchConfig"],setup(e,{expose:Y,emit:Z}){const $=e,ee={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}},le=S(),{handleGetConfigApi:te,outQuickSearchFn:ae}=L(),{getRenderSearchConObj:ie,resetRenderWidgetValue:ne,isRender:oe}=N(),{transformData:re,getCacheDef:se,transformParams:ue}=P(),ce=l(null),de=l({classname:""});let fe=l(!1),ve=l([]),me=l([]),pe=l(!1),he=l("");t(z,$.filterApiConfig),t(D,ve);let ge=a((()=>!!me.value.length&&me.value.some((e=>e.isAdd)))),ke=a((()=>(e,l="name")=>e.alias||e[l]));function be(){return function(e){if(!Array.isArray(e))return[];let l=[];for(let t=0;t<e.length;t++){let a=e[t];const i=ie(a);!l.find((e=>e.field_key===i.field_key))&&i&&l.push(i)}return l.filter((e=>e.value))}(ve.value)||[]}function ye(){var e;null==(e=ce.value)||e.validate((e=>{var l;if(e)return;let t=be();t.length||(t=[]);let a=null==(l=me.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await te(e,"requestSaveTableCondiTion",{},$.filterApiConfig))return;fe.value=!1,null==(l=ce.value)||l.restoreValidation(),de.value.classname="",me.value=[],_e()}catch(e){console.log(e)}}({tableId:$.tableId||"",setting:JSON.stringify({displayCategory:a,name:de.value.classname,conObj:t}),conditionList:"[]"})}))}function Ce(e){var l;const t=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{t&&t.focus()})),pe.value=!0}function Se(){pe.value=!1,he.value&&(me.value.forEach((e=>e.selected=!1)),me.value.push({disabled:!0,value:he.value,selected:!0,isAdd:!0}),he.value="")}function xe(e){!function(e){me.value.splice(e,1)}(e)}function Ae(){fe.value=!1}function _e(){qe(ve.value),Z("clearQuickSearchConfig")}function qe(e){Array.isArray(e)&&(e.forEach((e=>{ne(e)})),ae.handlerInitSearchItem(ve.value))}return i((()=>$.searchFieldList),(e=>{e&&e.length>0&&function(){let e=V(re($.searchFieldList,{_filterApiConfig:$.filterApiConfig})).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[];ve.value=e||[],ae.handlerInitSearchItem(ve.value)}()}),{immediate:!0,deep:!0}),i((()=>ve),(()=>{const e=be()||[],l=ue(e);Z("getFilterParam",e,l)}),{deep:!0}),n((()=>{const e=$.quickSearchConfig;if(e&&e.length>0)return l=e,void ve.value.forEach((e=>{var t,a;if(oe(e)){const i=l.find((l=>l.field_key===e.columnName));i&&(null==(t=i.value)?void 0:t.length)>0&&(e.value=se(e,i.value),e.unit=null!=(a=i.unit)?a:"")}}));var l;qe(ve.value)})),Y({openSaveToCalss:function(){let e=be();e&&(e.length>0?fe.value=!0:le.warning("请设置搜索条件"))},clearData:_e,onFilterSearch:function(){let e=be()||[];const l=ue(e);return Z("onFilterSearch",e,l,!1),ve.value},getFilterParams:function(){const e=be()||[];return ue(e)},setFilterParams:function(e){const l=e?Object.keys(e):[];l.length>0&&ve.value.forEach((t=>{var a;if(oe(t)&&l.includes(t.columnName)){const l=e[t.columnName];t.value=Array.isArray(l)&&!1===(null==(a=t.widgetCfg)?void 0:a.multiple)?l[0]:l}}))}}),(e,l)=>(o(),r("div",null,[s("div",O,[(o(!0),r(u,null,c(d(ve),(e=>(o(),r("div",{class:f(["quick-item",{"quick-block":e._isBlock}]),key:e.sid||e.columnName},[s("div",T,[v(" title "),s("div",B,[m(d(x),{trigger:"hover"},{trigger:p((()=>[h(g(d(ke)(e,"title")),1)])),default:p((()=>[s("span",null,g(d(ke)(e,"title")),1)])),_:2},1024)]),v(" content "),s("div",Q,[v(" 直接渲染组件 "),e.isRender?(o(),k(R,{key:0,cfg:e,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l,unit:e.unit,"onUpdate:unit":l=>e.unit=l},null,8,["cfg","modelValue","onUpdate:modelValue","unit","onUpdate:unit"])):v("v-if",!0)])])],2)))),128))]),v(" 保存到分类的弹窗 "),m(d(A),{show:d(fe),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:ye,onNegativeClick:Ae,class:"classification-modal-block"},{default:p((()=>[m(d(_),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":p((()=>[s("div",M,[m(d(q),{component:d(E),size:"24",onClick:Ae},null,8,["component"])])])),footer:p((()=>[s("div",W,[m(d(w),{onClick:Ae},{default:p((()=>[h("取消")])),_:1}),m(d(w),{type:"info",onClick:ye},{default:p((()=>[h("确认")])),_:1})])])),default:p((()=>[s("div",G,[m(d(F),{ref_key:"formRef",ref:ce,"label-placement":"left",rules:ee,model:de.value},{default:p((()=>[m(d(j),{label:"筛选集名称",path:"classname"},{default:p((()=>[m(d(U),{value:de.value.classname,"onUpdate:value":l[0]||(l[0]=e=>de.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),s("div",J,[H,(o(!0),r(u,null,c(d(me),((e,l)=>(o(),r("div",{class:f(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:t=>function(e,l){e.disabled&&(me.value.forEach(((e,t)=>{t!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(o(),r("div",X,[s("span",null,g(e.value),1)])):(o(),k(d(U),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),m(d(q),{component:d(E),class:"anticon-close",size:"20",onClick:e=>xe(l)},null,8,["component","onClick"])],42,K)))),128)),d(ge)?v("v-if",!0):(o(),r(u,{key:0},[b(m(d(w),{dashed:"",icon:"plus",class:"ant-btn",onClick:Ce},{default:p((()=>[m(d(q),{component:d(I),size:"20"},null,8,["component"]),h("添加分类 ")])),_:1},512),[[y,!d(pe)]]),b(m(d(U),{style:{width:"100px"},class:"edit-tag",value:d(he),"onUpdate:value":l[1]||(l[1]=e=>C(he)?he.value=e:he=e),valueModifiers:{trim:!0},onBlur:Se,maxLength:10},null,8,["value"]),[[y,d(pe)]])],64))])])])),_:1})])),_:1},8,["show"])]))}});export{Y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r($).noData?(s(),u(L,{key:0,noDataImg:r($).noDataImg,noDataTip:r($).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(ue)?(s(),u(R,d({key:0},r(he),{onWriteGuage:r(Re)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(de)?(s(),u(N,d({key:0,ref_key:"countdownDom",ref:Y},r(ke),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ie),"scale-container-hasfooter":r(pe)}]),style:v(r(se))},[r(me)?(s(),u(r(A),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(Se)?(s(),u(M,{key:1,content:r(Ce)},null,8,["content"])):m("v-if",!0),f(r(O),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(le)(e)?(s(),u(r(I),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(ne)(e)}),innerHTML:r(re)(e)},null,10,V),r(ne)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(ve)(e)?(s(),i("span",W,k(r(ve)(e)),1)):m("v-if",!0),r(ae)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ae)(e)},[H,y(" 查看提示 ")],8,B)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ge)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Fe),onOnChange:o=>r(Le)(o,e),onVodFileList:r(Ne)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(fe)(e)?(s(),u(T,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(be)?(s(),u(M,{key:2,content:r(Ce)},null,8,["content"])):m("v-if",!0)],6),r(pe)?(s(),i("div",Q,[m(" 分享的链接 隐藏取消按钮 "),"guage"!==K.sourceType?(s(),u(r(J),{key:0,onClick:Ie},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),K.isLock?m("v-if",!0):(s(),u(r(J),{key:1,onClick:r(Oe),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"]))])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\r\n <n-spin :show="state.spinning" description="加载中"></n-spin>\r\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r($).noData?(s(),u(L,{key:0,noDataImg:r($).noDataImg,noDataTip:r($).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(ue)?(s(),u(R,d({key:0},r(he),{onWriteGuage:r(Re)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(de)?(s(),u(N,d({key:0,ref_key:"countdownDom",ref:Y},r(ke),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ie),"scale-container-hasfooter":r(pe)}]),style:v(r(se))},[r(me)?(s(),u(r(A),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(Se)?(s(),u(M,{key:1,content:r(Ce)},null,8,["content"])):m("v-if",!0),f(r(O),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(le)(e)?(s(),u(r(I),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(ne)(e)}),innerHTML:r(re)(e)},null,10,V),r(ne)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(ve)(e)?(s(),i("span",W,k(r(ve)(e)),1)):m("v-if",!0),r(ae)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ae)(e)},[H,y(" 查看提示 ")],8,B)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ge)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Fe),onOnChange:o=>r(Le)(o,e),onVodFileList:r(Ne)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(fe)(e)?(s(),u(T,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(be)?(s(),u(M,{key:2,content:r(Ce)},null,8,["content"])):m("v-if",!0)],6),r(pe)?(s(),i("div",Q,[m(" 分享的链接 隐藏取消按钮 "),"guage"!==K.sourceType?(s(),u(r(J),{key:0,onClick:Ie},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),K.isLock?m("v-if",!0):(s(),u(r(J),{key:1,onClick:r(Oe),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"]))])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|