cnhis-design-vue 3.1.52-beta.3 → 3.1.52-beta.30
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 +57 -0
- package/es/components/body-select/index.js +1 -0
- package/es/components/body-select/src/config/index.d.ts +101 -0
- package/es/components/body-select/src/config/index.js +1 -0
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +6 -0
- package/es/components/body-select/src/hooks/renderCanvas.js +1 -0
- package/es/components/body-select/src/index.vue.d.ts +58 -0
- package/es/components/body-select/src/index.vue.js +1 -0
- package/es/components/body-select/src/index.vue2.js +1 -0
- package/es/components/body-select/style/index.css +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 +82 -10
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +82 -10
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +82 -10
- package/es/components/classification/src/index.vue.d.ts +82 -10
- package/es/components/classification/style/index.css +1 -1
- package/es/components/date-picker/index.d.ts +38 -3
- package/es/components/date-picker/src/DatePicker.vue.d.ts +38 -3
- package/es/components/date-picker/src/DatePicker.vue2.js +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 +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +74 -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 +37 -37
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- 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/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +37 -37
- package/es/components/form-render/src/components/renderer/date.d.ts +25 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- 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/hooks/useFormEvent.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFormEvent.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.d.ts +2 -2
- 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/index.js +1 -1
- 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/defaultValuePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +38 -3
- 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/editDate.vue.d.ts +38 -3
- 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/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 +16 -12
- package/es/components/iho-table/src/utils/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +2 -2
- 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/keyboard/src/Keyboard.vue2.js +1 -1
- 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 +6 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +37 -37
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- 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 +76 -8
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +38 -4
- 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 +38 -4
- 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 +76 -8
- 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 +82 -10
- 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.vue.d.ts +38 -3
- 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/DateOut.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +152 -12
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +152 -12
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/time-picker/src/TimePicker.vue2.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/InputNumberSlash/InputNumberSlash.d.ts +9 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +8 -2
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.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/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
|
@@ -2085,7 +2085,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2085
2085
|
syncBarPosition: Func<any[], any>;
|
|
2086
2086
|
} | undefined>;
|
|
2087
2087
|
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
2088
|
-
updateAnchorList: (field: import("
|
|
2088
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
2089
2089
|
anchorIdList: import("vue").Ref<{
|
|
2090
2090
|
name: string;
|
|
2091
2091
|
title: string;
|
|
@@ -2102,12 +2102,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2102
2102
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../../../es/shared/types").AnyObject | undefined): import("../../../../es/shared/types").AnyObject[];
|
|
2103
2103
|
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[], payload?: import("../../../../es/shared/types").AnyObject | undefined): void;
|
|
2104
2104
|
}>>[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("
|
|
2105
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2106
|
+
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
2107
|
+
setGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2108
|
+
removeGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2109
|
+
lowCodeEventTrigger: (field: import("@formily/core").GeneralField) => void;
|
|
2110
|
+
formModel: import("@formily/core").Form<{
|
|
2111
2111
|
[x: string]: any;
|
|
2112
2112
|
}>;
|
|
2113
2113
|
lowCodeReactionsHandler: (field: string) => void;
|
|
@@ -2322,12 +2322,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2322
2322
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2323
2323
|
clearSpan: (uuid: string) => void;
|
|
2324
2324
|
exposeEvent: {
|
|
2325
|
-
validate(path?: string, { force }?: {
|
|
2325
|
+
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
2326
2326
|
force?: boolean | undefined;
|
|
2327
2327
|
}): Promise<void>;
|
|
2328
2328
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2329
2329
|
setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
|
|
2330
|
-
setFieldState(path: string, setter: (field: Partial<Pick<import("
|
|
2330
|
+
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2331
2331
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2332
2332
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
2333
2333
|
data: any;
|
|
@@ -2340,22 +2340,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2340
2340
|
onBlur: (...args: any[]) => Promise<void>;
|
|
2341
2341
|
onInput: (...args: any[]) => Promise<void>;
|
|
2342
2342
|
editable: boolean;
|
|
2343
|
-
reset: (options?: import("
|
|
2343
|
+
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
2344
2344
|
title: string;
|
|
2345
2345
|
visible: boolean;
|
|
2346
2346
|
submit: <T_1>(onSubmit?: ((values: any) => void | Promise<T_1>) | undefined) => Promise<T_1>;
|
|
2347
|
-
validator: import("
|
|
2348
|
-
pattern: import("
|
|
2347
|
+
validator: import("@formily/core").FieldValidator;
|
|
2348
|
+
pattern: import("@formily/core").FieldPatternTypes;
|
|
2349
2349
|
content: any;
|
|
2350
|
-
display: import("
|
|
2350
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
2351
2351
|
hidden: boolean;
|
|
2352
|
-
form: import("
|
|
2352
|
+
form: import("@formily/core").Form<any>;
|
|
2353
2353
|
componentProps: Record<string, any>;
|
|
2354
2354
|
decoratorProps: Record<string, any>;
|
|
2355
2355
|
description: string;
|
|
2356
2356
|
readOnly: boolean;
|
|
2357
|
-
component: import("
|
|
2358
|
-
decorator: import("
|
|
2357
|
+
component: import("@formily/core").FieldComponent<any, any>;
|
|
2358
|
+
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
2359
2359
|
validating: boolean;
|
|
2360
2360
|
submitting: boolean;
|
|
2361
2361
|
active: boolean;
|
|
@@ -2364,27 +2364,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2364
2364
|
modified: boolean;
|
|
2365
2365
|
inputValue: string;
|
|
2366
2366
|
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("
|
|
2367
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
2368
|
+
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
2369
|
+
caches: import("@formily/core").IFieldCaches;
|
|
2370
|
+
selfErrors: import("@formily/core").FeedbackMessage;
|
|
2371
|
+
readonly errors: import("@formily/core").IFormFeedback[];
|
|
2372
|
+
selfWarnings: import("@formily/core").FeedbackMessage;
|
|
2373
|
+
readonly warnings: import("@formily/core").IFormFeedback[];
|
|
2374
|
+
selfSuccesses: import("@formily/core").FeedbackMessage;
|
|
2375
|
+
readonly successes: import("@formily/core").IFormFeedback[];
|
|
2376
2376
|
readonly selfValid: boolean;
|
|
2377
2377
|
readonly valid: boolean;
|
|
2378
2378
|
readonly selfInvalid: boolean;
|
|
2379
2379
|
readonly invalid: boolean;
|
|
2380
2380
|
initialValue: string;
|
|
2381
2381
|
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("
|
|
2382
|
+
setDataSource: (dataSource?: import("@formily/core").FieldDataSource | undefined) => void;
|
|
2383
|
+
setFeedback: (feedback?: import("@formily/core").IFieldFeedback | undefined) => void;
|
|
2384
|
+
setSelfErrors: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2385
|
+
setSelfWarnings: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2386
|
+
setSelfSuccesses: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
2387
|
+
setValidator: (validator?: import("@formily/core").FieldValidator | undefined) => void;
|
|
2388
2388
|
setValidatorRule: (name: string, value: any) => void;
|
|
2389
2389
|
setRequired: (required?: boolean | undefined) => void;
|
|
2390
2390
|
setValue: (value?: string | undefined) => void;
|
|
@@ -2392,7 +2392,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2392
2392
|
setLoading: (loading?: boolean | undefined) => void;
|
|
2393
2393
|
setValidating: (validating?: boolean | undefined) => void;
|
|
2394
2394
|
setSubmitting: (submitting?: boolean | undefined) => void;
|
|
2395
|
-
queryFeedbacks: (search?: import("
|
|
2395
|
+
queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
|
|
2396
2396
|
modify: () => void;
|
|
2397
2397
|
initialized: boolean;
|
|
2398
2398
|
mounted: boolean;
|
|
@@ -2401,13 +2401,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2401
2401
|
componentType: any;
|
|
2402
2402
|
designable: boolean;
|
|
2403
2403
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
2404
|
-
readonly parent: import("
|
|
2404
|
+
readonly parent: import("@formily/core").GeneralField;
|
|
2405
2405
|
readPretty: boolean;
|
|
2406
2406
|
readonly destroyed: boolean;
|
|
2407
2407
|
setTitle: (title?: string | undefined) => void;
|
|
2408
2408
|
setDescription: (description?: string | undefined) => void;
|
|
2409
|
-
setDisplay: (type?: import("
|
|
2410
|
-
setPattern: (type?: import("
|
|
2409
|
+
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
2410
|
+
setPattern: (type?: import("@formily/core").FieldPatternTypes | undefined) => void;
|
|
2411
2411
|
setComponent: <C extends unknown, ComponentProps extends object = {}>(component?: C | undefined, props?: ComponentProps | undefined) => void;
|
|
2412
2412
|
setComponentProps: <ComponentProps_1 extends object = {}>(props?: ComponentProps_1 | undefined) => void;
|
|
2413
2413
|
setDecorator: <D extends unknown, ComponentProps_2 extends object = {}>(component?: D | undefined, props?: ComponentProps_2 | undefined) => void;
|
|
@@ -2417,8 +2417,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2417
2417
|
onInit: () => void;
|
|
2418
2418
|
onMount: () => void;
|
|
2419
2419
|
onUnmount: () => void;
|
|
2420
|
-
query: (pattern: import("@formily/path").Pattern) => import("
|
|
2421
|
-
notify: (type: import("
|
|
2420
|
+
query: (pattern: import("@formily/path").Pattern) => import("@formily/core").Query;
|
|
2421
|
+
notify: (type: import("@formily/core").LifeCycleTypes, payload?: any) => void;
|
|
2422
2422
|
dispose: () => void;
|
|
2423
2423
|
destroy: (forceClear?: boolean | undefined) => void;
|
|
2424
2424
|
}>>>) => void): void;
|
|
@@ -111,9 +111,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
readonly type: PropType<(string | number)[] | null>;
|
|
112
112
|
readonly default: null;
|
|
113
113
|
};
|
|
114
|
-
/**
|
|
115
|
-
* 拖拽完成
|
|
116
|
-
*/
|
|
117
114
|
readonly disabled: {
|
|
118
115
|
readonly type: PropType<boolean | undefined>;
|
|
119
116
|
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;
|
|
@@ -103,6 +102,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
102
|
onConfirm: {
|
|
104
103
|
type: FunctionConstructor;
|
|
105
104
|
};
|
|
105
|
+
formattedValue: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
};
|
|
108
|
+
placeholder: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
};
|
|
111
|
+
allowedInvalidValue: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
106
114
|
}, {
|
|
107
115
|
attrs: {
|
|
108
116
|
[x: string]: unknown;
|
|
@@ -114,9 +122,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
122
|
onConfirm: {
|
|
115
123
|
type: FunctionConstructor;
|
|
116
124
|
};
|
|
117
|
-
|
|
125
|
+
formattedValue: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
};
|
|
128
|
+
placeholder: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
};
|
|
131
|
+
allowedInvalidValue: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
};
|
|
134
|
+
}>> & {
|
|
135
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
}>>;
|
|
137
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
118
138
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
119
139
|
panelInstRef: import("vue").Ref<null>;
|
|
140
|
+
placeholderRef: import("vue").Ref<any>;
|
|
141
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
120
142
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
121
143
|
formatRef: import("vue").ComputedRef<string>;
|
|
122
144
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -125,15 +147,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
147
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
126
148
|
onUpdateShow: (show: boolean) => void;
|
|
127
149
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
150
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
128
151
|
NDatePicker: any;
|
|
129
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
152
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
153
|
updateUnchangedValue: {
|
|
131
154
|
type: BooleanConstructor;
|
|
132
155
|
};
|
|
133
156
|
onConfirm: {
|
|
134
157
|
type: FunctionConstructor;
|
|
135
158
|
};
|
|
136
|
-
|
|
159
|
+
formattedValue: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
};
|
|
162
|
+
placeholder: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
};
|
|
165
|
+
allowedInvalidValue: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
};
|
|
168
|
+
}>> & {
|
|
169
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
}, {
|
|
137
171
|
updateUnchangedValue: boolean;
|
|
138
172
|
}>>;
|
|
139
173
|
NSelect: any;
|
|
@@ -673,7 +707,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
673
707
|
value: string;
|
|
674
708
|
}[]>;
|
|
675
709
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
676
|
-
initMounted: () => void;
|
|
677
710
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
678
711
|
isStartDateDisabled: (ts: number) => boolean;
|
|
679
712
|
timeStartDisabled: (ts: number) => {
|
|
@@ -696,6 +729,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
696
729
|
onConfirm: {
|
|
697
730
|
type: FunctionConstructor;
|
|
698
731
|
};
|
|
732
|
+
formattedValue: {
|
|
733
|
+
type: StringConstructor;
|
|
734
|
+
};
|
|
735
|
+
placeholder: {
|
|
736
|
+
type: StringConstructor;
|
|
737
|
+
};
|
|
738
|
+
allowedInvalidValue: {
|
|
739
|
+
type: StringConstructor;
|
|
740
|
+
};
|
|
699
741
|
}, {
|
|
700
742
|
attrs: {
|
|
701
743
|
[x: string]: unknown;
|
|
@@ -707,9 +749,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
707
749
|
onConfirm: {
|
|
708
750
|
type: FunctionConstructor;
|
|
709
751
|
};
|
|
710
|
-
|
|
752
|
+
formattedValue: {
|
|
753
|
+
type: StringConstructor;
|
|
754
|
+
};
|
|
755
|
+
placeholder: {
|
|
756
|
+
type: StringConstructor;
|
|
757
|
+
};
|
|
758
|
+
allowedInvalidValue: {
|
|
759
|
+
type: StringConstructor;
|
|
760
|
+
};
|
|
761
|
+
}>> & {
|
|
762
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
763
|
+
}>>;
|
|
764
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
711
765
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
712
766
|
panelInstRef: import("vue").Ref<null>;
|
|
767
|
+
placeholderRef: import("vue").Ref<any>;
|
|
768
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
713
769
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
714
770
|
formatRef: import("vue").ComputedRef<string>;
|
|
715
771
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -718,15 +774,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
718
774
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
719
775
|
onUpdateShow: (show: boolean) => void;
|
|
720
776
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
777
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
721
778
|
NDatePicker: any;
|
|
722
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
779
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
723
780
|
updateUnchangedValue: {
|
|
724
781
|
type: BooleanConstructor;
|
|
725
782
|
};
|
|
726
783
|
onConfirm: {
|
|
727
784
|
type: FunctionConstructor;
|
|
728
785
|
};
|
|
729
|
-
|
|
786
|
+
formattedValue: {
|
|
787
|
+
type: StringConstructor;
|
|
788
|
+
};
|
|
789
|
+
placeholder: {
|
|
790
|
+
type: StringConstructor;
|
|
791
|
+
};
|
|
792
|
+
allowedInvalidValue: {
|
|
793
|
+
type: StringConstructor;
|
|
794
|
+
};
|
|
795
|
+
}>> & {
|
|
796
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
797
|
+
}, {
|
|
730
798
|
updateUnchangedValue: boolean;
|
|
731
799
|
}>>;
|
|
732
800
|
WidgetValEnums: {
|
|
@@ -46,7 +46,6 @@ declare const _default: 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;
|
|
@@ -60,6 +59,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
59
|
onConfirm: {
|
|
61
60
|
type: FunctionConstructor;
|
|
62
61
|
};
|
|
62
|
+
formattedValue: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
};
|
|
65
|
+
placeholder: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
allowedInvalidValue: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
63
71
|
}, {
|
|
64
72
|
attrs: {
|
|
65
73
|
[x: string]: unknown;
|
|
@@ -71,9 +79,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
79
|
onConfirm: {
|
|
72
80
|
type: FunctionConstructor;
|
|
73
81
|
};
|
|
74
|
-
|
|
82
|
+
formattedValue: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
85
|
+
placeholder: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
allowedInvalidValue: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
}>> & {
|
|
92
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
}>>;
|
|
94
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
75
95
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
76
96
|
panelInstRef: import("vue").Ref<null>;
|
|
97
|
+
placeholderRef: import("vue").Ref<any>;
|
|
98
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
77
99
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
78
100
|
formatRef: import("vue").ComputedRef<string>;
|
|
79
101
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -82,15 +104,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
104
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
83
105
|
onUpdateShow: (show: boolean) => void;
|
|
84
106
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
107
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
85
108
|
NDatePicker: any;
|
|
86
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
109
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
110
|
updateUnchangedValue: {
|
|
88
111
|
type: BooleanConstructor;
|
|
89
112
|
};
|
|
90
113
|
onConfirm: {
|
|
91
114
|
type: FunctionConstructor;
|
|
92
115
|
};
|
|
93
|
-
|
|
116
|
+
formattedValue: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
};
|
|
119
|
+
placeholder: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
};
|
|
122
|
+
allowedInvalidValue: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
};
|
|
125
|
+
}>> & {
|
|
126
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
}, {
|
|
94
128
|
updateUnchangedValue: boolean;
|
|
95
129
|
}>>;
|
|
96
130
|
NSelect: any;
|
|
@@ -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) => {
|
|
@@ -73,6 +72,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
72
|
onConfirm: {
|
|
74
73
|
type: FunctionConstructor;
|
|
75
74
|
};
|
|
75
|
+
formattedValue: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
};
|
|
78
|
+
placeholder: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
};
|
|
81
|
+
allowedInvalidValue: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
76
84
|
}, {
|
|
77
85
|
attrs: {
|
|
78
86
|
[x: string]: unknown;
|
|
@@ -84,9 +92,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
92
|
onConfirm: {
|
|
85
93
|
type: FunctionConstructor;
|
|
86
94
|
};
|
|
87
|
-
|
|
95
|
+
formattedValue: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
};
|
|
98
|
+
placeholder: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
allowedInvalidValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
}>>;
|
|
107
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
88
108
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
89
109
|
panelInstRef: import("vue").Ref<null>;
|
|
110
|
+
placeholderRef: import("vue").Ref<any>;
|
|
111
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
90
112
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
91
113
|
formatRef: import("vue").ComputedRef<string>;
|
|
92
114
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -95,15 +117,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
117
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
96
118
|
onUpdateShow: (show: boolean) => void;
|
|
97
119
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
120
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
98
121
|
NDatePicker: any;
|
|
99
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
122
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
123
|
updateUnchangedValue: {
|
|
101
124
|
type: BooleanConstructor;
|
|
102
125
|
};
|
|
103
126
|
onConfirm: {
|
|
104
127
|
type: FunctionConstructor;
|
|
105
128
|
};
|
|
106
|
-
|
|
129
|
+
formattedValue: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
};
|
|
132
|
+
placeholder: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
};
|
|
135
|
+
allowedInvalidValue: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
}>> & {
|
|
139
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
}, {
|
|
107
141
|
updateUnchangedValue: boolean;
|
|
108
142
|
}>>;
|
|
109
143
|
WidgetValEnums: {
|
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};
|