cnhis-design-vue 3.1.52-release.3 → 3.1.52-release.5
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/index.d.ts +14 -4
- package/es/components/body-select/src/config/index.js +1 -1
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +1 -1
- package/es/components/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue.d.ts +14 -4
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/utils/print.d.ts +3 -3
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +45 -41
- package/es/components/classification/index.d.ts +6 -4
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +6 -4
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +6 -4
- package/es/components/classification/src/index.vue.d.ts +6 -4
- 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/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/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
- package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +2 -2
- package/es/components/form-config/index.d.ts +108 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +182 -74
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +37 -37
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +73 -37
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +12 -0
- package/es/components/form-render/index.d.ts +37 -37
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +37 -37
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +6 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +7 -0
- 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/types/fieldItem.d.ts +1 -1
- package/es/components/form-render/src/types/fieldItem.js +1 -1
- package/es/components/form-render/src/types/index.js +1 -1
- package/es/components/iho-table/index.d.ts +8 -4
- package/es/components/iho-table/src/IhoTable.vue.d.ts +8 -4
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +3 -1
- package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/copyPastePlugin.js +1 -0
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.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/selectRendererPlugin/editSelect.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +15 -11
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/src/InfoHeader.vue.d.ts +75 -75
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +38 -38
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +37 -37
- package/es/components/quick-search/index.d.ts +3 -1
- package/es/components/quick-search/src/index.vue.d.ts +3 -1
- package/es/components/quick-search/src/index.vue2.js +1 -1
- 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 +0 -6
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +12 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +49 -37
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
- package/es/components/table-filter/index.d.ts +2 -0
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +0 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +0 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +6 -4
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.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/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +2 -0
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
|
@@ -169,6 +169,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
p_value: string;
|
|
170
170
|
p_name: string;
|
|
171
171
|
}[] | undefined;
|
|
172
|
+
compareMap?: {
|
|
173
|
+
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
174
|
+
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
+
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
+
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
|
+
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
|
+
} | undefined;
|
|
172
184
|
}[] | undefined;
|
|
173
185
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
174
186
|
is_allow_check_mid?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -2085,7 +2097,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2085
2097
|
syncBarPosition: Func<any[], any>;
|
|
2086
2098
|
} | undefined>;
|
|
2087
2099
|
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
2088
|
-
updateAnchorList: (field: import("
|
|
2100
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
2089
2101
|
anchorIdList: import("vue").Ref<{
|
|
2090
2102
|
name: string;
|
|
2091
2103
|
title: string;
|
|
@@ -2102,12 +2114,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2102
2114
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../../../es/shared/types").AnyObject | undefined): import("../../../../es/shared/types").AnyObject[];
|
|
2103
2115
|
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[], payload?: import("../../../../es/shared/types").AnyObject | undefined): void;
|
|
2104
2116
|
}>>[T]>>;
|
|
2105
|
-
triggerAutoHidden: (field: import("
|
|
2106
|
-
observeFormGraph: Record<string, import("
|
|
2107
|
-
setGraph: (field: import("
|
|
2108
|
-
removeGraph: (field: import("
|
|
2109
|
-
lowCodeEventTrigger: (field: import("
|
|
2110
|
-
formModel: import("
|
|
2117
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2118
|
+
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
2119
|
+
setGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2120
|
+
removeGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2121
|
+
lowCodeEventTrigger: (field: import("@formily/core").GeneralField) => void;
|
|
2122
|
+
formModel: import("@formily/core").Form<{
|
|
2111
2123
|
[x: string]: any;
|
|
2112
2124
|
}>;
|
|
2113
2125
|
lowCodeReactionsHandler: (field: string) => void;
|
|
@@ -2322,12 +2334,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2322
2334
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2323
2335
|
clearSpan: (uuid: string) => void;
|
|
2324
2336
|
exposeEvent: {
|
|
2325
|
-
validate(path?: string | ((field: import("
|
|
2337
|
+
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
2326
2338
|
force?: boolean | undefined;
|
|
2327
2339
|
}): Promise<void>;
|
|
2328
2340
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2329
2341
|
setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
|
|
2330
|
-
setFieldState(path: string, setter: (field: Partial<Pick<import("
|
|
2342
|
+
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2331
2343
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2332
2344
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
2333
2345
|
data: any;
|
|
@@ -2340,22 +2352,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2340
2352
|
onBlur: (...args: any[]) => Promise<void>;
|
|
2341
2353
|
onInput: (...args: any[]) => Promise<void>;
|
|
2342
2354
|
editable: boolean;
|
|
2343
|
-
reset: (options?: import("
|
|
2355
|
+
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
2344
2356
|
title: string;
|
|
2345
2357
|
visible: boolean;
|
|
2346
2358
|
submit: <T_1>(onSubmit?: ((values: any) => void | Promise<T_1>) | undefined) => Promise<T_1>;
|
|
2347
|
-
validator: import("
|
|
2348
|
-
pattern: import("
|
|
2359
|
+
validator: import("@formily/core").FieldValidator;
|
|
2360
|
+
pattern: import("@formily/core").FieldPatternTypes;
|
|
2349
2361
|
content: any;
|
|
2350
|
-
display: import("
|
|
2362
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
2351
2363
|
hidden: boolean;
|
|
2352
|
-
form: import("
|
|
2364
|
+
form: import("@formily/core").Form<any>;
|
|
2353
2365
|
componentProps: Record<string, any>;
|
|
2354
2366
|
decoratorProps: Record<string, any>;
|
|
2355
2367
|
description: string;
|
|
2356
2368
|
readOnly: boolean;
|
|
2357
|
-
component: import("
|
|
2358
|
-
decorator: import("
|
|
2369
|
+
component: import("@formily/core").FieldComponent<any, any>;
|
|
2370
|
+
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
2359
2371
|
validating: boolean;
|
|
2360
2372
|
submitting: boolean;
|
|
2361
2373
|
active: boolean;
|
|
@@ -2364,27 +2376,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2364
2376
|
modified: boolean;
|
|
2365
2377
|
inputValue: string;
|
|
2366
2378
|
inputValues: any[];
|
|
2367
|
-
dataSource: import("
|
|
2368
|
-
feedbacks: import("
|
|
2369
|
-
caches: import("
|
|
2370
|
-
selfErrors: import("
|
|
2371
|
-
readonly errors: import("
|
|
2372
|
-
selfWarnings: import("
|
|
2373
|
-
readonly warnings: import("
|
|
2374
|
-
selfSuccesses: import("
|
|
2375
|
-
readonly successes: import("
|
|
2379
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
2380
|
+
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
2381
|
+
caches: import("@formily/core").IFieldCaches;
|
|
2382
|
+
selfErrors: import("@formily/core").FeedbackMessage;
|
|
2383
|
+
readonly errors: import("@formily/core").IFormFeedback[];
|
|
2384
|
+
selfWarnings: import("@formily/core").FeedbackMessage;
|
|
2385
|
+
readonly warnings: import("@formily/core").IFormFeedback[];
|
|
2386
|
+
selfSuccesses: import("@formily/core").FeedbackMessage;
|
|
2387
|
+
readonly successes: import("@formily/core").IFormFeedback[];
|
|
2376
2388
|
readonly selfValid: boolean;
|
|
2377
2389
|
readonly valid: boolean;
|
|
2378
2390
|
readonly selfInvalid: boolean;
|
|
2379
2391
|
readonly invalid: boolean;
|
|
2380
2392
|
initialValue: string;
|
|
2381
2393
|
readonly validateStatus: "error" | "success" | "warning" | "validating";
|
|
2382
|
-
setDataSource: (dataSource?: import("
|
|
2383
|
-
setFeedback: (feedback?: import("
|
|
2384
|
-
setSelfErrors: (messages?: import("
|
|
2385
|
-
setSelfWarnings: (messages?: import("
|
|
2386
|
-
setSelfSuccesses: (messages?: import("
|
|
2387
|
-
setValidator: (validator?: import("
|
|
2394
|
+
setDataSource: (dataSource?: import("@formily/core").FieldDataSource | undefined) => void;
|
|
2395
|
+
setFeedback: (feedback?: import("@formily/core").IFieldFeedback | undefined) => void;
|
|
2396
|
+
setSelfErrors: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2397
|
+
setSelfWarnings: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2398
|
+
setSelfSuccesses: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2399
|
+
setValidator: (validator?: import("@formily/core").FieldValidator | undefined) => void;
|
|
2388
2400
|
setValidatorRule: (name: string, value: any) => void;
|
|
2389
2401
|
setRequired: (required?: boolean | undefined) => void;
|
|
2390
2402
|
setValue: (value?: string | undefined) => void;
|
|
@@ -2392,7 +2404,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2392
2404
|
setLoading: (loading?: boolean | undefined) => void;
|
|
2393
2405
|
setValidating: (validating?: boolean | undefined) => void;
|
|
2394
2406
|
setSubmitting: (submitting?: boolean | undefined) => void;
|
|
2395
|
-
queryFeedbacks: (search?: import("
|
|
2407
|
+
queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
|
|
2396
2408
|
modify: () => void;
|
|
2397
2409
|
initialized: boolean;
|
|
2398
2410
|
mounted: boolean;
|
|
@@ -2401,13 +2413,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2401
2413
|
componentType: any;
|
|
2402
2414
|
designable: boolean;
|
|
2403
2415
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
2404
|
-
readonly parent: import("
|
|
2416
|
+
readonly parent: import("@formily/core").GeneralField;
|
|
2405
2417
|
readPretty: boolean;
|
|
2406
2418
|
readonly destroyed: boolean;
|
|
2407
2419
|
setTitle: (title?: string | undefined) => void;
|
|
2408
2420
|
setDescription: (description?: string | undefined) => void;
|
|
2409
|
-
setDisplay: (type?: import("
|
|
2410
|
-
setPattern: (type?: import("
|
|
2421
|
+
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
2422
|
+
setPattern: (type?: import("@formily/core").FieldPatternTypes | undefined) => void;
|
|
2411
2423
|
setComponent: <C extends unknown, ComponentProps extends object = {}>(component?: C | undefined, props?: ComponentProps | undefined) => void;
|
|
2412
2424
|
setComponentProps: <ComponentProps_1 extends object = {}>(props?: ComponentProps_1 | undefined) => void;
|
|
2413
2425
|
setDecorator: <D extends unknown, ComponentProps_2 extends object = {}>(component?: D | undefined, props?: ComponentProps_2 | undefined) => void;
|
|
@@ -2417,8 +2429,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2417
2429
|
onInit: () => void;
|
|
2418
2430
|
onMount: () => void;
|
|
2419
2431
|
onUnmount: () => void;
|
|
2420
|
-
query: (pattern: import("@formily/path").Pattern) => import("
|
|
2421
|
-
notify: (type: import("
|
|
2432
|
+
query: (pattern: import("@formily/path").Pattern) => import("@formily/core").Query;
|
|
2433
|
+
notify: (type: import("@formily/core").LifeCycleTypes, payload?: any) => void;
|
|
2422
2434
|
dispose: () => void;
|
|
2423
2435
|
destroy: (forceClear?: boolean | undefined) => void;
|
|
2424
2436
|
}>>>) => void): void;
|
|
@@ -111,6 +111,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
readonly type: PropType<(string | number)[] | null>;
|
|
112
112
|
readonly default: null;
|
|
113
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* 拖拽完成
|
|
116
|
+
*/
|
|
114
117
|
readonly disabled: {
|
|
115
118
|
readonly type: PropType<boolean | undefined>;
|
|
116
119
|
readonly default: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export{formatDateRangeInfo,presetValToDateRangestr,presetValToTimestamp}from"./src/components/render-widget/helpers/presetValToTimestamp.js";export{DatePresetValEnums,DateRangeInnerValEnums,DateRangeOutDefEnums}from"./src/components/render-widget/enums.js";
|
|
@@ -89,7 +89,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
label: string;
|
|
90
90
|
value: string;
|
|
91
91
|
}[]>;
|
|
92
|
-
initMounted: () => void;
|
|
93
92
|
isDateDisabled: (ts: number) => boolean;
|
|
94
93
|
timeDisabled: (ts: number) => {
|
|
95
94
|
isHourDisabled(hour: number): boolean | undefined;
|
|
@@ -708,7 +707,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
708
707
|
value: string;
|
|
709
708
|
}[]>;
|
|
710
709
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
711
|
-
initMounted: () => void;
|
|
712
710
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
713
711
|
isStartDateDisabled: (ts: number) => boolean;
|
|
714
712
|
timeStartDisabled: (ts: number) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as a,createElementBlock as l,createVNode as r,unref as u,isRef as o,createBlock as s,createCommentVNode as p}from"vue";import d from"../../../../../date-picker/index.js";import{NSelect as n}from"naive-ui";import{WidgetTypeEnums as i,WidgetOptionEnums as m,WidgetValEnums as v}from"../../../types/enums.js";import{WidgetDateOptionEnums as f}from"../../render-widget/helpers/enums.js";import{widgetDateValOptions as y}from"../../render-widget/helpers/dateExtraMap.js";import{setDateDisabled as c,setTimeDisabled as b}from"../../render-widget/helpers/dateDisabled.js";const g={style:{display:"flex"}};var w=e({__name:"Date",props:{componentCfg:{type:Object},paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:w}){const C=e,M=t({set(e){w("update:modelValue",e)},get:()=>C.modelValue}),V=t({set(e){w("update:presetVal",e)},get:()=>C.presetVal}),j=t((()=>T.value.toLowerCase()||i.DATE.toLowerCase())),D=t((()=>{let e="";switch(T.value){case i.DATE:e="yyyy-MM-dd";break;case i.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),T=t((()=>C.paramCfg._rawData.type)),h=t((()=>{var e,t;return null==(t=null==(e=C.paramCfg)?void 0:e._rawData)?void 0:t.optionType})),_=t((()=>{var e;const t=h.value||m.ALL;if(T.value&&t){const a=`${T.value}_${t}`,l=f[a];let r=(null!=(e=y[l])?e:[]).map((e=>({label:e.title,value:e.con})));return r.unshift({label:"自定义输入",value:v.CUSTOM}),r}return[]}));function x(e){return c(e,h.value)}function A(e){return b(e,h.value)}return(e,t)=>(a(),l("div",g,[r(u(n),{style:{width:"120px"},class:"form-item",to:"body",value:u(V),"onUpdate:value":t[0]||(t[0]=e=>o(V)?V.value=e:null),options:u(_)},null,8,["value","options"]),u(V)===u(v).CUSTOM?(a(),s(u(d),{key:0,class:"form-item",type:u(j),clearable:"",to:"body","is-date-disabled":x,"is-time-disabled":A,valueFormat:u(D),"formatted-value":u(M),"onUpdate:formatted-value":t[1]||(t[1]=e=>o(M)?M.value=e:null)},null,8,["type","valueFormat","formatted-value"])):p("v-if",!0)]))}});export{w as default};
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -50,7 +50,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
value: string;
|
|
51
51
|
}[]>;
|
|
52
52
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
53
|
-
initMounted: () => void;
|
|
54
53
|
handleChange: (val: any, type: 'start' | 'end') => void;
|
|
55
54
|
isStartDateDisabled: (ts: number) => boolean;
|
|
56
55
|
timeStartDisabled: (ts: number) => {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as a,computed as l,watch as t,
|
|
1
|
+
import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,createVNode as i,unref as d,isRef as o,withCtx as s,toDisplayString as v,createCommentVNode as n}from"vue";import{NSelect as m,NPopover as p}from"naive-ui";import f from"../../../../../date-picker/index.js";import c from"moment";import{isString as y}from"lodash-es";import{WidgetOptionEnums as b,WidgetTypeEnums as g,WidgetValEnums as T}from"../../../types/enums.js";import{WidgetDateOptionEnums as h}from"../../render-widget/helpers/enums.js";import{widgetDateValOptions as D}from"../../render-widget/helpers/dateExtraMap.js";import{dateDisabledCollect as M,isStartDateRangeDisabled as E,isTimeStartRangeDisabled as _,isEndDateRangeDisabled as w,isTimeEndRangeDisabled as A}from"../../render-widget/helpers/dateDisabled.js";const V={style:{display:"flex"}},Y={key:0,style:{display:"flex"}},k={key:0},x={key:0};var C=e({__name:"DateRange",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:C}){const U=e,j=a(),F=a(),O=l((()=>{let e="";switch(H.value){case g.DATE:e="yyyy-MM-dd";break;case g.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),S=l((()=>{let e="";switch(H.value){case g.DATE:e="YYYY-MM-DD";break;case g.DATE_TIME:e="YYYY-MM-DD HH:mm:ss"}return e})),H=l((()=>U.paramCfg._rawData.type)),I=l((()=>{var e,a;return null==(a=null==(e=U.paramCfg)?void 0:e._rawData)?void 0:a.optionType})),L=l((()=>I.value===b.PAST_TIME)),$=l((()=>I.value===b.FUTURE_TIME)),R=l((()=>H.value===g.DATE?"初始日期":"初始时间")),N=l((()=>H.value===g.DATE?"截止日期":"截止时间")),G=l((()=>$.value?M.curTime:"00:00:00")),P=l((()=>L.value?M.curTime:"23:59:59")),q=l((()=>j.value?c(j.value).format(S.value):null)),z=l((()=>F.value?c(F.value).format(S.value):null)),B=l((()=>H.value.toLowerCase()||g.DATE.toLowerCase())),J=l((()=>{var e;const a=I.value||b.ALL;if(H.value&&a){const l=`${H.value}_${a}_RANGE`,t=h[l];let u=(null!=(e=D[t])?e:[]).map((e=>({label:e.title,value:e.con})));return u.unshift({label:"自定义输入",value:T.CUSTOM}),u}return[]})),K=l({set(e){C("update:presetVal",e)},get:()=>U.presetVal});function Q(e,a){var l,t;switch(a){case"start":j.value=e;break;case"end":F.value=e}const u=q.value||z.value?`${null!=(l=q.value)?l:""} ~ ${null!=(t=z.value)?t:""}`:"";C("update:modelValue",u)}function W(e){return E(e,I.value,F.value)}function X(e){return _(e,I.value,F.value)}function Z(e){return w(e,I.value,j.value)}function ee(e){return A(e,I.value,j.value)}return t((()=>U.modelValue),(e=>{if(e&&y(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(j.value=c(a.trim()).valueOf()),void(l.trim()&&(F.value=c(l.trim()).valueOf()))}j.value=F.value=null}),{immediate:!0}),(e,a)=>(u(),r("div",V,[i(d(m),{style:{width:"120px"},class:"form-item",to:"body",value:d(K),"onUpdate:value":a[0]||(a[0]=e=>o(K)?K.value=e:null),options:d(J)},null,8,["value","options"]),d(K)===d(T).CUSTOM?(u(),r("div",Y,[i(d(p),{trigger:"hover",disabled:!d(q)},{trigger:s((()=>[i(d(f),{type:d(B),"default-time":d(G),clearable:"",to:"body",valueFormat:d(O),placeholder:d(R),value:j.value,"is-date-disabled":W,"is-time-disabled":X,"onUpdate:value":a[1]||(a[1]=e=>Q(e,"start"))},null,8,["type","default-time","valueFormat","placeholder","value"])])),default:s((()=>[d(q)?(u(),r("span",k,v(d(q)),1)):n("v-if",!0)])),_:1},8,["disabled"]),i(d(p),{trigger:"hover",disabled:!d(z)},{trigger:s((()=>[i(d(f),{style:{"margin-left":"5px"},type:d(B),"default-time":d(P),clearable:"",to:"body",valueFormat:d(O),placeholder:d(N),value:F.value,"is-date-disabled":Z,"is-time-disabled":ee,"onUpdate:value":a[2]||(a[2]=e=>Q(e,"end"))},null,8,["type","default-time","valueFormat","placeholder","value"])])),default:s((()=>[d(z)?(u(),r("span",x,v(d(z)),1)):n("v-if",!0)])),_:1},8,["disabled"])])):n("v-if",!0)]))}});export{C as default};
|
|
@@ -46,7 +46,6 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
46
46
|
label: string;
|
|
47
47
|
value: string;
|
|
48
48
|
}[]>;
|
|
49
|
-
initMounted: () => void;
|
|
50
49
|
isDateDisabled: (ts: number) => boolean;
|
|
51
50
|
timeDisabled: (ts: number) => {
|
|
52
51
|
isHourDisabled(hour: number): boolean | undefined;
|
|
@@ -665,7 +664,6 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
665
664
|
value: string;
|
|
666
665
|
}[]>;
|
|
667
666
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
668
|
-
initMounted: () => void;
|
|
669
667
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
670
668
|
isStartDateDisabled: (ts: number) => boolean;
|
|
671
669
|
timeStartDisabled: (ts: number) => {
|
package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts
CHANGED
|
@@ -11,10 +11,10 @@ export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { condit
|
|
|
11
11
|
showAdd: boolean;
|
|
12
12
|
};
|
|
13
13
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
14
|
-
editDisplayCategory: (
|
|
14
|
+
editDisplayCategory: (item: ICategoryItemType, cb?: any) => void;
|
|
15
15
|
handleDisplayCategorySelect: (item: ICategoryItemType) => void;
|
|
16
16
|
handleDisplayCategoryRemove: (index: number, item: ICategoryItemType) => void;
|
|
17
|
-
handleDisplayCategoryAdd: (
|
|
17
|
+
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
18
18
|
handlerBlur: () => void;
|
|
19
19
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
20
20
|
};
|
package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{reactive as
|
|
1
|
+
import{reactive as a,computed as e}from"vue";const i=(i,{conditionList:l},s)=>{const d=a({displayCategories:[],displayCategoryOriginLen:0,showAdd:!1,addDisplayCategory:""}),t=e((()=>d.displayCategories.length===d.displayCategoryOriginLen));return{State:d,isEnableAddDisplayCategory:t,editDisplayCategory:(a,e)=>{a.disabled=!1,e&&e()},handleDisplayCategorySelect:a=>{a.disabled&&(i.value===a.value?i.value="":i.value=a.value)},handleDisplayCategoryRemove:(a,e)=>{if(!l||!l.length)return void d.displayCategories.splice(a,1);const i=l.filter((a=>a.displayCategory==e.value));i&&i.length?s.error("该分类下有已有数据,请删除该分类下的筛选集后重试!"):d.displayCategories.splice(a,1)},handleDisplayCategoryAdd:a=>{d.showAdd=!0,a&&a()},handlerBlur:()=>{d.showAdd=!1,d.addDisplayCategory&&(d.displayCategories.push({disabled:!0,value:d.addDisplayCategory}),i.value=d.addDisplayCategory,d.addDisplayCategory="")},initDisplayCategories:(a,e)=>{const l=[];a.forEach((a=>{"未分类"!==a&&l.push({disabled:!0,value:a})})),d.displayCategories=l,d.displayCategoryOriginLen=d.displayCategories.length,i.value=e}}};export{i as useDisplayCategory};
|
|
@@ -76,6 +76,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
}[];
|
|
77
77
|
};
|
|
78
78
|
loading: import("vue").Ref<boolean>;
|
|
79
|
+
parentInputRef: import("vue").Ref<any>;
|
|
80
|
+
parentInputAddRef: import("vue").Ref<any>;
|
|
79
81
|
DisplayCategoryState: {
|
|
80
82
|
addDisplayCategory: string;
|
|
81
83
|
displayCategories: {
|
|
@@ -86,10 +88,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
88
|
showAdd: boolean;
|
|
87
89
|
};
|
|
88
90
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
89
|
-
editDisplayCategory: (
|
|
91
|
+
editDisplayCategory: (item: ICategoryItemType, cb?: any) => void;
|
|
90
92
|
handleDisplayCategorySelect: (item: ICategoryItemType) => void;
|
|
91
93
|
handleDisplayCategoryRemove: (index: number, item: ICategoryItemType) => void;
|
|
92
|
-
handleDisplayCategoryAdd: (
|
|
94
|
+
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
93
95
|
handlerBlur: () => void;
|
|
94
96
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
95
97
|
FilterConditionsState: any;
|
|
@@ -101,6 +103,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
103
|
getParamCfg: (key: string) => any;
|
|
102
104
|
initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
|
103
105
|
getRawFilterConditions: () => any[];
|
|
106
|
+
handleEditDisplayCategory: (item: ICategoryItemType) => void;
|
|
107
|
+
handleDisplayCategoryAddState: () => void;
|
|
104
108
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
105
109
|
handleDisplayCategorySelectProxy: (item: ICategoryItemType) => void;
|
|
106
110
|
clearFormData: () => void;
|
|
@@ -209,7 +213,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
213
|
label: string;
|
|
210
214
|
value: string;
|
|
211
215
|
}[]>;
|
|
212
|
-
initMounted: () => void;
|
|
213
216
|
isDateDisabled: (ts: number) => boolean;
|
|
214
217
|
timeDisabled: (ts: number) => {
|
|
215
218
|
isHourDisabled(hour: number): boolean | undefined;
|
|
@@ -828,7 +831,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
828
831
|
value: string;
|
|
829
832
|
}[]>;
|
|
830
833
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
831
|
-
initMounted: () => void;
|
|
832
834
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
833
835
|
isStartDateDisabled: (ts: number) => boolean;
|
|
834
836
|
timeStartDisabled: (ts: number) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as a,reactive as t,ref as i,provide as l,toRef as n,openBlock as o,createElementBlock as s,createVNode as d,unref as r,withCtx as c,createElementVNode as p,createCommentVNode as u,Fragment as y,renderList as m,normalizeClass as
|
|
1
|
+
import{defineComponent as e,useAttrs as a,reactive as t,ref as i,provide as l,toRef as n,openBlock as o,createElementBlock as s,createVNode as d,unref as r,withCtx as c,createElementVNode as p,createCommentVNode as u,Fragment as y,renderList as m,normalizeClass as f,toDisplayString as v,createBlock as g,withDirectives as h,createTextVNode as C,vShow as k}from"vue";import{useMessage as b,NSpin as A,NInput as w,NIcon as L,NButton as _,NSelect as U,NTooltip as N}from"naive-ui";import{CloseOutline as I,AddOutline as V,AddCircleSharp as x}from"@vicons/ionicons5";import D from"./ValueCfg.vue.js";import{DataTypeEnums as S,ConditionEnums as B}from"../../types/enums.js";import{useDisplayCategory as j}from"./hooks/useDisplayCategory.js";import{useFilterConditions as F}from"./hooks/useFilterConditions.js";import{conditionOptions as z}from"./helpers/options.js";import{InjectionClassifyFilterList as O}from"../../constants/index.js";const R={class:"searchConditionByApi_wrapper"},P={class:"class-filter-content"},q={key:0,class:"item-name"},E=p("span",{class:"label"},"筛选分类名称:",-1),T={key:1,class:"quickSearch-content"},J=p("span",{class:"label"},"父类名称:",-1),K=["onClick"],M=["onDblclick"],Q={class:"s-content"},G={key:2,class:"item-name"},H=p("span",{class:"label"}," 过滤条件: ",-1),W=p("span",null,"添加",-1),X={class:"select-item-list"},Y={class:"index-span"},Z=["onClick"];var $=e({__name:"index",props:{actionList_prop:{type:Object,default:()=>({})},conditionList:{type:Array,default:()=>[]},tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},showItemName:{type:Boolean,default:!0},hideAddBtn:{type:Boolean,default:!1}},emits:["saveAdd","cancelSaveAdd"],setup(e,{expose:$,emit:ee}){const ae=e,te=b(),ie={class:"classify-fieldkey-popover"},le=a(),ne=t({className:"",displayCategory:"",filterConditions:[]}),oe=i(!1),se=i(),de=i();l(O,n(ne,"filterConditions"));const{State:re,isEnableAddDisplayCategory:ce,editDisplayCategory:pe,handleDisplayCategorySelect:ue,handleDisplayCategoryRemove:ye,handleDisplayCategoryAdd:me,handlerBlur:fe,initDisplayCategories:ve}=j(n(ne,"displayCategory"),{conditionList:ae.conditionList},te),{State:ge,paramOptions:he,addFilterCondition:Ce,delFilterCondition:ke,updateKey:be,updateCondition:Ae,getParamCfg:we,initFilterConditions:Le,getRawFilterConditions:_e}=F(n(ne,"filterConditions"),ae.searchFieldList,S.API);function Ue(){me((()=>{setTimeout((()=>{de.value&&de.value.focus()}),100)}))}function Ne(){ne.className="",ne.displayCategory="",ne.filterConditions=[]}async function Ie(){var e;try{if(Ne(),oe.value=!0,ve(le.displayCategoryList,ae.actionList_prop.displayCategory||void 0),ae.actionList_prop){ne.className=ae.actionList_prop.name,await Le(ae.tableId,null!=(e=ae.actionList_prop.conObj)?e:[]);ne.filterConditions.length<1&&he.value&&he.value.length>0&&Ce()}}finally{oe.value=!1}}return Ie(),$({handleInitConditions:Ie,saveAdd:function(){new Promise((e=>{ne.className||!ae.showItemName?0!==ne.filterConditions.length?ne.filterConditions.some((({key:e,condition:a,value:t,presetVal:i})=>!e||!a||a===B.EQUAL&&!t&&!i))?te.warning("请补充完整条件内容"):e(!0):te.warning("请至少添加一个条件"):te.warning("请输入分类名称")})).then((()=>{let e;var a;"edit"===ae.actionList_prop.from&&(a=ae.actionList_prop.sid,e=null==ae?void 0:ae.conditionList.find((e=>e.sid===a)));const t={displayCategory:ne.displayCategory,name:ne.className||"",conObj:_e()},i={id:e?e.sid:"",tableId:ae.tableId,setting:JSON.stringify(t)};ee("saveAdd",i,!1)}))},cancelSaveAdd:function(){Ne(),ee("cancelSaveAdd")},addAction:Ce,checkActionList:function(){return ne.filterConditions.every((e=>!e.field_key))}}),(a,t)=>(o(),s("div",R,[d(r(A),{show:oe.value},{default:c((()=>[p("div",P,[e.showItemName?(o(),s("div",q,[E,d(r(w),{value:ne.className,"onUpdate:value":t[0]||(t[0]=e=>ne.className=e),placeholder:"请输入分类名称",style:{width:"250px"},maxlength:"10"},null,8,["value"])])):u("v-if",!0),e.showItemName?(o(),s("div",T,[J,(o(!0),s(y,null,m(r(re).displayCategories,((e,a)=>(o(),s("div",{class:"parent-name",key:a,onClick:a=>function(e){ue(e)}(e)},[e.disabled?(o(),s("div",{key:0,class:f(["edit-tag",{"edit-tag-select":e.value===ne.displayCategory&&e.disabled}]),onDblclick:a=>function(e){e.disabled=!1,setTimeout((()=>{se.value.length>0&&se.value[0].focus()}),100)}(e)},[p("div",Q,v(e.value),1),d(r(L),{component:r(I),class:"anticon-close",size:"20",onClick:t=>r(ye)(a,e)},null,8,["component","onClick"])],42,M)):(o(),g(r(w),{key:1,ref_for:!0,ref_key:"parentInputRef",ref:se,class:"parent-input",style:{width:"100px"},disabled:e.disabled,onBlur:()=>e.disabled=!0,value:e.value,"onUpdate:value":a=>e.value=a,maxlength:20},null,8,["disabled","onBlur","value","onUpdate:value"]))],8,K)))),128)),r(ce)?(o(),s(y,{key:0},[h(d(r(_),{class:"ant-btn",icon:"plus",dashed:"",onClick:Ue},{default:c((()=>[d(r(L),{component:r(V),size:"20"},null,8,["component"]),C(" "+v("添加父类"))])),_:1},512),[[k,!r(re).showAdd]]),h(d(r(w),{ref_key:"parentInputAddRef",ref:de,class:"parent-input",value:r(re).addDisplayCategory,"onUpdate:value":t[1]||(t[1]=e=>r(re).addDisplayCategory=e),valueModifiers:{trim:!0},style:{width:"100px"},onBlur:r(fe),maxlength:20},null,8,["value","onBlur"]),[[k,r(re).showAdd]])],64)):u("v-if",!0)])):u("v-if",!0),e.hideAddBtn?u("v-if",!0):(o(),s("div",G,[H,p("span",{class:"addAction",onClick:t[2]||(t[2]=(...e)=>r(Ce)&&r(Ce)(...e)),style:{cursor:"pointer"}},[d(r(L),{component:r(x),class:"blue",size:"18"},null,8,["component"]),W])])),p("ul",X,[(o(!0),s(y,null,m(ne.filterConditions,((e,a)=>(o(),s("li",{key:a},[p("span",Y,v(a+1),1),u(" 选择 field_key "),d(r(U),{class:"form-item",placeholder:"请选择",value:e.key,"menu-props":ie,to:"body",filterable:"",options:r(he),"onUpdate:value":e=>r(be)(a,e)},null,8,["value","options","onUpdate:value"]),u(" 选择 关系 "),e.key?(o(),g(r(U),{key:0,class:"form-item",placeholder:"请选择",value:e.condition,to:"body",filterable:"",options:r(z),"onUpdate:value":e=>r(Ae)(a,e)},null,8,["value","options","onUpdate:value"])):u("v-if",!0),u(" 自定义 "),e.key&&e.condition&&e.condition!==r(B).NULL?(o(),g(D,{key:1,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,presetVal:e.presetVal,"onUpdate:presetVal":a=>e.presetVal=a,isAccurate:e.isAccurateSearch,"onUpdate:isAccurate":a=>e.isAccurateSearch=a,"param-cfg":r(we)(e.key)},null,8,["modelValue","onUpdate:modelValue","presetVal","onUpdate:presetVal","isAccurate","onUpdate:isAccurate","param-cfg"])):u("v-if",!0),d(r(N),{title:"删除",trigger:"hover"},{trigger:c((()=>[p("i",{onClick:e=>r(ke)(a),class:"iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"},null,8,Z)])),default:c((()=>[C(" 删除 ")])),_:2},1024)])))),128))])])])),_:1},8,["show"])]))}});export{$ as default};
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as a,watch as l,openBlock as u,createElementBlock as
|
|
1
|
+
import{defineComponent as e,ref as t,computed as a,watch as l,openBlock as u,createElementBlock as n,unref as r,createBlock as o,createCommentVNode as i,normalizeClass as d,withCtx as p,createTextVNode as m,toDisplayString as v}from"vue";import{NButton as c}from"naive-ui";import s from"../../../../../date-picker/index.js";import f from"moment";import{isString as y}from"lodash-es";import{WidgetOptionEnums as g}from"../../../types/enums.js";import{dateDisabledCollect as b,setDateDisabled as h,setTimeDisabled as k}from"../helpers/dateDisabled.js";import C from"./DateQuickBtn/index.vue.js";const Y={class:"render-widget-date-range"};var D=e({__name:"DateInner",props:{componentCfg:{type:Object},type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},placeholder:{type:String,default:"请输入"},value:{type:String,default:""},unit:{type:String,default:""}},emits:["update:value","update:unit"],setup(e,{emit:D}){const M=e,S=t(),F=t(!1),j=a((()=>{let e="";switch(M.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),T=a((()=>{let e="";switch(M.type){case"date":e="选择日期";break;case"datetime":e="选择时间"}return e})),w=a((()=>M.unit)),_=a((()=>{var e;return null==(e=M.componentCfg)?void 0:e.widgetCfg.optionSetting})),x=a((()=>_.value!==g.SELECT_TIME)),B=a((()=>b.curTime));function E(){x.value&&(F.value=!F.value)}function V(e){D("update:value",e)}function H(e){D("update:unit",e)}function I(e){S.value=e;const t=e?f(e).format(j.value):e;D("update:value",t),D("update:unit","")}function O(e){return h(e,_.value)}function Q(e){return k(e,_.value)}return l((()=>M.value),(e=>{if(e&&y(e))return w.value||(F.value=!0),void(S.value=f(e).valueOf());S.value=null}),{immediate:!0}),x.value||(F.value=!0),(t,a)=>(u(),n("div",Y,[r(x)&&!F.value?(u(),o(C,{key:0,componentCfg:e.componentCfg,type:e.type,dateFormat:r(j),radioValue:r(w),onClickQuickBtn:V,onChangeRadioValue:H},null,8,["componentCfg","type","dateFormat","radioValue"])):i("v-if",!0),r(x)?(u(),o(r(c),{key:1,secondary:"",class:d(F.value?"select-date-right":"select-date-left"),onClick:E},{default:p((()=>[m(v(r(T)),1)])),_:1},8,["class"])):i("v-if",!0),!r(x)||F.value?(u(),o(r(s),{key:2,to:"body",type:e.type,clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.placeholder,value:S.value,defaultTime:r(B),"is-date-disabled":O,"is-time-disabled":Q,"onUpdate:value":I},null,8,["type","clearable","valueFormat","placeholder","value","defaultTime"])):i("v-if",!0)]))}});export{D as default};
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as u,createElementBlock as r,unref as n,createBlock as i,createCommentVNode as d,normalizeClass as o,withCtx as v,createTextVNode as c,toDisplayString as m,createVNode as s,createElementVNode as p}from"vue";import{NButton as f}from"naive-ui";import y from"../../../../../date-picker/index.js";import g from"moment";import{isString as b}from"lodash-es";import{WidgetOptionEnums as h}from"../../../types/enums.js";import{dateDisabledCollect as k,isStartDateRangeDisabled as C,isTimeStartRangeDisabled as F,isEndDateRangeDisabled as M,isTimeEndRangeDisabled as S}from"../helpers/dateDisabled.js";import T from"./DateQuickBtn/index.vue.js";const Y={class:"render-widget-date-range"},D={key:2,class:"date-detail-range"},E=p("span",{class:"divider"},null,-1);var _=e({__name:"DateRangeInner",props:{componentCfg:{type:Object},type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},startPlaceholder:{type:String,default:"起始"},endPlaceholder:{type:String,default:"截止"},value:{type:String,default:""},unit:{type:String,default:""}},emits:["update:value","update:unit"],setup(e,{emit:p}){const _=e,j=a(!1),w=a(),P=a(),I=t((()=>_.unit)),U=t((()=>{var e;return null==(e=_.componentCfg)?void 0:e.widgetCfg.optionSetting})),x=t((()=>U.value!==h.SELECT_TIME)),B=t((()=>U.value===h.PAST_TIME)),O=t((()=>U.value===h.FUTURE_TIME)),R=t((()=>{let e="";switch(_.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),V=t((()=>{let e="";switch(_.type){case"date":e="选择日期";break;case"datetime":e="选择时间"}return e})),H=t((()=>O.value?k.curTime:"00:00:00")),Q=t((()=>B.value?k.curTime:"23:59:59"));function $(e){p("update:value",e)}function A(e){p("update:unit",e)}function L(){x.value&&(j.value=!j.value)}function q(e,a){switch(a){case"start":w.value=e;break;case"end":P.value=e}const t=w.value?g(w.value).format(R.value):null,l=P.value?g(P.value).format(R.value):null;p("update:value",t||l?`${null!=t?t:""} ~ ${null!=l?l:""}`:"")}function z(e){return C(e,U.value,P.value)}function G(e){return F(e,U.value,P.value)}function J(e){return M(e,U.value,w.value)}function K(e){return S(e,U.value,w.value)}return l((()=>_.value),(e=>{if(e&&b(e)&&e.includes("~")){I.value||(j.value=!0);const[a,t]=e.split("~");return a.trim()&&(w.value=g(a.trim()).valueOf()),void(t.trim()&&(P.value=g(t.trim()).valueOf()))}w.value=P.value=null,p("update:unit","")}),{immediate:!0}),x.value||(j.value=!0),(a,t)=>(u(),r("div",Y,[n(x)&&!j.value?(u(),i(T,{key:0,componentCfg:e.componentCfg,type:e.type,dateFormat:n(R),radioValue:n(I),onClickQuickBtn:$,onChangeRadioValue:A},null,8,["componentCfg","type","dateFormat","radioValue"])):d("v-if",!0),n(x)?(u(),i(n(f),{key:1,secondary:"",class:o(j.value?"select-date-right":"select-date-left"),onClick:L},{default:v((()=>[c(m(n(V)),1)])),_:1},8,["class"])):d("v-if",!0),d(' default-time="23:59:59" '),!n(x)||j.value?(u(),r("div",D,[s(n(y),{type:e.type,to:"body","default-time":n(H),clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.startPlaceholder,value:w.value,"is-date-disabled":z,"is-time-disabled":G,"onUpdate:value":t[0]||(t[0]=e=>q(e,"start"))},null,8,["type","default-time","clearable","valueFormat","placeholder","value"]),E,s(n(y),{type:e.type,to:"body","default-time":n(Q),clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.endPlaceholder,value:P.value,"is-date-disabled":J,"is-time-disabled":K,"onUpdate:value":t[1]||(t[1]=e=>q(e,"end"))},null,8,["type","default-time","clearable","valueFormat","placeholder","value"])])):d("v-if",!0)]))}});export{_ as default};
|
|
1
|
+
import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as u,createElementBlock as r,unref as n,createBlock as i,createCommentVNode as d,normalizeClass as o,withCtx as v,createTextVNode as c,toDisplayString as m,createVNode as s,createElementVNode as p}from"vue";import{NButton as f}from"naive-ui";import y from"../../../../../date-picker/index.js";import g from"moment";import{isString as b}from"lodash-es";import{WidgetOptionEnums as h}from"../../../types/enums.js";import{dateDisabledCollect as k,isStartDateRangeDisabled as C,isTimeStartRangeDisabled as F,isEndDateRangeDisabled as M,isTimeEndRangeDisabled as S}from"../helpers/dateDisabled.js";import T from"./DateQuickBtn/index.vue.js";const Y={class:"render-widget-date-range"},D={key:2,class:"date-detail-range"},E=p("span",{class:"divider"},null,-1);var _=e({__name:"DateRangeInner",props:{componentCfg:{type:Object},type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},startPlaceholder:{type:String,default:"起始"},endPlaceholder:{type:String,default:"截止"},value:{type:String,default:""},unit:{type:String,default:""}},emits:["update:value","update:unit"],setup(e,{emit:p}){const _=e,j=a(!1),w=a(),P=a(),I=t((()=>_.unit)),U=t((()=>{var e;return null==(e=_.componentCfg)?void 0:e.widgetCfg.optionSetting})),x=t((()=>U.value!==h.SELECT_TIME)),B=t((()=>U.value===h.PAST_TIME)),O=t((()=>U.value===h.FUTURE_TIME)),R=t((()=>{let e="";switch(_.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),V=t((()=>{let e="";switch(_.type){case"date":e="选择日期";break;case"datetime":e="选择时间"}return e})),H=t((()=>O.value?k.curTime:"00:00:00")),Q=t((()=>B.value?k.curTime:"23:59:59"));function $(e){p("update:value",e)}function A(e){p("update:unit",e)}function L(){x.value&&(j.value=!j.value)}function q(e,a){switch(a){case"start":w.value=e;break;case"end":P.value=e}const t=w.value?g(w.value).format(R.value):null,l=P.value?g(P.value).format(R.value):null;p("update:value",t||l?`${null!=t?t:""} ~ ${null!=l?l:""}`:""),p("update:unit","")}function z(e){return C(e,U.value,P.value)}function G(e){return F(e,U.value,P.value)}function J(e){return M(e,U.value,w.value)}function K(e){return S(e,U.value,w.value)}return l((()=>_.value),(e=>{if(e&&b(e)&&e.includes("~")){I.value||(j.value=!0);const[a,t]=e.split("~");return a.trim()&&(w.value=g(a.trim()).valueOf()),void(t.trim()&&(P.value=g(t.trim()).valueOf()))}w.value=P.value=null,p("update:unit","")}),{immediate:!0}),x.value||(j.value=!0),(a,t)=>(u(),r("div",Y,[n(x)&&!j.value?(u(),i(T,{key:0,componentCfg:e.componentCfg,type:e.type,dateFormat:n(R),radioValue:n(I),onClickQuickBtn:$,onChangeRadioValue:A},null,8,["componentCfg","type","dateFormat","radioValue"])):d("v-if",!0),n(x)?(u(),i(n(f),{key:1,secondary:"",class:o(j.value?"select-date-right":"select-date-left"),onClick:L},{default:v((()=>[c(m(n(V)),1)])),_:1},8,["class"])):d("v-if",!0),d(' default-time="23:59:59" '),!n(x)||j.value?(u(),r("div",D,[s(n(y),{type:e.type,to:"body","default-time":n(H),clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.startPlaceholder,value:w.value,"is-date-disabled":z,"is-time-disabled":G,"onUpdate:value":t[0]||(t[0]=e=>q(e,"start"))},null,8,["type","default-time","clearable","valueFormat","placeholder","value"]),E,s(n(y),{type:e.type,to:"body","default-time":n(Q),clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.endPlaceholder,value:P.value,"is-date-disabled":J,"is-time-disabled":K,"onUpdate:value":t[1]||(t[1]=e=>q(e,"end"))},null,8,["type","default-time","clearable","valueFormat","placeholder","value"])])):d("v-if",!0)]))}});export{_ as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{WidgetTypeEnums as t,WidgetOptionEnums as n}from"../types/enums.js";const r=[t.CHECKBOX_GROUP,t.DATE,t.DATE_TIME,t.DATE_RANGE_INNER,t.DATETIME_RANGE_INNER,t.LABEL];function i(){function i(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function
|
|
1
|
+
import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{WidgetTypeEnums as t,WidgetOptionEnums as n}from"../types/enums.js";const r=[t.CHECKBOX_GROUP,t.DATE,t.DATE_TIME,t.DATE_RANGE_INNER,t.DATETIME_RANGE_INNER,t.LABEL];function i(){function i(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function u(t){const{widgetType:r,defaultValue:i,defValueUnit:u,optionSetting:a,multiple:c}=t.widgetCfg||{},l=e.get(r);let o;if(l){const{setDefaultValue:e}=l;e&&(o=await e(i,u,{optSetting:null!=a?a:n.ALL,multiple:c,_cfg:t}))}return o}return{isRender:i,getDefValByRenderWidget:u,initRenderWidgetCfg:async function(e){const t=i(e);if(!t)return t;const{widgetType:n}=e.widgetCfg||{};return e._frontId||(e._frontId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))),e.isRender=t,e.widgetType=n,e.con="EQ",r.includes(n)&&(e._isBlock=!0),1==e.filterExplicit&&(e.value=await u(e)),t},getRenderSearchConObj:function(e){if(!i(e))return null;const{columnName:t,con:n,value:r,widgetType:u,unit:a=""}=e,c=Array.isArray(r)?r:r?[r]:[],l={widgetType:u,field_key:t,con:n,value:c.length>0?c:null,unit:a};return e.accurateSearch.switchEnable&&(l.isAccurateSearch=e.isAccurateSearchVal,l.accurateSearchKey=e.accurateSearch.searchKey),l},getDefValByRenderConObj:function(e,n){if(!i(n))return null;const{widgetType:r,multiple:u}=n.widgetCfg||{},{value:a}=e;return r!==t.SELECT&&r!==t.CHECKBOX_GROUP||!u?Array.isArray(a)?a[0]:a:Array.isArray(a)?a:a?[a]:[]},isExistDefValByRenderWidget:function(e){const{defaultValue:t,defValueUnit:n}=e.widgetCfg||{};return!(!t&&!n)},resetRenderWidgetValue:function(e){const t=i(e);return t?(e.value=null,e.unit="",t):t}}}export{i as default};
|
package/es/env.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly VITE_APP_TYPE: string;
|
|
5
|
-
// 更多环境变量...
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface ImportMeta {
|
|
9
|
-
readonly env: ImportMetaEnv;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare module '*.vue' {
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
import type { App, defineComponent } from 'vue';
|
|
15
|
-
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
-
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
-
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
-
install(app: App): void;
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
export default component;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.js';
|
|
25
|
-
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly VITE_APP_TYPE: string;
|
|
5
|
+
// 更多环境变量...
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface ImportMeta {
|
|
9
|
+
readonly env: ImportMetaEnv;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.vue' {
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
import type { App, defineComponent } from 'vue';
|
|
15
|
+
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
+
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
+
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
+
install(app: App): void;
|
|
19
|
+
};
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export default component;
|
|
22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