cnhis-design-vue 3.1.46-beta.0 → 3.1.46-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/base-search/index.d.ts +17 -8
- package/es/components/base-search/src/index.vue.d.ts +17 -8
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/base-search/style/index.css +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/classification/index.d.ts +219 -18
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +219 -18
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +219 -18
- package/es/components/classification/src/index.vue.d.ts +219 -18
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/quick-search/index.d.ts +21 -7
- package/es/components/quick-search/src/index.vue.d.ts +21 -7
- 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/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +219 -17
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -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 +19 -0
- 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/SelectDynamic.vue.d.ts +178 -11
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -5
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +217 -17
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +219 -17
- 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 +231 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +117 -8
- 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 +13 -9
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +8 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +7 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +19 -25
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +223 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +158 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +611 -36
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -3
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +639 -35
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/constants/index.d.ts +3 -1
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +9 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useAsyncData.d.ts +4 -0
- package/es/components/table-filter/src/hooks/useAsyncData.js +1 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +3 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.d.ts +0 -8
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +0 -1
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +3 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +7 -0
- 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/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
- package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
- package/es/components/table-filter/src/tool/generateDefOptions.js +0 -1
|
@@ -43,7 +43,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
bodyStyle: import("vue").Ref<{
|
|
44
44
|
maxHeight: string;
|
|
45
45
|
height: string;
|
|
46
|
-
overflowY: string;
|
|
47
46
|
}>;
|
|
48
47
|
conditionApiRef: any;
|
|
49
48
|
filterTimer: any;
|
|
@@ -212,6 +211,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
211
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
213
212
|
widgetType: import("vue").ComputedRef<any>;
|
|
214
213
|
Date: import("vue").DefineComponent<{
|
|
214
|
+
componentCfg: {
|
|
215
|
+
type: ObjectConstructor;
|
|
216
|
+
};
|
|
215
217
|
paramCfg: {
|
|
216
218
|
type: ObjectConstructor;
|
|
217
219
|
default: null;
|
|
@@ -226,6 +228,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
228
|
};
|
|
227
229
|
}, {
|
|
228
230
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
231
|
+
componentCfg: {
|
|
232
|
+
type: ObjectConstructor;
|
|
233
|
+
};
|
|
229
234
|
paramCfg: {
|
|
230
235
|
type: ObjectConstructor;
|
|
231
236
|
default: null;
|
|
@@ -248,11 +253,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
248
253
|
dateType: any;
|
|
249
254
|
valueFormat: import("vue").ComputedRef<string>;
|
|
250
255
|
compType: import("vue").ComputedRef<any>;
|
|
251
|
-
|
|
256
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
252
257
|
widgetOptions: import("vue").ComputedRef<{
|
|
253
258
|
label: string;
|
|
254
259
|
value: string;
|
|
255
260
|
}[]>;
|
|
261
|
+
isDateDisabled: (ts: number) => boolean;
|
|
262
|
+
timeDisabled: (ts: number) => {
|
|
263
|
+
isHourDisabled(hour: number): boolean | undefined;
|
|
264
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
265
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
266
|
+
};
|
|
256
267
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
257
268
|
updateUnchangedValue: {
|
|
258
269
|
type: BooleanConstructor;
|
|
@@ -296,6 +307,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
296
307
|
WidgetValEnums: {
|
|
297
308
|
CUSTOM: string;
|
|
298
309
|
FIRST_VAL: string;
|
|
310
|
+
WHOLE: string;
|
|
299
311
|
NOW: string;
|
|
300
312
|
TODAY: string;
|
|
301
313
|
TODAY_START: string;
|
|
@@ -324,6 +336,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
324
336
|
LAST_YEAR: string;
|
|
325
337
|
};
|
|
326
338
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
339
|
+
componentCfg: {
|
|
340
|
+
type: ObjectConstructor;
|
|
341
|
+
};
|
|
327
342
|
paramCfg: {
|
|
328
343
|
type: ObjectConstructor;
|
|
329
344
|
default: null;
|
|
@@ -431,11 +446,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
431
446
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
432
447
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
433
448
|
optionSetting: import("vue").ComputedRef<any>;
|
|
434
|
-
|
|
435
|
-
widgetOptions: import("vue").ComputedRef<{
|
|
436
|
-
label: string;
|
|
437
|
-
value: string;
|
|
438
|
-
}[]>;
|
|
449
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
439
450
|
NSelect: any;
|
|
440
451
|
WidgetOptionEnums: {
|
|
441
452
|
RADIO: string;
|
|
@@ -475,6 +486,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
475
486
|
default: null;
|
|
476
487
|
};
|
|
477
488
|
}, {
|
|
489
|
+
message: import("naive-ui").MessageApi;
|
|
478
490
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
479
491
|
paramCfg: {
|
|
480
492
|
type: ObjectConstructor;
|
|
@@ -487,28 +499,195 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
487
499
|
}>> & {
|
|
488
500
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
489
501
|
}>>;
|
|
490
|
-
|
|
491
|
-
$attrs: {
|
|
492
|
-
[x: string]: unknown;
|
|
493
|
-
};
|
|
502
|
+
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
494
503
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
495
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
496
504
|
isLoading: import("vue").Ref<boolean>;
|
|
497
505
|
filterApiConfig: import("../../../..").AnyObject;
|
|
498
|
-
|
|
506
|
+
classifyFilterList: import("vue").Ref<import("../../../..").AnyObject[]>;
|
|
507
|
+
totalPage: import("vue").Ref<number>;
|
|
508
|
+
menuProps: {
|
|
509
|
+
class: string;
|
|
510
|
+
};
|
|
511
|
+
curPage: import("vue").Ref<number>;
|
|
512
|
+
fieldTitleList: import("vue").Ref<any>;
|
|
513
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
514
|
+
keywordVal: import("vue").Ref<any>;
|
|
499
515
|
optionSetting: import("vue").ComputedRef<any>;
|
|
500
516
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
501
|
-
|
|
517
|
+
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
|
518
|
+
isLastPage: import("vue").ComputedRef<boolean>;
|
|
519
|
+
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
520
|
+
isInitRequest: import("vue").ComputedRef<boolean>;
|
|
521
|
+
setOptionActive: (selectIds: string[]) => void;
|
|
522
|
+
handleUpdateSelect: (value: string[] | null) => void;
|
|
523
|
+
handleUpdatePage: (page: number) => Promise<void>;
|
|
524
|
+
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
525
|
+
isWhole: (value: string) => boolean;
|
|
502
526
|
_handleSearch: (query: string) => Promise<void>;
|
|
503
527
|
handleSearch: (query: string) => Promise<void>;
|
|
504
528
|
handleInitData: () => Promise<void>;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
}>;
|
|
529
|
+
handleClear: () => Promise<void>;
|
|
530
|
+
handleUpdateShow: (show: boolean) => void;
|
|
508
531
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
509
532
|
[key: string]: any;
|
|
510
533
|
}>;
|
|
534
|
+
init: () => void;
|
|
511
535
|
NSelect: any;
|
|
536
|
+
SelectDynamicOption: import("vue").DefineComponent<{
|
|
537
|
+
dynamicOptionInfo: {
|
|
538
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
539
|
+
default: () => {};
|
|
540
|
+
};
|
|
541
|
+
fieldTitleList: {
|
|
542
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
543
|
+
default: () => never[];
|
|
544
|
+
};
|
|
545
|
+
optionList: {
|
|
546
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
547
|
+
default: () => never[];
|
|
548
|
+
};
|
|
549
|
+
isMultiple: {
|
|
550
|
+
type: BooleanConstructor;
|
|
551
|
+
default: boolean;
|
|
552
|
+
};
|
|
553
|
+
curPage: {
|
|
554
|
+
type: NumberConstructor;
|
|
555
|
+
default: number;
|
|
556
|
+
};
|
|
557
|
+
isLastPage: {
|
|
558
|
+
type: BooleanConstructor;
|
|
559
|
+
default: boolean;
|
|
560
|
+
};
|
|
561
|
+
isShowWhole: {
|
|
562
|
+
type: BooleanConstructor;
|
|
563
|
+
default: boolean;
|
|
564
|
+
};
|
|
565
|
+
}, {
|
|
566
|
+
selectMinWidth: number;
|
|
567
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
568
|
+
dynamicOptionInfo: {
|
|
569
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
570
|
+
default: () => {};
|
|
571
|
+
};
|
|
572
|
+
fieldTitleList: {
|
|
573
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
574
|
+
default: () => never[];
|
|
575
|
+
};
|
|
576
|
+
optionList: {
|
|
577
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
578
|
+
default: () => never[];
|
|
579
|
+
};
|
|
580
|
+
isMultiple: {
|
|
581
|
+
type: BooleanConstructor;
|
|
582
|
+
default: boolean;
|
|
583
|
+
};
|
|
584
|
+
curPage: {
|
|
585
|
+
type: NumberConstructor;
|
|
586
|
+
default: number;
|
|
587
|
+
};
|
|
588
|
+
isLastPage: {
|
|
589
|
+
type: BooleanConstructor;
|
|
590
|
+
default: boolean;
|
|
591
|
+
};
|
|
592
|
+
isShowWhole: {
|
|
593
|
+
type: BooleanConstructor;
|
|
594
|
+
default: boolean;
|
|
595
|
+
};
|
|
596
|
+
}>> & {
|
|
597
|
+
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
598
|
+
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
599
|
+
}>>;
|
|
600
|
+
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
601
|
+
dragEndWidth: import("vue").Ref<number>;
|
|
602
|
+
showKeys: import("vue").ComputedRef<any>;
|
|
603
|
+
titleList: import("vue").ComputedRef<string[]>;
|
|
604
|
+
handleSelect: (option: any) => void;
|
|
605
|
+
searchByPage: (onePage: number) => void;
|
|
606
|
+
changeWidth: ({ distance }: any) => void;
|
|
607
|
+
saveWidth: () => void;
|
|
608
|
+
NEmpty: any;
|
|
609
|
+
NButtonGroup: any;
|
|
610
|
+
NButton: any;
|
|
611
|
+
NIcon: any;
|
|
612
|
+
NPopover: any;
|
|
613
|
+
vFlexibleResize: {
|
|
614
|
+
mounted(el: any, { value }: any): void;
|
|
615
|
+
beforeUnmount(el: any): void;
|
|
616
|
+
};
|
|
617
|
+
WidgetValEnums: {
|
|
618
|
+
CUSTOM: string;
|
|
619
|
+
FIRST_VAL: string;
|
|
620
|
+
WHOLE: string;
|
|
621
|
+
NOW: string;
|
|
622
|
+
TODAY: string;
|
|
623
|
+
TODAY_START: string;
|
|
624
|
+
TODAY_END: string;
|
|
625
|
+
TOMORROW: string;
|
|
626
|
+
TOMORROW_START: string;
|
|
627
|
+
TOMORROW_END: string;
|
|
628
|
+
YESTERDAY: string;
|
|
629
|
+
YESTERDAY_START: string;
|
|
630
|
+
YESTERDAY_END: string;
|
|
631
|
+
THIS_WEEK: string;
|
|
632
|
+
WEEK_START: string;
|
|
633
|
+
WEEK_END: string;
|
|
634
|
+
NEXT_WEEK: string;
|
|
635
|
+
LAST_WEEK: string;
|
|
636
|
+
THIS_MONTH: string;
|
|
637
|
+
MONTH_START: string;
|
|
638
|
+
MONTH_END: string;
|
|
639
|
+
NEXT_MONTH: string;
|
|
640
|
+
LAST_MONTH: string;
|
|
641
|
+
THIS_QUARTER: string;
|
|
642
|
+
NEXT_QUARTER: string;
|
|
643
|
+
LAST_QUARTER: string;
|
|
644
|
+
THIS_YEAR: string;
|
|
645
|
+
NEXT_YEAR: string;
|
|
646
|
+
LAST_YEAR: string;
|
|
647
|
+
};
|
|
648
|
+
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
649
|
+
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
650
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
651
|
+
dynamicOptionInfo: {
|
|
652
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
653
|
+
default: () => {};
|
|
654
|
+
};
|
|
655
|
+
fieldTitleList: {
|
|
656
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
657
|
+
default: () => never[];
|
|
658
|
+
};
|
|
659
|
+
optionList: {
|
|
660
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
661
|
+
default: () => never[];
|
|
662
|
+
};
|
|
663
|
+
isMultiple: {
|
|
664
|
+
type: BooleanConstructor;
|
|
665
|
+
default: boolean;
|
|
666
|
+
};
|
|
667
|
+
curPage: {
|
|
668
|
+
type: NumberConstructor;
|
|
669
|
+
default: number;
|
|
670
|
+
};
|
|
671
|
+
isLastPage: {
|
|
672
|
+
type: BooleanConstructor;
|
|
673
|
+
default: boolean;
|
|
674
|
+
};
|
|
675
|
+
isShowWhole: {
|
|
676
|
+
type: BooleanConstructor;
|
|
677
|
+
default: boolean;
|
|
678
|
+
};
|
|
679
|
+
}>> & {
|
|
680
|
+
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
682
|
+
}, {
|
|
683
|
+
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
684
|
+
fieldTitleList: import("../../../..").AnyObject[];
|
|
685
|
+
optionList: import("../../../..").AnyObject[];
|
|
686
|
+
isMultiple: boolean;
|
|
687
|
+
curPage: number;
|
|
688
|
+
isLastPage: boolean;
|
|
689
|
+
isShowWhole: boolean;
|
|
690
|
+
}>;
|
|
512
691
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
513
692
|
paramCfg: {
|
|
514
693
|
type: ObjectConstructor;
|
|
@@ -614,8 +793,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
614
793
|
valueFormat: import("vue").ComputedRef<string>;
|
|
615
794
|
dateFormat: import("vue").ComputedRef<string>;
|
|
616
795
|
compType: import("vue").ComputedRef<any>;
|
|
796
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
797
|
+
isPastTime: import("vue").ComputedRef<boolean>;
|
|
798
|
+
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
617
799
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
618
800
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
801
|
+
startDefault: import("vue").ComputedRef<string>;
|
|
802
|
+
endDefault: import("vue").ComputedRef<string>;
|
|
803
|
+
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
804
|
+
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
619
805
|
dateType: any;
|
|
620
806
|
widgetOptions: import("vue").ComputedRef<{
|
|
621
807
|
label: string;
|
|
@@ -624,8 +810,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
624
810
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
625
811
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
626
812
|
isStartDateDisabled: (ts: number) => boolean;
|
|
813
|
+
timeStartDisabled: (ts: number) => {
|
|
814
|
+
isHourDisabled(hour: number): boolean | 0;
|
|
815
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
816
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
817
|
+
};
|
|
627
818
|
isEndDateDisabled: (ts: number) => boolean;
|
|
819
|
+
timeEndDisabled: (ts: number) => {
|
|
820
|
+
isHourDisabled(hour: number): boolean | 0;
|
|
821
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
822
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
823
|
+
};
|
|
628
824
|
NSelect: any;
|
|
825
|
+
NPopover: any;
|
|
629
826
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
630
827
|
updateUnchangedValue: {
|
|
631
828
|
type: BooleanConstructor;
|
|
@@ -668,6 +865,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
668
865
|
WidgetValEnums: {
|
|
669
866
|
CUSTOM: string;
|
|
670
867
|
FIRST_VAL: string;
|
|
868
|
+
WHOLE: string;
|
|
671
869
|
NOW: string;
|
|
672
870
|
TODAY: string;
|
|
673
871
|
TODAY_START: string;
|
|
@@ -726,7 +924,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
726
924
|
default: null;
|
|
727
925
|
};
|
|
728
926
|
}, {
|
|
729
|
-
|
|
927
|
+
getDynamicLabelData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
928
|
+
message: import("naive-ui").MessageApi;
|
|
730
929
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
731
930
|
paramCfg: {
|
|
732
931
|
type: ObjectConstructor;
|
|
@@ -766,7 +965,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
766
965
|
INPUT: string;
|
|
767
966
|
SELECT: string;
|
|
768
967
|
DATE: string;
|
|
968
|
+
DATE_OUT: string;
|
|
769
969
|
DATE_TIME: string;
|
|
970
|
+
DATETIME_OUT: string;
|
|
770
971
|
CHECKBOX_GROUP: string;
|
|
771
972
|
INPUTNUMBER_RANGE: string;
|
|
772
973
|
DATE_RANGE_OUT: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as a,openBlock as l,createBlock as
|
|
1
|
+
import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as a,openBlock as l,createBlock as n,unref as o,normalizeClass as s,withCtx as d,createVNode as u,normalizeStyle as c,createElementVNode as r,createTextVNode as h,mergeProps as v}from"vue";import{NModal as f,NCard as m,NButton as p}from"naive-ui";import x from"../../../../table-filter/src/components/classify-filter/index.vue.js";const g={class:"svg-wrap"},b={class:"flex_right"};var y=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:y,emit:k}){const z=e,w=i(z.visible),A=i(!1),C=i("860px");let L=i({maxHeight:"496px",height:"496px"}),_=i(null),S=null;function H(){F(),S=setTimeout((()=>{_&&_.value.handleInitConditions()}),30)}function F(){S&&clearTimeout(S)}function T(){_&&_.value.saveAdd()}function $(){w.value=!1,k("cancelSaveAdd"),C.value="860px",L.value={height:"496px",maxHeight:"496px"},A.value=!1,_&&_.value.cancelSaveAdd()}function j(){A.value=!A.value;let e=document.body.clientHeight;"860px"===C.value?(C.value="100%",L.value.maxHeight=`${e}px`,L.value.height=`${e}px`):(C.value="860px",L.value.maxHeight="496px",L.value.height="")}return t((()=>{F()})),a((()=>z.visible),(e=>{w.value=e,e&&H()})),y({cancelSaveAdd:$}),(e,i)=>(l(),n(o(f),{class:s(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":A.value}]),show:w.value,"onUpdate:show":i[0]||(i[0]=e=>w.value=e),maskClosable:!1,width:C.value,bodyStyle:o(L),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:$},{default:d((()=>[u(o(m),{style:c({width:C.value,...o(L)}),title:z.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[r("div",g,[r("i",{onClick:j,class:s(["iconfont-table-filter",A.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),r("i",{onClick:$,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:d((()=>[r("div",b,[u(o(p),{onClick:$},{default:d((()=>[h("取消")])),_:1}),u(o(p),{type:"info",onClick:T},{default:d((()=>[h("保存")])),_:1})])])),default:d((()=>[u(x,v(e.$attrs,{ref_key:"conditionApiRef",ref:_,searchFieldList:z.searchFieldList,conditionList:z.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{y as default};
|