cnhis-design-vue 3.1.46-beta.9 → 3.1.46-release.0
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/es/components/base-search/index.d.ts +8 -17
- package/es/components/base-search/src/index.vue.d.ts +8 -17
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +18 -219
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +18 -219
- 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 +18 -219
- package/es/components/classification/src/index.vue.d.ts +18 -219
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +0 -1
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -1
- package/es/components/quick-search/index.d.ts +7 -21
- package/es/components/quick-search/src/index.vue.d.ts +7 -21
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +17 -219
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -17
- 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 -19
- 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 +11 -178
- 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 +5 -1
- 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 +1 -2
- 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 +17 -217
- 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 +17 -219
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +8 -117
- 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 +9 -13
- 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 +6 -8
- 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 +6 -7
- 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 +25 -19
- 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/index.d.ts +36 -611
- 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 +3 -10
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +3 -4
- 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 +35 -639
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/constants/index.d.ts +1 -3
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -9
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- 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 +8 -0
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +7 -0
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +0 -3
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +0 -7
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +2 -2
- package/es/components/table-export-field/index.d.ts +0 -967
- package/es/components/table-export-field/index.js +0 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -192
- package/es/components/table-export-field/src/components/ExportModal.vue.js +0 -1
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +0 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +0 -687
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +0 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +0 -1
- package/es/components/table-export-field/src/constants/index.d.ts +0 -3
- package/es/components/table-export-field/src/constants/index.js +0 -1
- package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +0 -6
- package/es/components/table-export-field/src/hooks/useAsyncData.js +0 -1
- package/es/components/table-export-field/src/index.vue.d.ts +0 -968
- package/es/components/table-export-field/src/index.vue.js +0 -1
- package/es/components/table-export-field/src/index.vue2.js +0 -1
- package/es/components/table-export-field/src/types/index.d.ts +0 -6
- package/es/components/table-export-field/src/types/index.js +0 -1
- package/es/components/table-export-field/style/index.css +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -231
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -223
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -158
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +0 -4
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +0 -4
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +0 -1
- package/es/components/table-filter/src/hooks/useAsyncData.d.ts +0 -4
- package/es/components/table-filter/src/hooks/useAsyncData.js +0 -1
|
@@ -154,9 +154,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
154
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
155
155
|
widgetType: import("vue").ComputedRef<any>;
|
|
156
156
|
Date: import("vue").DefineComponent<{
|
|
157
|
-
componentCfg: {
|
|
158
|
-
type: ObjectConstructor;
|
|
159
|
-
};
|
|
160
157
|
paramCfg: {
|
|
161
158
|
type: ObjectConstructor;
|
|
162
159
|
default: null;
|
|
@@ -171,9 +168,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
171
168
|
};
|
|
172
169
|
}, {
|
|
173
170
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
-
componentCfg: {
|
|
175
|
-
type: ObjectConstructor;
|
|
176
|
-
};
|
|
177
171
|
paramCfg: {
|
|
178
172
|
type: ObjectConstructor;
|
|
179
173
|
default: null;
|
|
@@ -196,17 +190,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
196
190
|
dateType: any;
|
|
197
191
|
valueFormat: import("vue").ComputedRef<string>;
|
|
198
192
|
compType: import("vue").ComputedRef<any>;
|
|
199
|
-
|
|
193
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
200
194
|
widgetOptions: import("vue").ComputedRef<{
|
|
201
195
|
label: string;
|
|
202
196
|
value: string;
|
|
203
197
|
}[]>;
|
|
204
|
-
isDateDisabled: (ts: number) => boolean;
|
|
205
|
-
timeDisabled: (ts: number) => {
|
|
206
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
207
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
208
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
209
|
-
};
|
|
210
198
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
211
199
|
updateUnchangedValue: {
|
|
212
200
|
type: BooleanConstructor;
|
|
@@ -250,7 +238,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
250
238
|
WidgetValEnums: {
|
|
251
239
|
CUSTOM: string;
|
|
252
240
|
FIRST_VAL: string;
|
|
253
|
-
WHOLE: string;
|
|
254
241
|
NOW: string;
|
|
255
242
|
TODAY: string;
|
|
256
243
|
TODAY_START: string;
|
|
@@ -279,9 +266,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
266
|
LAST_YEAR: string;
|
|
280
267
|
};
|
|
281
268
|
}, 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<{
|
|
282
|
-
componentCfg: {
|
|
283
|
-
type: ObjectConstructor;
|
|
284
|
-
};
|
|
285
269
|
paramCfg: {
|
|
286
270
|
type: ObjectConstructor;
|
|
287
271
|
default: null;
|
|
@@ -389,7 +373,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
389
373
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
390
374
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
391
375
|
optionSetting: import("vue").ComputedRef<any>;
|
|
392
|
-
|
|
376
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
377
|
+
widgetOptions: import("vue").ComputedRef<{
|
|
378
|
+
label: string;
|
|
379
|
+
value: string;
|
|
380
|
+
}[]>;
|
|
393
381
|
NSelect: any;
|
|
394
382
|
WidgetOptionEnums: {
|
|
395
383
|
RADIO: string;
|
|
@@ -429,7 +417,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
429
417
|
default: null;
|
|
430
418
|
};
|
|
431
419
|
}, {
|
|
432
|
-
message: import("naive-ui").MessageApi;
|
|
433
420
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
434
421
|
paramCfg: {
|
|
435
422
|
type: ObjectConstructor;
|
|
@@ -442,195 +429,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
442
429
|
}>> & {
|
|
443
430
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
444
431
|
}>>;
|
|
445
|
-
|
|
432
|
+
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
433
|
+
$attrs: {
|
|
434
|
+
[x: string]: unknown;
|
|
435
|
+
};
|
|
446
436
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
437
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
447
438
|
isLoading: import("vue").Ref<boolean>;
|
|
448
439
|
filterApiConfig: import("../../../..").AnyObject;
|
|
449
|
-
|
|
450
|
-
totalPage: import("vue").Ref<number>;
|
|
451
|
-
menuProps: {
|
|
452
|
-
class: string;
|
|
453
|
-
};
|
|
454
|
-
curPage: import("vue").Ref<number>;
|
|
455
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
456
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
457
|
-
keywordVal: import("vue").Ref<any>;
|
|
440
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
458
441
|
optionSetting: import("vue").ComputedRef<any>;
|
|
459
442
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
460
|
-
|
|
461
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
462
|
-
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
463
|
-
isInitRequest: import("vue").ComputedRef<boolean>;
|
|
464
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
465
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
466
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
467
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
468
|
-
isWhole: (value: string) => boolean;
|
|
443
|
+
searchOptions: (keyword: string) => Promise<any>;
|
|
469
444
|
_handleSearch: (query: string) => Promise<void>;
|
|
470
445
|
handleSearch: (query: string) => Promise<void>;
|
|
471
446
|
handleInitData: () => Promise<void>;
|
|
472
|
-
|
|
473
|
-
|
|
447
|
+
renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
448
|
+
[key: string]: any;
|
|
449
|
+
}>;
|
|
474
450
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
475
451
|
[key: string]: any;
|
|
476
452
|
}>;
|
|
477
|
-
init: () => void;
|
|
478
453
|
NSelect: any;
|
|
479
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
480
|
-
dynamicOptionInfo: {
|
|
481
|
-
type: PropType<import("../../../..").AnyObject>;
|
|
482
|
-
default: () => {};
|
|
483
|
-
};
|
|
484
|
-
fieldTitleList: {
|
|
485
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
486
|
-
default: () => never[];
|
|
487
|
-
};
|
|
488
|
-
optionList: {
|
|
489
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
490
|
-
default: () => never[];
|
|
491
|
-
};
|
|
492
|
-
isMultiple: {
|
|
493
|
-
type: BooleanConstructor;
|
|
494
|
-
default: boolean;
|
|
495
|
-
};
|
|
496
|
-
curPage: {
|
|
497
|
-
type: NumberConstructor;
|
|
498
|
-
default: number;
|
|
499
|
-
};
|
|
500
|
-
isLastPage: {
|
|
501
|
-
type: BooleanConstructor;
|
|
502
|
-
default: boolean;
|
|
503
|
-
};
|
|
504
|
-
isShowWhole: {
|
|
505
|
-
type: BooleanConstructor;
|
|
506
|
-
default: boolean;
|
|
507
|
-
};
|
|
508
|
-
}, {
|
|
509
|
-
selectMinWidth: number;
|
|
510
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
511
|
-
dynamicOptionInfo: {
|
|
512
|
-
type: PropType<import("../../../..").AnyObject>;
|
|
513
|
-
default: () => {};
|
|
514
|
-
};
|
|
515
|
-
fieldTitleList: {
|
|
516
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
517
|
-
default: () => never[];
|
|
518
|
-
};
|
|
519
|
-
optionList: {
|
|
520
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
521
|
-
default: () => never[];
|
|
522
|
-
};
|
|
523
|
-
isMultiple: {
|
|
524
|
-
type: BooleanConstructor;
|
|
525
|
-
default: boolean;
|
|
526
|
-
};
|
|
527
|
-
curPage: {
|
|
528
|
-
type: NumberConstructor;
|
|
529
|
-
default: number;
|
|
530
|
-
};
|
|
531
|
-
isLastPage: {
|
|
532
|
-
type: BooleanConstructor;
|
|
533
|
-
default: boolean;
|
|
534
|
-
};
|
|
535
|
-
isShowWhole: {
|
|
536
|
-
type: BooleanConstructor;
|
|
537
|
-
default: boolean;
|
|
538
|
-
};
|
|
539
|
-
}>> & {
|
|
540
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
541
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
542
|
-
}>>;
|
|
543
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
544
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
545
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
546
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
547
|
-
handleSelect: (option: any) => void;
|
|
548
|
-
searchByPage: (onePage: number) => void;
|
|
549
|
-
changeWidth: ({ distance }: any) => void;
|
|
550
|
-
saveWidth: () => void;
|
|
551
|
-
NEmpty: any;
|
|
552
|
-
NButtonGroup: any;
|
|
553
|
-
NButton: any;
|
|
554
|
-
NIcon: any;
|
|
555
|
-
NPopover: any;
|
|
556
|
-
vFlexibleResize: {
|
|
557
|
-
mounted(el: any, { value }: any): void;
|
|
558
|
-
beforeUnmount(el: any): void;
|
|
559
|
-
};
|
|
560
|
-
WidgetValEnums: {
|
|
561
|
-
CUSTOM: string;
|
|
562
|
-
FIRST_VAL: string;
|
|
563
|
-
WHOLE: string;
|
|
564
|
-
NOW: string;
|
|
565
|
-
TODAY: string;
|
|
566
|
-
TODAY_START: string;
|
|
567
|
-
TODAY_END: string;
|
|
568
|
-
TOMORROW: string;
|
|
569
|
-
TOMORROW_START: string;
|
|
570
|
-
TOMORROW_END: string;
|
|
571
|
-
YESTERDAY: string;
|
|
572
|
-
YESTERDAY_START: string;
|
|
573
|
-
YESTERDAY_END: string;
|
|
574
|
-
THIS_WEEK: string;
|
|
575
|
-
WEEK_START: string;
|
|
576
|
-
WEEK_END: string;
|
|
577
|
-
NEXT_WEEK: string;
|
|
578
|
-
LAST_WEEK: string;
|
|
579
|
-
THIS_MONTH: string;
|
|
580
|
-
MONTH_START: string;
|
|
581
|
-
MONTH_END: string;
|
|
582
|
-
NEXT_MONTH: string;
|
|
583
|
-
LAST_MONTH: string;
|
|
584
|
-
THIS_QUARTER: string;
|
|
585
|
-
NEXT_QUARTER: string;
|
|
586
|
-
LAST_QUARTER: string;
|
|
587
|
-
THIS_YEAR: string;
|
|
588
|
-
NEXT_YEAR: string;
|
|
589
|
-
LAST_YEAR: string;
|
|
590
|
-
};
|
|
591
|
-
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<{}>>, {}>;
|
|
592
|
-
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<{}>>, {}>;
|
|
593
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
594
|
-
dynamicOptionInfo: {
|
|
595
|
-
type: PropType<import("../../../..").AnyObject>;
|
|
596
|
-
default: () => {};
|
|
597
|
-
};
|
|
598
|
-
fieldTitleList: {
|
|
599
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
600
|
-
default: () => never[];
|
|
601
|
-
};
|
|
602
|
-
optionList: {
|
|
603
|
-
type: PropType<import("../../../..").AnyObject[]>;
|
|
604
|
-
default: () => never[];
|
|
605
|
-
};
|
|
606
|
-
isMultiple: {
|
|
607
|
-
type: BooleanConstructor;
|
|
608
|
-
default: boolean;
|
|
609
|
-
};
|
|
610
|
-
curPage: {
|
|
611
|
-
type: NumberConstructor;
|
|
612
|
-
default: number;
|
|
613
|
-
};
|
|
614
|
-
isLastPage: {
|
|
615
|
-
type: BooleanConstructor;
|
|
616
|
-
default: boolean;
|
|
617
|
-
};
|
|
618
|
-
isShowWhole: {
|
|
619
|
-
type: BooleanConstructor;
|
|
620
|
-
default: boolean;
|
|
621
|
-
};
|
|
622
|
-
}>> & {
|
|
623
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
624
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
625
|
-
}, {
|
|
626
|
-
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
627
|
-
fieldTitleList: import("../../../..").AnyObject[];
|
|
628
|
-
optionList: import("../../../..").AnyObject[];
|
|
629
|
-
isMultiple: boolean;
|
|
630
|
-
curPage: number;
|
|
631
|
-
isLastPage: boolean;
|
|
632
|
-
isShowWhole: boolean;
|
|
633
|
-
}>;
|
|
634
454
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
635
455
|
paramCfg: {
|
|
636
456
|
type: ObjectConstructor;
|
|
@@ -736,15 +556,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
736
556
|
valueFormat: import("vue").ComputedRef<string>;
|
|
737
557
|
dateFormat: import("vue").ComputedRef<string>;
|
|
738
558
|
compType: import("vue").ComputedRef<any>;
|
|
739
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
740
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
741
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
742
559
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
743
560
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
744
|
-
startDefault: import("vue").ComputedRef<string>;
|
|
745
|
-
endDefault: import("vue").ComputedRef<string>;
|
|
746
|
-
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
747
|
-
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
748
561
|
dateType: any;
|
|
749
562
|
widgetOptions: import("vue").ComputedRef<{
|
|
750
563
|
label: string;
|
|
@@ -753,19 +566,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
753
566
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
754
567
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
755
568
|
isStartDateDisabled: (ts: number) => boolean;
|
|
756
|
-
timeStartDisabled: (ts: number) => {
|
|
757
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
758
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
759
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
760
|
-
};
|
|
761
569
|
isEndDateDisabled: (ts: number) => boolean;
|
|
762
|
-
timeEndDisabled: (ts: number) => {
|
|
763
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
764
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
765
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
766
|
-
};
|
|
767
570
|
NSelect: any;
|
|
768
|
-
NPopover: any;
|
|
769
571
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
770
572
|
updateUnchangedValue: {
|
|
771
573
|
type: BooleanConstructor;
|
|
@@ -808,7 +610,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
808
610
|
WidgetValEnums: {
|
|
809
611
|
CUSTOM: string;
|
|
810
612
|
FIRST_VAL: string;
|
|
811
|
-
WHOLE: string;
|
|
812
613
|
NOW: string;
|
|
813
614
|
TODAY: string;
|
|
814
615
|
TODAY_START: string;
|
|
@@ -867,8 +668,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
867
668
|
default: null;
|
|
868
669
|
};
|
|
869
670
|
}, {
|
|
870
|
-
|
|
871
|
-
message: import("naive-ui").MessageApi;
|
|
671
|
+
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
872
672
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
873
673
|
paramCfg: {
|
|
874
674
|
type: ObjectConstructor;
|
|
@@ -908,9 +708,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
908
708
|
INPUT: string;
|
|
909
709
|
SELECT: string;
|
|
910
710
|
DATE: string;
|
|
911
|
-
DATE_OUT: string;
|
|
912
711
|
DATE_TIME: string;
|
|
913
|
-
DATETIME_OUT: string;
|
|
914
712
|
CHECKBOX_GROUP: string;
|
|
915
713
|
INPUTNUMBER_RANGE: string;
|
|
916
714
|
DATE_RANGE_OUT: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as a,reactive as t,ref as
|
|
1
|
+
import{defineComponent as e,useAttrs as a,reactive as t,ref as l,toRef as i,openBlock as n,createElementBlock as o,createVNode as s,unref as d,withCtx as r,createElementVNode as c,createCommentVNode as p,Fragment as u,renderList as y,normalizeClass as m,toDisplayString as v,createBlock as f,withDirectives as g,createTextVNode as C,vShow as h}from"vue";import{useMessage as k,NSpin as b,NInput as A,NIcon as L,NButton as w,NSelect as _,NTooltip as U}from"naive-ui";import{CloseOutline as N,AddOutline as V,AddCircleSharp as D}from"@vicons/ionicons5";import x from"./ValueCfg.vue.js";import{DataTypeEnums as B,ConditionEnums as I}from"../../types/enums.js";import{useDisplayCategory as S}from"./hooks/useDisplayCategory.js";import{useFilterConditions as j}from"./hooks/useFilterConditions.js";import{conditionOptions as F}from"./helpers/options.js";const z={class:"searchConditionByApi_wrapper"},O={class:"class-filter-content"},P={key:0,class:"item-name"},q=c("span",{class:"label"},"筛选分类名称:",-1),E={key:1,class:"quickSearch-content"},R=c("span",{class:"label"},"父类名称:",-1),J=["onDblclick","onClick"],K={key:0,class:"s-content"},M={key:2,class:"item-name"},Q=c("span",{class:"label"}," 过滤条件: ",-1),G=c("span",null,"添加",-1),H={class:"select-item-list"},T={class:"index-span"},W=["onClick"];var X=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:X,emit:Y}){const Z=e,$=k(),ee=a(),ae=t({className:"",displayCategory:"",filterConditions:[]}),te=l(!1),{State:le,isEnableAddDisplayCategory:ie,editDisplayCategory:ne,handleDisplayCategorySelect:oe,handleDisplayCategoryRemove:se,handleDisplayCategoryAdd:de,handlerBlur:re,initDisplayCategories:ce}=S(i(ae,"displayCategory"),{conditionList:Z.conditionList},$),{State:pe,paramOptions:ue,addFilterCondition:ye,delFilterCondition:me,updateKey:ve,updateCondition:fe,getParamCfg:ge,initFilterConditions:Ce,getRawFilterConditions:he}=j(i(ae,"filterConditions"),Z.searchFieldList,B.API);function ke(){ae.className="",ae.displayCategory="",ae.filterConditions=[]}async function be(){var e;try{if(ke(),te.value=!0,ce(ee.displayCategoryList,Z.actionList_prop.displayCategory||void 0),Z.actionList_prop){ae.className=Z.actionList_prop.name,await Ce(Z.tableId,null!=(e=Z.actionList_prop.conObj)?e:[]);ae.filterConditions.length<1&&ue.value&&ue.value.length>0&&ye()}}finally{te.value=!1}}return be(),X({handleInitConditions:be,saveAdd:function(){new Promise((e=>{ae.className||!Z.showItemName?0!==ae.filterConditions.length?ae.filterConditions.some((({key:e,condition:a,value:t,presetVal:l})=>!e||!a||a===I.EQUAL&&!t&&!l))?$.warning("请补充完整条件内容"):e(!0):$.warning("请至少添加一个条件"):$.warning("请输入分类名称")})).then((()=>{let e;var a;"edit"===Z.actionList_prop.from&&(a=Z.actionList_prop.displayCategory,e=null==Z?void 0:Z.conditionList.find((e=>e.displayCategory===a)));const t={displayCategory:ae.displayCategory,name:ae.className||"",conObj:he()},l={id:e?e.sid:"",tableId:Z.tableId,setting:JSON.stringify(t)};Y("saveAdd",l,!1)}))},cancelSaveAdd:function(){ke(),Y("cancelSaveAdd")},addAction:ye,checkActionList:function(){return ae.filterConditions.every((e=>!e.field_key))}}),(a,t)=>(n(),o("div",z,[s(d(b),{show:te.value},{default:r((()=>[c("div",O,[e.showItemName?(n(),o("div",P,[q,s(d(A),{value:ae.className,"onUpdate:value":t[0]||(t[0]=e=>ae.className=e),placeholder:"请输入分类名称",style:{width:"250px"},maxlength:"10"},null,8,["value"])])):p("v-if",!0),e.showItemName?(n(),o("div",E,[R,(n(!0),o(u,null,y(d(le).displayCategories,((e,a)=>(n(),o("div",{class:m(["edit-tag",{"edit-tag-select":e.value===ae.displayCategory&&e.disabled}]),key:a,onDblclick:a=>d(ne)(a,e),onClick:a=>function(e){oe(e)}(e)},[e.disabled?(n(),o("div",K,[c("span",null,v(e.value),1)])):(n(),f(d(A),{key:1,style:{width:"100px"},disabled:e.disabled,onBlur:()=>e.disabled=!0,value:e.value,"onUpdate:value":a=>e.value=a,maxlength:10},null,8,["disabled","onBlur","value","onUpdate:value"])),s(d(L),{component:d(N),class:"anticon-close",size:"20",onClick:t=>d(se)(a,e)},null,8,["component","onClick"])],42,J)))),128)),d(ie)?(n(),o(u,{key:0},[g(s(d(w),{class:"ant-btn",icon:"plus",dashed:"",onClick:d(de)},{default:r((()=>[s(d(L),{component:d(V),size:"20"},null,8,["component"]),C(" "+v("添加父类"))])),_:1},8,["onClick"]),[[h,!d(le).showAdd]]),g(s(d(A),{class:"edit-tag",value:d(le).addDisplayCategory,"onUpdate:value":t[1]||(t[1]=e=>d(le).addDisplayCategory=e),valueModifiers:{trim:!0},style:{width:"100px"},onBlur:d(re),maxLength:10},null,8,["value","onBlur"]),[[h,d(le).showAdd]])],64)):p("v-if",!0)])):p("v-if",!0),e.hideAddBtn?p("v-if",!0):(n(),o("div",M,[Q,c("span",{class:"addAction",onClick:t[2]||(t[2]=(...e)=>d(ye)&&d(ye)(...e)),style:{cursor:"pointer"}},[s(d(L),{component:d(D),class:"blue",size:"18"},null,8,["component"]),G])])),c("ul",H,[(n(!0),o(u,null,y(ae.filterConditions,((e,a)=>(n(),o("li",{key:a},[c("span",T,v(a+1)+" ",1),p(" 选择 field_key "),s(d(_),{class:"form-item",placeholder:"请选择",value:e.key,to:"body",filterable:"",options:d(ue),"onUpdate:value":e=>d(ve)(a,e)},null,8,["value","options","onUpdate:value"]),p(" 选择 关系 "),e.key?(n(),f(d(_),{key:0,class:"form-item",placeholder:"请选择",value:e.condition,to:"body",filterable:"",options:d(F),"onUpdate:value":e=>d(fe)(a,e)},null,8,["value","options","onUpdate:value"])):p("v-if",!0),p(" 自定义 "),e.key&&e.condition&&e.condition!==d(I).NULL?(n(),f(x,{key:1,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,presetVal:e.presetVal,"onUpdate:presetVal":a=>e.presetVal=a,"param-cfg":d(ge)(e.key)},null,8,["modelValue","onUpdate:modelValue","presetVal","onUpdate:presetVal","param-cfg"])):p("v-if",!0),s(d(U),{title:"删除",trigger:"hover"},{trigger:r((()=>[c("i",{onClick:e=>d(me)(a),class:"iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"},null,8,W)])),default:r((()=>[C(" 删除 ")])),_:2},1024)])))),128))])])])),_:1},8,["show"])]))}});export{X as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const l=[{value:"TODAY",label:"今天"},{value:"TOMORROW",label:"明天"},{value:"YESTERDAY",label:"昨天"},{value:"THIS_WEEK",label:"本周"},{value:"NEXT_WEEK",label:"下周"},{value:"LAST_WEEK",label:"上周"},{value:"THIS_MONTH",label:"本月"},{value:"NEXT_MONTH",label:"下月"},{value:"LAST_MONTH",label:"上月"},{value:"THIS_QUARTER",label:"本季度"},{value:"NEXT_QUARTER",label:"下季度"},{value:"LAST_QUARTER",label:"上季度"},{value:"THIS_YEAR",label:"本年"},{value:"NEXT_YEAR",label:"下年"},{value:"LAST_YEAR",label:"上年"}];export{l as DateRangeOptions};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '../../../../../../../es/shared/types';
|
|
3
2
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
componentCfg: {
|
|
6
|
-
type: PropType<AnyObject>;
|
|
7
|
-
};
|
|
8
4
|
type: {
|
|
9
5
|
type: PropType<ITypeDate>;
|
|
10
6
|
default: string;
|
|
@@ -27,9 +23,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
23
|
};
|
|
28
24
|
}, {
|
|
29
25
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
componentCfg: {
|
|
31
|
-
type: PropType<AnyObject>;
|
|
32
|
-
};
|
|
33
26
|
type: {
|
|
34
27
|
type: PropType<ITypeDate>;
|
|
35
28
|
default: string;
|
|
@@ -55,18 +48,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
48
|
}>>;
|
|
56
49
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
57
50
|
valueCp: import("vue").Ref<any>;
|
|
58
|
-
rangeShortcuts: import("vue").Ref<any>;
|
|
59
51
|
dateFormat: import("vue").ComputedRef<string>;
|
|
60
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
61
52
|
handleChange: (val: any) => void;
|
|
62
|
-
|
|
63
|
-
timeDisabled: (ts: number) => {
|
|
64
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
65
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
66
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
67
|
-
};
|
|
68
|
-
init: () => void;
|
|
69
|
-
CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
53
|
+
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
70
54
|
updateUnchangedValue: {
|
|
71
55
|
type: BooleanConstructor;
|
|
72
56
|
};
|
|
@@ -85,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
69
|
type: FunctionConstructor;
|
|
86
70
|
};
|
|
87
71
|
}>> & {}>>;
|
|
88
|
-
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
72
|
+
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
89
73
|
panelInstRef: import("vue").Ref<null>;
|
|
90
74
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
91
75
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -106,9 +90,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
90
|
updateUnchangedValue: boolean;
|
|
107
91
|
}>>;
|
|
108
92
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
-
componentCfg: {
|
|
110
|
-
type: PropType<AnyObject>;
|
|
111
|
-
};
|
|
112
93
|
type: {
|
|
113
94
|
type: PropType<ITypeDate>;
|
|
114
95
|
default: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as r,createBlock as u,unref as o}from"vue";import p from"../../../../../date-picker/index.js";import d from"moment";import{isString as m}from"lodash-es";var v=e({__name:"Date",props:{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:""}},emits:["update:value"],setup(e,{emit:v}){const i=e,n=a(),c=t((()=>{let e="";switch(i.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e}));function y(e){n.value=e;const a=e?d(e).format(c.value):e;v("update:value",a)}return l((()=>i.value),(e=>{e&&m(e)?n.value=d(e).valueOf():n.value=null}),{immediate:!0}),(a,t)=>(r(),u(o(p),{to:"body",type:e.type,clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.placeholder,value:n.value,"onUpdate:value":y},null,8,["type","clearable","valueFormat","placeholder","value"]))}});export{v as default};
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '../../../../../../../es/shared/types';
|
|
3
2
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
componentCfg: {
|
|
6
|
-
type: PropType<AnyObject>;
|
|
7
|
-
};
|
|
8
4
|
type: {
|
|
9
5
|
type: PropType<ITypeDate>;
|
|
10
6
|
default: string;
|
|
@@ -29,15 +25,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
25
|
type: StringConstructor;
|
|
30
26
|
default: string;
|
|
31
27
|
};
|
|
32
|
-
unit: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
28
|
}, {
|
|
37
29
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
componentCfg: {
|
|
39
|
-
type: PropType<AnyObject>;
|
|
40
|
-
};
|
|
41
30
|
type: {
|
|
42
31
|
type: PropType<ITypeDate>;
|
|
43
32
|
default: string;
|
|
@@ -62,46 +51,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
51
|
type: StringConstructor;
|
|
63
52
|
default: string;
|
|
64
53
|
};
|
|
65
|
-
unit: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
54
|
}>> & {
|
|
70
55
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
72
56
|
}>>;
|
|
73
|
-
emit: (event: "update:
|
|
57
|
+
emit: (event: "update:value", ...args: any[]) => void;
|
|
58
|
+
dateList: import("vue").Ref<any[]>;
|
|
74
59
|
isShowDateRange: import("vue").Ref<boolean>;
|
|
60
|
+
radioValue: import("vue").Ref<string>;
|
|
75
61
|
startDate: import("vue").Ref<any>;
|
|
76
62
|
endDate: import("vue").Ref<any>;
|
|
77
|
-
radioValue: import("vue").ComputedRef<string>;
|
|
78
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
79
|
-
onlyRadio: import("vue").ComputedRef<boolean>;
|
|
80
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
81
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
82
63
|
dateFormat: import("vue").ComputedRef<string>;
|
|
83
64
|
showTabStr: import("vue").ComputedRef<string>;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
handleClickQuickBtn: (result: string) => void;
|
|
87
|
-
changeRadioValue: (value: string) => void;
|
|
88
|
-
changeDateShowType: () => void;
|
|
65
|
+
initData: () => void;
|
|
66
|
+
handleRadioClick: (value: string) => void;
|
|
89
67
|
handleChange: (val: any, type: 'start' | 'end') => void;
|
|
90
68
|
isStartDateDisabled: (ts: number) => boolean;
|
|
91
|
-
timeStartDisabled: (ts: number) => {
|
|
92
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
93
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
94
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
95
|
-
};
|
|
96
69
|
isEndDateDisabled: (ts: number) => boolean;
|
|
97
|
-
timeEndDisabled: (ts: number) => {
|
|
98
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
99
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
100
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
101
|
-
};
|
|
102
|
-
init: () => void;
|
|
103
70
|
NButton: any;
|
|
104
|
-
CDatePicker: import("
|
|
71
|
+
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
105
72
|
updateUnchangedValue: {
|
|
106
73
|
type: BooleanConstructor;
|
|
107
74
|
};
|
|
@@ -120,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
87
|
type: FunctionConstructor;
|
|
121
88
|
};
|
|
122
89
|
}>> & {}>>;
|
|
123
|
-
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
90
|
+
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
124
91
|
panelInstRef: import("vue").Ref<null>;
|
|
125
92
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
126
93
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -140,77 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
107
|
}>>, {
|
|
141
108
|
updateUnchangedValue: boolean;
|
|
142
109
|
}>>;
|
|
143
|
-
|
|
144
|
-
componentCfg: {
|
|
145
|
-
type: PropType<AnyObject>;
|
|
146
|
-
};
|
|
147
|
-
type: {
|
|
148
|
-
type: PropType<"date" | "datetime">;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
dateFormat: {
|
|
152
|
-
type: StringConstructor;
|
|
153
|
-
default: string;
|
|
154
|
-
};
|
|
155
|
-
radioValue: {
|
|
156
|
-
type: StringConstructor;
|
|
157
|
-
default: string;
|
|
158
|
-
};
|
|
159
|
-
}, {
|
|
160
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
-
componentCfg: {
|
|
162
|
-
type: PropType<AnyObject>;
|
|
163
|
-
};
|
|
164
|
-
type: {
|
|
165
|
-
type: PropType<"date" | "datetime">;
|
|
166
|
-
default: string;
|
|
167
|
-
};
|
|
168
|
-
dateFormat: {
|
|
169
|
-
type: StringConstructor;
|
|
170
|
-
default: string;
|
|
171
|
-
};
|
|
172
|
-
radioValue: {
|
|
173
|
-
type: StringConstructor;
|
|
174
|
-
default: string;
|
|
175
|
-
};
|
|
176
|
-
}>> & {
|
|
177
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
178
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
179
|
-
}>>;
|
|
180
|
-
emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
|
|
181
|
-
dateList: import("vue").Ref<any[]>;
|
|
182
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
183
|
-
isRange: import("vue").ComputedRef<any>;
|
|
184
|
-
initData: () => void;
|
|
185
|
-
handleRadioClick: (value: string) => void;
|
|
186
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
187
|
-
componentCfg: {
|
|
188
|
-
type: PropType<AnyObject>;
|
|
189
|
-
};
|
|
190
|
-
type: {
|
|
191
|
-
type: PropType<"date" | "datetime">;
|
|
192
|
-
default: string;
|
|
193
|
-
};
|
|
194
|
-
dateFormat: {
|
|
195
|
-
type: StringConstructor;
|
|
196
|
-
default: string;
|
|
197
|
-
};
|
|
198
|
-
radioValue: {
|
|
199
|
-
type: StringConstructor;
|
|
200
|
-
default: string;
|
|
201
|
-
};
|
|
202
|
-
}>> & {
|
|
203
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
type: "date" | "datetime";
|
|
207
|
-
dateFormat: string;
|
|
208
|
-
radioValue: string;
|
|
209
|
-
}>;
|
|
210
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:unit" | "update:value")[], "update:unit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
-
componentCfg: {
|
|
212
|
-
type: PropType<AnyObject>;
|
|
213
|
-
};
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
111
|
type: {
|
|
215
112
|
type: PropType<ITypeDate>;
|
|
216
113
|
default: string;
|
|
@@ -235,17 +132,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
132
|
type: StringConstructor;
|
|
236
133
|
default: string;
|
|
237
134
|
};
|
|
238
|
-
unit: {
|
|
239
|
-
type: StringConstructor;
|
|
240
|
-
default: string;
|
|
241
|
-
};
|
|
242
135
|
}>> & {
|
|
243
136
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
244
|
-
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
245
137
|
}, {
|
|
246
138
|
type: ITypeDate;
|
|
247
139
|
value: string;
|
|
248
|
-
unit: string;
|
|
249
140
|
clearable: boolean;
|
|
250
141
|
startPlaceholder: string;
|
|
251
142
|
endPlaceholder: string;
|