cnhis-design-vue 3.1.54-beta.2 → 3.1.54-beta.21
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/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +16 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +54 -14
- package/es/components/chat-sdk/index.d.ts +2 -0
- package/es/components/chat-sdk/index.js +1 -0
- package/es/components/chat-sdk/src/chatSDK.d.ts +7 -0
- package/es/components/chat-sdk/src/chatSDK.js +1 -0
- package/es/components/classification/index.d.ts +498 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +485 -1
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +485 -1
- package/es/components/classification/src/index.vue.d.ts +500 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +1 -0
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +18 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.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/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +10 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/form-config/index.d.ts +135 -111
- package/es/components/form-config/src/FormConfig.vue.d.ts +136 -112
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +26 -14
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +53 -41
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +17 -17
- package/es/components/form-config/src/constants/index.d.ts +4 -4
- package/es/components/form-config/src/types/index.d.ts +3 -3
- package/es/components/form-render/index.d.ts +26 -14
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +27 -15
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +26 -14
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +12 -3
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +7 -5
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
- package/es/components/form-render/src/types/index.d.ts +6 -6
- package/es/components/iho-table/index.d.ts +28 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +28 -0
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +8 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +7 -5
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +62 -38
- package/es/components/info-header/src/InfoHeader.vue.d.ts +62 -38
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +28 -16
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +26 -14
- package/es/components/quick-search/style/index.css +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 +33 -21
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +33 -21
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +332 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +486 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -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/hooks/useLevelSearchCascader.d.ts +2 -2
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +61 -53
- package/es/shared/utils/business.d.ts +11 -7
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- 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/components/fabric-chart/src/hooks/electrocardiogram/constants/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/constants/index.js +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
|
@@ -276,11 +276,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
276
276
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
277
277
|
requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
|
|
278
278
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
279
|
-
lowCodeReactions: import("../../../../../../es/shared/types").
|
|
279
|
+
lowCodeReactions: import("../../../../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
280
280
|
linebarAutoHidden: boolean;
|
|
281
281
|
bordered: string | boolean;
|
|
282
282
|
uniqueCacheData: boolean;
|
|
283
|
-
operationalForm: import("../../../../../../es/shared/types").
|
|
283
|
+
operationalForm: import("../../../../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
284
284
|
outBordered: boolean;
|
|
285
285
|
forceClearable: boolean;
|
|
286
286
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -2259,10 +2259,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2259
2259
|
default: boolean;
|
|
2260
2260
|
};
|
|
2261
2261
|
lowCodeReactions: {
|
|
2262
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
2262
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2263
2263
|
};
|
|
2264
2264
|
operationalForm: {
|
|
2265
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
2265
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2266
|
+
};
|
|
2267
|
+
dateOperationalForm: {
|
|
2268
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2266
2269
|
};
|
|
2267
2270
|
linebarAutoHidden: {
|
|
2268
2271
|
type: BooleanConstructor;
|
|
@@ -2408,10 +2411,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2408
2411
|
default: boolean;
|
|
2409
2412
|
};
|
|
2410
2413
|
lowCodeReactions: {
|
|
2411
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
2414
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2412
2415
|
};
|
|
2413
2416
|
operationalForm: {
|
|
2414
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
2417
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2418
|
+
};
|
|
2419
|
+
dateOperationalForm: {
|
|
2420
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2415
2421
|
};
|
|
2416
2422
|
linebarAutoHidden: {
|
|
2417
2423
|
type: BooleanConstructor;
|
|
@@ -2493,12 +2499,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2493
2499
|
}>;
|
|
2494
2500
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2495
2501
|
triggerAllReactionsHandler: () => void;
|
|
2496
|
-
operationalFormHandler: (
|
|
2502
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
2497
2503
|
triggerAllOperationalFormHandler: () => void;
|
|
2498
|
-
wordbookSettingHandler:
|
|
2499
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
2500
|
-
setDisabled: (value: boolean) => void;
|
|
2501
|
-
};
|
|
2504
|
+
wordbookSettingHandler: import("../../../../../../es/components/form-render").wordbookSettingHandler;
|
|
2502
2505
|
schemaAdaptor: (fieldList: import("../../../../../../es/components/form-render").FieldItem[], options?: Partial<{
|
|
2503
2506
|
fieldList: import("../../../../../../es/components/form-render").FieldItem[];
|
|
2504
2507
|
initialData: import("../../../../../../es/shared/types").AnyObject;
|
|
@@ -2582,11 +2585,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2582
2585
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
2583
2586
|
requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
|
|
2584
2587
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
2585
|
-
lowCodeReactions: import("../../../../../../es/shared/types").
|
|
2588
|
+
lowCodeReactions: import("../../../../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
2586
2589
|
linebarAutoHidden: boolean;
|
|
2587
2590
|
bordered: string | boolean;
|
|
2588
2591
|
uniqueCacheData: boolean;
|
|
2589
|
-
operationalForm: import("../../../../../../es/shared/types").
|
|
2592
|
+
operationalForm: import("../../../../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
2590
2593
|
outBordered: boolean;
|
|
2591
2594
|
forceClearable: boolean;
|
|
2592
2595
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -2711,7 +2714,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2711
2714
|
force?: boolean | undefined;
|
|
2712
2715
|
}): Promise<void>;
|
|
2713
2716
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2714
|
-
setFormValues(values: import("../../../../../../es/shared/types").AnyObject,
|
|
2717
|
+
setFormValues(values: import("../../../../../../es/shared/types").AnyObject, options?: boolean | {
|
|
2718
|
+
needSplitExtendKey?: boolean | undefined;
|
|
2719
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
2720
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
2721
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
2722
|
+
overwrite?: boolean | undefined;
|
|
2723
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
2715
2724
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2716
2725
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2717
2726
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -3000,10 +3009,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3000
3009
|
default: boolean;
|
|
3001
3010
|
};
|
|
3002
3011
|
lowCodeReactions: {
|
|
3003
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
3012
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
3004
3013
|
};
|
|
3005
3014
|
operationalForm: {
|
|
3006
|
-
type: import("vue").PropType<import("../../../../../../es/shared/types").
|
|
3015
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
3016
|
+
};
|
|
3017
|
+
dateOperationalForm: {
|
|
3018
|
+
type: import("vue").PropType<import("../../../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
3007
3019
|
};
|
|
3008
3020
|
linebarAutoHidden: {
|
|
3009
3021
|
type: BooleanConstructor;
|
|
@@ -181,10 +181,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
181
|
default: boolean;
|
|
182
182
|
};
|
|
183
183
|
lowCodeReactions: {
|
|
184
|
-
type: import("vue").PropType<import("../../../..").
|
|
184
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
|
|
185
185
|
};
|
|
186
186
|
operationalForm: {
|
|
187
|
-
type: import("vue").PropType<import("../../../..").
|
|
187
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
188
|
+
};
|
|
189
|
+
dateOperationalForm: {
|
|
190
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.dateOperationalConfig[]>;
|
|
188
191
|
};
|
|
189
192
|
linebarAutoHidden: {
|
|
190
193
|
type: BooleanConstructor;
|
|
@@ -330,10 +333,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
330
333
|
default: boolean;
|
|
331
334
|
};
|
|
332
335
|
lowCodeReactions: {
|
|
333
|
-
type: import("vue").PropType<import("../../../..").
|
|
336
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
|
|
334
337
|
};
|
|
335
338
|
operationalForm: {
|
|
336
|
-
type: import("vue").PropType<import("../../../..").
|
|
339
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
340
|
+
};
|
|
341
|
+
dateOperationalForm: {
|
|
342
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.dateOperationalConfig[]>;
|
|
337
343
|
};
|
|
338
344
|
linebarAutoHidden: {
|
|
339
345
|
type: BooleanConstructor;
|
|
@@ -415,12 +421,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
415
421
|
}>;
|
|
416
422
|
lowCodeReactionsHandler: (field: string) => void;
|
|
417
423
|
triggerAllReactionsHandler: () => void;
|
|
418
|
-
operationalFormHandler: (
|
|
424
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
419
425
|
triggerAllOperationalFormHandler: () => void;
|
|
420
|
-
wordbookSettingHandler:
|
|
421
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
422
|
-
setDisabled: (value: boolean) => void;
|
|
423
|
-
};
|
|
426
|
+
wordbookSettingHandler: import("../../../../../../es/components/form-render").wordbookSettingHandler;
|
|
424
427
|
schemaAdaptor: (fieldList: FieldItem[], options?: Partial<{
|
|
425
428
|
fieldList: FieldItem[];
|
|
426
429
|
initialData: import("../../../..").AnyObject;
|
|
@@ -504,11 +507,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
504
507
|
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
505
508
|
requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
|
|
506
509
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
507
|
-
lowCodeReactions: import("../../../..").
|
|
510
|
+
lowCodeReactions: import("../../../..").LowCodeTypes.reactionsConfig[];
|
|
508
511
|
linebarAutoHidden: boolean;
|
|
509
512
|
bordered: string | boolean;
|
|
510
513
|
uniqueCacheData: boolean;
|
|
511
|
-
operationalForm: import("../../../..").
|
|
514
|
+
operationalForm: import("../../../..").LowCodeTypes.operationalConfig[];
|
|
512
515
|
outBordered: boolean;
|
|
513
516
|
forceClearable: boolean;
|
|
514
517
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -633,7 +636,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
633
636
|
force?: boolean | undefined;
|
|
634
637
|
}): Promise<void>;
|
|
635
638
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
636
|
-
setFormValues(values: import("../../../..").AnyObject,
|
|
639
|
+
setFormValues(values: import("../../../..").AnyObject, options?: boolean | {
|
|
640
|
+
needSplitExtendKey?: boolean | undefined;
|
|
641
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
642
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
643
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
644
|
+
overwrite?: boolean | undefined;
|
|
645
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
637
646
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
638
647
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
639
648
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -922,10 +931,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
922
931
|
default: boolean;
|
|
923
932
|
};
|
|
924
933
|
lowCodeReactions: {
|
|
925
|
-
type: import("vue").PropType<import("../../../..").
|
|
934
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
|
|
926
935
|
};
|
|
927
936
|
operationalForm: {
|
|
928
|
-
type: import("vue").PropType<import("../../../..").
|
|
937
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
938
|
+
};
|
|
939
|
+
dateOperationalForm: {
|
|
940
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.dateOperationalConfig[]>;
|
|
929
941
|
};
|
|
930
942
|
linebarAutoHidden: {
|
|
931
943
|
type: BooleanConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px;width:20%}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{box-sizing:border-box;flex-basis:134px;line-height:32px;min-width:130px;overflow:hidden;padding-left:4px;padding-right:4px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 4px;width:calc(100% - 134px)}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block;width:100%}
|
|
1
|
+
.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding:12px 0 0}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .filter-expression{display:flex;flex-direction:column}.classification-modal-block .n-card__content .class-filter-content .filter-expression .textarea{margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px;width:20%}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{box-sizing:border-box;flex-basis:134px;line-height:32px;min-width:130px;overflow:hidden;padding-left:4px;padding-right:4px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 4px;width:calc(100% - 134px)}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block;width:100%}
|
|
@@ -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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as
|
|
1
|
+
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as r,createCommentVNode as d,withDirectives as o,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let r=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(r.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;r=r.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}r.push(e)}else{const t=r.findIndex((t=>t.labelId==e.labelId));-1!=t&&r.splice(t,1)}_.labelSelectedEdit=[...r],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[r(W)?(n(),s("div",A,O)):d("v-if",!0),o(c("div",K,[c("div",j,[d(" 表单内嵌打开标签组件的样式 "),d(' <div v-if="explicit" class="explicit-continer">\r\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\r\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\r\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\r\n\t\t\t\t\t\t\t\t<span slot="tab">\r\n\t\t\t\t\t\t\t\t\t{{ i }}\r\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\r\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\r\n\t\t\t\t\t\t\t\t\t\t<labelClassify\r\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\r\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\r\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</n-tab-pane>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</n-tabs>\r\n\t\t\t\t</div> '),d("\r\n\t\t\t\t\t普通标签样式\r\n\t\t\t\t\tv-else\r\n\t\t\t\t\texplicit\r\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(r(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(r(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),d(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:r(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!r(W)]])],512))}});export{B as default};
|
|
@@ -95,6 +95,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
};
|
|
96
96
|
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
97
97
|
actionType: "check" | "uncheck";
|
|
98
|
+
/**
|
|
99
|
+
* 取消勾选树节点
|
|
100
|
+
* baseKeys:基准值
|
|
101
|
+
* currentTree:当前树节点
|
|
102
|
+
* value:树节点的key值
|
|
103
|
+
*/
|
|
98
104
|
value: string | number;
|
|
99
105
|
}) => void>>;
|
|
100
106
|
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
@@ -156,12 +156,12 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
156
156
|
initialize_high?: number | undefined;
|
|
157
157
|
bindEventSetting?: {
|
|
158
158
|
[x: string]: unknown;
|
|
159
|
-
event_type: import("../../../es/shared/types").
|
|
159
|
+
event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
|
|
160
160
|
event_field?: string | undefined;
|
|
161
161
|
params?: {
|
|
162
162
|
p_value?: string | undefined;
|
|
163
163
|
p_name: string;
|
|
164
|
-
p_select: import("../../../es/shared/types").
|
|
164
|
+
p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
|
|
165
165
|
}[] | undefined;
|
|
166
166
|
results?: {
|
|
167
167
|
p_value: string;
|
|
@@ -170,14 +170,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
170
170
|
compareMap?: {
|
|
171
171
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
172
172
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
173
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
174
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
173
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
174
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
176
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
181
|
} | undefined;
|
|
182
182
|
}[] | undefined;
|
|
183
183
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -1906,10 +1906,13 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1906
1906
|
default: boolean;
|
|
1907
1907
|
};
|
|
1908
1908
|
lowCodeReactions: {
|
|
1909
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
1909
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
1910
1910
|
};
|
|
1911
1911
|
operationalForm: {
|
|
1912
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
1912
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
1913
|
+
};
|
|
1914
|
+
dateOperationalForm: {
|
|
1915
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
1913
1916
|
};
|
|
1914
1917
|
linebarAutoHidden: {
|
|
1915
1918
|
type: BooleanConstructor;
|
|
@@ -2055,10 +2058,13 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2055
2058
|
default: boolean;
|
|
2056
2059
|
};
|
|
2057
2060
|
lowCodeReactions: {
|
|
2058
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2061
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2059
2062
|
};
|
|
2060
2063
|
operationalForm: {
|
|
2061
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2064
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2065
|
+
};
|
|
2066
|
+
dateOperationalForm: {
|
|
2067
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2062
2068
|
};
|
|
2063
2069
|
linebarAutoHidden: {
|
|
2064
2070
|
type: BooleanConstructor;
|
|
@@ -2140,12 +2146,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2140
2146
|
}>;
|
|
2141
2147
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2142
2148
|
triggerAllReactionsHandler: () => void;
|
|
2143
|
-
operationalFormHandler: (
|
|
2149
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
2144
2150
|
triggerAllOperationalFormHandler: () => void;
|
|
2145
|
-
wordbookSettingHandler:
|
|
2146
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
2147
|
-
setDisabled: (value: boolean) => void;
|
|
2148
|
-
};
|
|
2151
|
+
wordbookSettingHandler: import("..").wordbookSettingHandler;
|
|
2149
2152
|
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: Partial<{
|
|
2150
2153
|
fieldList: import("..").FieldItem[];
|
|
2151
2154
|
initialData: import("../../../es/shared/types").AnyObject;
|
|
@@ -2229,11 +2232,11 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2229
2232
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
2230
2233
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
2231
2234
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
2232
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
2235
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
2233
2236
|
linebarAutoHidden: boolean;
|
|
2234
2237
|
bordered: string | boolean;
|
|
2235
2238
|
uniqueCacheData: boolean;
|
|
2236
|
-
operationalForm: import("../../../es/shared/types").
|
|
2239
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
2237
2240
|
outBordered: boolean;
|
|
2238
2241
|
forceClearable: boolean;
|
|
2239
2242
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -2358,7 +2361,13 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2358
2361
|
force?: boolean | undefined;
|
|
2359
2362
|
}): Promise<void>;
|
|
2360
2363
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2361
|
-
setFormValues(values: import("../../../es/shared/types").AnyObject,
|
|
2364
|
+
setFormValues(values: import("../../../es/shared/types").AnyObject, options?: boolean | {
|
|
2365
|
+
needSplitExtendKey?: boolean | undefined;
|
|
2366
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
2367
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
2368
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
2369
|
+
overwrite?: boolean | undefined;
|
|
2370
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
2362
2371
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2363
2372
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2364
2373
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -2647,10 +2656,13 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2647
2656
|
default: boolean;
|
|
2648
2657
|
};
|
|
2649
2658
|
lowCodeReactions: {
|
|
2650
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2659
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2651
2660
|
};
|
|
2652
2661
|
operationalForm: {
|
|
2653
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2662
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2663
|
+
};
|
|
2664
|
+
dateOperationalForm: {
|
|
2665
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2654
2666
|
};
|
|
2655
2667
|
linebarAutoHidden: {
|
|
2656
2668
|
type: BooleanConstructor;
|
|
@@ -159,12 +159,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
initialize_high?: number | undefined;
|
|
160
160
|
bindEventSetting?: {
|
|
161
161
|
[x: string]: unknown;
|
|
162
|
-
event_type: import("../../../../es/shared/types").
|
|
162
|
+
event_type: import("../../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
|
|
163
163
|
event_field?: string | undefined;
|
|
164
164
|
params?: {
|
|
165
165
|
p_value?: string | undefined;
|
|
166
166
|
p_name: string;
|
|
167
|
-
p_select: import("../../../../es/shared/types").
|
|
167
|
+
p_select: import("../../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
|
|
168
168
|
}[] | undefined;
|
|
169
169
|
results?: {
|
|
170
170
|
p_value: string;
|
|
@@ -173,14 +173,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
compareMap?: {
|
|
174
174
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
175
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
176
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
177
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
179
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}[] | undefined;
|
|
186
186
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -1909,10 +1909,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1909
1909
|
default: boolean;
|
|
1910
1910
|
};
|
|
1911
1911
|
lowCodeReactions: {
|
|
1912
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
1912
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
1913
1913
|
};
|
|
1914
1914
|
operationalForm: {
|
|
1915
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
1915
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
1916
|
+
};
|
|
1917
|
+
dateOperationalForm: {
|
|
1918
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
1916
1919
|
};
|
|
1917
1920
|
linebarAutoHidden: {
|
|
1918
1921
|
type: BooleanConstructor;
|
|
@@ -2058,10 +2061,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2058
2061
|
default: boolean;
|
|
2059
2062
|
};
|
|
2060
2063
|
lowCodeReactions: {
|
|
2061
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
2064
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2062
2065
|
};
|
|
2063
2066
|
operationalForm: {
|
|
2064
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
2067
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2068
|
+
};
|
|
2069
|
+
dateOperationalForm: {
|
|
2070
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2065
2071
|
};
|
|
2066
2072
|
linebarAutoHidden: {
|
|
2067
2073
|
type: BooleanConstructor;
|
|
@@ -2143,12 +2149,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2143
2149
|
}>;
|
|
2144
2150
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2145
2151
|
triggerAllReactionsHandler: () => void;
|
|
2146
|
-
operationalFormHandler: (
|
|
2152
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
2147
2153
|
triggerAllOperationalFormHandler: () => void;
|
|
2148
|
-
wordbookSettingHandler:
|
|
2149
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
2150
|
-
setDisabled: (value: boolean) => void;
|
|
2151
|
-
};
|
|
2154
|
+
wordbookSettingHandler: import("../../../../es/components/form-render").wordbookSettingHandler;
|
|
2152
2155
|
schemaAdaptor: (fieldList: FieldItem[], options?: Partial<{
|
|
2153
2156
|
fieldList: FieldItem[];
|
|
2154
2157
|
initialData: import("../../../../es/shared/types").AnyObject;
|
|
@@ -2232,11 +2235,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2232
2235
|
businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
|
|
2233
2236
|
requestInstance: import("../../../../es/shared/hooks").FormRequestDefine.RequestInstance;
|
|
2234
2237
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
2235
|
-
lowCodeReactions: import("../../../../es/shared/types").
|
|
2238
|
+
lowCodeReactions: import("../../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
2236
2239
|
linebarAutoHidden: boolean;
|
|
2237
2240
|
bordered: string | boolean;
|
|
2238
2241
|
uniqueCacheData: boolean;
|
|
2239
|
-
operationalForm: import("../../../../es/shared/types").
|
|
2242
|
+
operationalForm: import("../../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
2240
2243
|
outBordered: boolean;
|
|
2241
2244
|
forceClearable: boolean;
|
|
2242
2245
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -2361,7 +2364,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2361
2364
|
force?: boolean | undefined;
|
|
2362
2365
|
}): Promise<void>;
|
|
2363
2366
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2364
|
-
setFormValues(values: import("../../../../es/shared/types").AnyObject,
|
|
2367
|
+
setFormValues(values: import("../../../../es/shared/types").AnyObject, options?: boolean | {
|
|
2368
|
+
needSplitExtendKey?: boolean | undefined;
|
|
2369
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
2370
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
2371
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
2372
|
+
overwrite?: boolean | undefined;
|
|
2373
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
2365
2374
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2366
2375
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2367
2376
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -2650,10 +2659,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2650
2659
|
default: boolean;
|
|
2651
2660
|
};
|
|
2652
2661
|
lowCodeReactions: {
|
|
2653
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
2662
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2654
2663
|
};
|
|
2655
2664
|
operationalForm: {
|
|
2656
|
-
type: import("vue").PropType<import("../../../../es/shared/types").
|
|
2665
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2666
|
+
};
|
|
2667
|
+
dateOperationalForm: {
|
|
2668
|
+
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2657
2669
|
};
|
|
2658
2670
|
linebarAutoHidden: {
|
|
2659
2671
|
type: BooleanConstructor;
|