cnhis-design-vue 3.1.45-beta.9 → 3.1.45-release.1
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/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/base-search/index.d.ts +0 -2
- package/es/components/base-search/src/index.vue.d.ts +0 -2
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +11 -165
- 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 +11 -165
- package/es/components/classification/src/index.vue.d.ts +11 -165
- package/es/components/fabric-chart/index.d.ts +5 -40
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -40
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +0 -20
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +0 -13
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -2
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +38 -157
- package/es/components/field-set/src/FieldSet.vue.d.ts +23 -160
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +0 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -31
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -33
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -11
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +0 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +0 -2
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -31
- package/es/components/form-render/src/components/renderer/combination.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -2
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +0 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +10 -72
- package/es/components/info-header/src/InfoHeader.vue.d.ts +10 -72
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -31
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -31
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +0 -2
- package/es/components/quick-search/src/index.vue.d.ts +0 -2
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/search-cascader/index.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
- package/es/components/search-cascader/src/hooks/index.js +1 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +4 -31
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -31
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -165
- 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 -16
- 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 -18
- 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 +10 -128
- 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/SelectLabel.vue.d.ts +0 -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 +10 -163
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -165
- 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 +5 -99
- 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 +5 -7
- 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 +5 -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 +25 -15
- 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 +25 -520
- 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.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +24 -548
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +0 -2
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/useAsyncQueue.d.ts +1 -3
- package/es/shared/hooks/useAsyncQueue.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/components/fabric-chart/src/hooks/surgicalAnesthesia/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +0 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +0 -132
- package/es/components/field-set/src/components/Row.vue.js +0 -1
- package/es/components/field-set/src/components/Row.vue2.js +0 -1
- package/es/components/field-set/src/utils/index.d.ts +0 -7
- package/es/components/field-set/src/utils/index.js +0 -1
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +0 -61
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -218
- 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/Select1.vue.d.ts +0 -45
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -175
- 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 -114
- 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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,openBlock as a,createElementBlock as l,
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as a,createElementBlock as l,Fragment as r,createVNode as u,unref as o,isRef as p,createBlock as m,createCommentVNode as s}from"vue";import n from"../../../../../date-picker/index.js";import{NSelect as d}from"naive-ui";import{WidgetTypeEnums as i,WidgetValEnums as v}from"../../../types/enums.js";import{generateDefOptionsInApi as f}from"../../../tool/generateDefOptions.js";var y=e({__name:"Date",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:y}){const c=e,g=t({set(e){y("update:modelValue",e)},get:()=>c.modelValue}),T=t({set(e){y("update:presetVal",e)},get:()=>c.presetVal}),C=t((()=>M.value.toLowerCase()||i.DATE.toLowerCase())),D=t((()=>{let e="";switch(M.value){case i.DATE:e="yyyy-MM-dd";break;case i.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),M=t((()=>c.paramCfg._rawData.type)),V=t((()=>{var e;return null==(e=c.paramCfg)?void 0:e.mappingConfig})),b=t((()=>{const e=f(M.value,V.value).slice(0);return M.value!==i.DATE&&M.value!==i.DATE_TIME||e.unshift({label:"自定义输入",value:v.CUSTOM}),e}));return(e,t)=>(a(),l(r,null,[u(o(d),{style:{width:"120px"},class:"form-item",to:"body",value:o(T),"onUpdate:value":t[0]||(t[0]=e=>p(T)?T.value=e:null),options:o(b)},null,8,["value","options"]),o(T)===o(v).CUSTOM?(a(),m(o(n),{key:0,class:"form-item",type:o(C),clearable:"",to:"body",valueFormat:o(D),"formatted-value":o(g),"onUpdate:formatted-value":t[1]||(t[1]=e=>p(g)?g.value=e:null)},null,8,["type","valueFormat","formatted-value"])):s("v-if",!0)],64))}});export{y as default};
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -35,15 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
valueFormat: import("vue").ComputedRef<string>;
|
|
36
36
|
dateFormat: import("vue").ComputedRef<string>;
|
|
37
37
|
compType: import("vue").ComputedRef<any>;
|
|
38
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
39
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
40
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
41
38
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
42
39
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
43
|
-
startDefault: import("vue").ComputedRef<string>;
|
|
44
|
-
endDefault: import("vue").ComputedRef<string>;
|
|
45
|
-
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
46
|
-
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
47
40
|
dateType: any;
|
|
48
41
|
widgetOptions: import("vue").ComputedRef<{
|
|
49
42
|
label: string;
|
|
@@ -52,19 +45,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
45
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
53
46
|
handleChange: (val: any, type: 'start' | 'end') => void;
|
|
54
47
|
isStartDateDisabled: (ts: number) => boolean;
|
|
55
|
-
timeStartDisabled: (ts: number) => {
|
|
56
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
57
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
58
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
59
|
-
};
|
|
60
48
|
isEndDateDisabled: (ts: number) => boolean;
|
|
61
|
-
timeEndDisabled: (ts: number) => {
|
|
62
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
63
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
64
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
65
|
-
};
|
|
66
49
|
NSelect: any;
|
|
67
|
-
NPopover: any;
|
|
68
50
|
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
69
51
|
updateUnchangedValue: {
|
|
70
52
|
type: BooleanConstructor;
|
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,openBlock as u,createElementBlock as r,
|
|
1
|
+
import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,Fragment as o,createVNode as s,unref as n,isRef as m,createCommentVNode as i}from"vue";import{NSelect as v}from"naive-ui";import d from"../../../../../date-picker/index.js";import p from"moment";import{cloneDeep as f,isString as c}from"lodash-es";import{WidgetTypeEnums as y,WidgetValEnums as b}from"../../../types/enums.js";import{widgetDateRangeOptions as D}from"../../../tool/baseOptions.js";const M={key:0,style:{display:"flex"}};var T=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:T}){const h=e,E=a(),A=a(),V=l((()=>{let e="";switch(g.value){case y.DATE:e="yyyy-MM-dd";break;case y.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),Y=l((()=>{let e="";switch(g.value){case y.DATE:e="YYYY-MM-DD";break;case y.DATE_TIME:e="YYYY-MM-DD HH:mm:ss"}return e})),g=l((()=>h.paramCfg._rawData.type)),w=l((()=>g.value===y.DATE?"初始日期":"初始时间")),C=l((()=>g.value===y.DATE?"截止日期":"截止时间")),O=l((()=>g.value.toLowerCase()||y.DATE.toLowerCase())),k=l((()=>{const e=f(D);return e.unshift({label:"自定义输入",value:b.CUSTOM}),e})),x=l({set(e){T("update:presetVal",e)},get:()=>h.presetVal});function U(e,a){switch(a){case"start":E.value=e;break;case"end":A.value=e}const l=E.value?p(E.value).format(Y.value):null,t=A.value?p(A.value).format(Y.value):null;T("update:modelValue",l||t?`${null!=l?l:""} ~ ${null!=t?t:""}`:"")}function _(e){return!!A.value&&e>A.value}function j(e){return!!E.value&&e<E.value}return t((()=>h.modelValue),(e=>{if(e&&c(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(E.value=p(a.trim()).valueOf()),void(l.trim()&&(A.value=p(l.trim()).valueOf()))}E.value=A.value=null}),{immediate:!0}),(e,a)=>(u(),r(o,null,[s(n(v),{style:{width:"120px"},class:"form-item",to:"body",value:n(x),"onUpdate:value":a[0]||(a[0]=e=>m(x)?x.value=e:null),options:n(k)},null,8,["value","options"]),n(x)===n(b).CUSTOM?(u(),r("div",M,[s(n(d),{type:n(O),"default-time":"00:00:00",clearable:"",to:"body",valueFormat:n(V),placeholder:n(w),value:E.value,"is-date-disabled":_,"onUpdate:value":a[1]||(a[1]=e=>U(e,"start"))},null,8,["type","valueFormat","placeholder","value"]),s(n(d),{style:{"margin-left":"5px"},type:n(O),"default-time":"23:59:59",clearable:"",to:"body",valueFormat:n(V),placeholder:n(C),value:A.value,"is-date-disabled":j,"onUpdate:value":a[2]||(a[2]=e=>U(e,"end"))},null,8,["type","valueFormat","placeholder","value"])])):i("v-if",!0)],64))}});export{T as default};
|
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectOption } from 'naive-ui';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
paramCfg: {
|
|
3
4
|
type: ObjectConstructor;
|
|
@@ -8,7 +9,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
9
|
default: null;
|
|
9
10
|
};
|
|
10
11
|
}, {
|
|
11
|
-
message: import("naive-ui").MessageApi;
|
|
12
12
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
paramCfg: {
|
|
14
14
|
type: ObjectConstructor;
|
|
@@ -22,145 +22,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>>;
|
|
24
24
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
25
|
+
$attrs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
25
28
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
29
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
26
30
|
isLoading: import("vue").Ref<boolean>;
|
|
27
31
|
filterApiConfig: import("../../../../..").AnyObject;
|
|
28
|
-
|
|
29
|
-
menuProps: {
|
|
30
|
-
class: string;
|
|
31
|
-
};
|
|
32
|
-
curPage: import("vue").Ref<number>;
|
|
33
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
34
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
35
|
-
keywordVal: import("vue").Ref<any>;
|
|
32
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
36
33
|
optionSetting: import("vue").ComputedRef<any>;
|
|
37
34
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
38
|
-
|
|
39
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
40
|
-
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
41
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
42
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
43
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
44
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
35
|
+
searchOptions: (keyword: string) => Promise<any>;
|
|
45
36
|
_handleSearch: (query: string) => Promise<void>;
|
|
46
37
|
handleSearch: (query: string) => Promise<void>;
|
|
47
38
|
handleInitData: () => Promise<void>;
|
|
48
|
-
|
|
39
|
+
renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}>;
|
|
49
42
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
50
43
|
[key: string]: any;
|
|
51
44
|
}>;
|
|
52
45
|
NSelect: any;
|
|
53
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
54
|
-
dynamicOptionInfo: {
|
|
55
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
56
|
-
default: () => {};
|
|
57
|
-
};
|
|
58
|
-
fieldTitleList: {
|
|
59
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
60
|
-
default: () => never[];
|
|
61
|
-
};
|
|
62
|
-
optionList: {
|
|
63
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
64
|
-
default: () => never[];
|
|
65
|
-
};
|
|
66
|
-
isMultiple: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
curPage: {
|
|
71
|
-
type: NumberConstructor;
|
|
72
|
-
default: number;
|
|
73
|
-
};
|
|
74
|
-
isLastPage: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
}, {
|
|
79
|
-
selectMinWidth: number;
|
|
80
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
dynamicOptionInfo: {
|
|
82
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
fieldTitleList: {
|
|
86
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
87
|
-
default: () => never[];
|
|
88
|
-
};
|
|
89
|
-
optionList: {
|
|
90
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
91
|
-
default: () => never[];
|
|
92
|
-
};
|
|
93
|
-
isMultiple: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
|
-
curPage: {
|
|
98
|
-
type: NumberConstructor;
|
|
99
|
-
default: number;
|
|
100
|
-
};
|
|
101
|
-
isLastPage: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
}>> & {
|
|
106
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}>>;
|
|
109
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
110
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
111
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
112
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
113
|
-
handleSelect: (option: any) => void;
|
|
114
|
-
searchByPage: (onePage: number) => void;
|
|
115
|
-
changeWidth: ({ distance }: any) => void;
|
|
116
|
-
saveWidth: () => void;
|
|
117
|
-
NEmpty: any;
|
|
118
|
-
NButtonGroup: any;
|
|
119
|
-
NButton: any;
|
|
120
|
-
NIcon: any;
|
|
121
|
-
NPopover: any;
|
|
122
|
-
vFlexibleResize: {
|
|
123
|
-
mounted(el: any, { value }: any): void;
|
|
124
|
-
beforeUnmount(el: any): void;
|
|
125
|
-
};
|
|
126
|
-
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<{}>>, {}>;
|
|
127
|
-
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<{}>>, {}>;
|
|
128
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
dynamicOptionInfo: {
|
|
130
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
131
|
-
default: () => {};
|
|
132
|
-
};
|
|
133
|
-
fieldTitleList: {
|
|
134
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
135
|
-
default: () => never[];
|
|
136
|
-
};
|
|
137
|
-
optionList: {
|
|
138
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
139
|
-
default: () => never[];
|
|
140
|
-
};
|
|
141
|
-
isMultiple: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
curPage: {
|
|
146
|
-
type: NumberConstructor;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
isLastPage: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
}>> & {
|
|
154
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
dynamicOptionInfo: import("../../../../..").AnyObject;
|
|
158
|
-
fieldTitleList: import("../../../../..").AnyObject[];
|
|
159
|
-
optionList: import("../../../../..").AnyObject[];
|
|
160
|
-
isMultiple: boolean;
|
|
161
|
-
curPage: number;
|
|
162
|
-
isLastPage: boolean;
|
|
163
|
-
}>;
|
|
164
46
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
165
47
|
paramCfg: {
|
|
166
48
|
type: ObjectConstructor;
|
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,
|
|
1
|
+
import{defineComponent as e,useAttrs as a,ref as t,inject as o,computed as n,openBlock as l,createBlock as i,unref as r,isRef as s,h as u}from"vue";import{NSelect as p,NTag as c}from"naive-ui";import{WidgetOptionEnums as d}from"../../../types/enums.js";import{useDebounceFn as m}from"@vueuse/core";import f from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as y}from"../../../constants/index.js";var g=e({__name:"SelectDynamic",props:{paramCfg:{type:Object,default:null},modelValue:{type:[Array,String,Number],default:null}},emits:["update:modelValue"],setup(e,{emit:g}){const v=e,{handleGetConfigApi:b}=f(),h=a(),w=t([]),C=t(!1),I=o(y),S=n({set(e){g("update:modelValue",e)},get:()=>v.modelValue}),x=n((()=>{var e;return null==(e=v.paramCfg)?void 0:e.optionSetting})),j=n((()=>x.value===d.MULTIPLE));async function K(e){try{const{dynamicOptionInfo:a}=v.paramCfg.optionInfo;if(a){const{autograph:t,dataSourceId:o,dataSourceType:n,filterKeys:l,showKeys:i,valueKey:r}=a;let s={wordbookId:o,autograph:t,wordbookType:n,fieldKeys:l,page:1};l.length>0&&(s[l[0]]=e),C.value=!0;let u=await b(s,"requestDynamicSelect",{},I);if(u){const{fieldList:e=[],rows:a=[]}=u,t=a.map((e=>({...e,label:e[i[0]],value:e[r]})));return w.value=t,t}}}catch(e){console.log(e)}finally{C.value=!1}}const O=m((async e=>{await async function(e){const{manualMapping:a}=h;if(!a){const a=e.trim();await K(a)}}(e)}),300);async function k(){const{dynamicOptionInfo:e}=v.paramCfg.optionInfo;Object.keys(e).length>0&&I&&await K("")}function T(e){const{dynamicOptionInfo:a}=v.paramCfg.optionInfo,{showKeys:t=[]}=a;return a&&t.length>0?u("div",{class:"select-widget-dynamic-option"},t.map((a=>u("span",{class:"select-widget-dynamic-item"},e[a])))):u("div",e.label)}function V({option:e,handleClose:a}){return j.value?u(c,{style:{padding:"0 8px"},closable:!0,onClose:e=>{e.stopPropagation(),a()}},{default:()=>u("div",e.label)}):u("div",e.label)}return k(),(e,a)=>(l(),i(r(p),{to:"body",value:r(S),"onUpdate:value":a[0]||(a[0]=e=>s(S)?S.value=e:null),loading:C.value,options:w.value,remote:!0,"render-label":T,"render-tag":V,multiple:r(j),clearable:"",filterable:"",maxTagCount:"responsive",style:{width:"200px"},onSearch:r(O),onClear:k},null,8,["value","loading","options","multiple","onSearch"]))}});export{g as default};
|
package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
};
|
|
11
11
|
}, {
|
|
12
12
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
13
|
-
message: import("naive-ui").MessageApi;
|
|
14
13
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
15
14
|
paramCfg: {
|
|
16
15
|
type: ObjectConstructor;
|
package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,inject as t,computed as a,openBlock as o,createBlock as u,unref as s,isRef as
|
|
1
|
+
import{defineComponent as e,ref as l,inject as t,computed as a,openBlock as o,createBlock as u,unref as s,isRef as i}from"vue";import{NSelect as n}from"naive-ui";import r from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as p}from"../../../constants/index.js";var m=e({__name:"SelectLabel",props:{paramCfg:{type:Object,default:null},modelValue:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const f=e,{handleGetConfigApi:d}=r(),c=l([]),h=t(p),v=a({set(e){const l=e?e.join("|#|"):e;m("update:modelValue",l)},get:()=>f.modelValue?f.modelValue.split("|#|"):[]}),b=a((()=>{if(c.value&&c.value.length>0){let e=[],l=[];return c.value.forEach((t=>{t.labelList.forEach((t=>{e.includes(t.labelShowText)||(e.push(t.labelShowText),l.push({label:t.labelShowText,value:t.labelShowText}))}))})),l}return[]}));return(async()=>{try{const{defaultValue:e={}}=f.paramCfg._rawData,{classifyStr:l=""}=e;let t=await d({classifyStr:l},"requestListByClassify",{},h);if(t){const{data:e}=t,{list:l=[]}=e;c.value=l}}catch(e){console.log(e)}})(),(e,l)=>(o(),u(s(n),{to:"body",multiple:"",clearable:"",filterable:"",maxTagCount:"responsive",value:s(v),"onUpdate:value":l[0]||(l[0]=e=>i(v)?v.value=e:null),options:s(b),style:{width:"200px"}},null,8,["value","options"]))}});export{m as default};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare const Date: import("vue").DefineComponent<{
|
|
2
|
-
componentCfg: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
};
|
|
5
2
|
paramCfg: {
|
|
6
3
|
type: ObjectConstructor;
|
|
7
4
|
default: null;
|
|
@@ -16,9 +13,6 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
16
13
|
};
|
|
17
14
|
}, {
|
|
18
15
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
componentCfg: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
};
|
|
22
16
|
paramCfg: {
|
|
23
17
|
type: ObjectConstructor;
|
|
24
18
|
default: null;
|
|
@@ -41,17 +35,11 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
41
35
|
dateType: any;
|
|
42
36
|
valueFormat: import("vue").ComputedRef<string>;
|
|
43
37
|
compType: import("vue").ComputedRef<any>;
|
|
44
|
-
|
|
38
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
45
39
|
widgetOptions: import("vue").ComputedRef<{
|
|
46
40
|
label: string;
|
|
47
41
|
value: string;
|
|
48
42
|
}[]>;
|
|
49
|
-
isDateDisabled: (ts: number) => boolean;
|
|
50
|
-
timeDisabled: (ts: number) => {
|
|
51
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
52
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
53
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
54
|
-
};
|
|
55
43
|
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
56
44
|
updateUnchangedValue: {
|
|
57
45
|
type: BooleanConstructor;
|
|
@@ -123,9 +111,6 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
123
111
|
LAST_YEAR: string;
|
|
124
112
|
};
|
|
125
113
|
}, 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<{
|
|
126
|
-
componentCfg: {
|
|
127
|
-
type: ObjectConstructor;
|
|
128
|
-
};
|
|
129
114
|
paramCfg: {
|
|
130
115
|
type: ObjectConstructor;
|
|
131
116
|
default: null;
|
|
@@ -277,7 +262,6 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
277
262
|
default: null;
|
|
278
263
|
};
|
|
279
264
|
}, {
|
|
280
|
-
message: import("naive-ui").MessageApi;
|
|
281
265
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
282
266
|
paramCfg: {
|
|
283
267
|
type: ObjectConstructor;
|
|
@@ -291,145 +275,27 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
291
275
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
292
276
|
}>>;
|
|
293
277
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
278
|
+
$attrs: {
|
|
279
|
+
[x: string]: unknown;
|
|
280
|
+
};
|
|
294
281
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
282
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
295
283
|
isLoading: import("vue").Ref<boolean>;
|
|
296
284
|
filterApiConfig: import("../../../../..").AnyObject;
|
|
297
|
-
|
|
298
|
-
menuProps: {
|
|
299
|
-
class: string;
|
|
300
|
-
};
|
|
301
|
-
curPage: import("vue").Ref<number>;
|
|
302
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
303
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
304
|
-
keywordVal: import("vue").Ref<any>;
|
|
285
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
305
286
|
optionSetting: import("vue").ComputedRef<any>;
|
|
306
287
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
307
|
-
|
|
308
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
309
|
-
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
310
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
311
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
312
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
313
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
288
|
+
searchOptions: (keyword: string) => Promise<any>;
|
|
314
289
|
_handleSearch: (query: string) => Promise<void>;
|
|
315
290
|
handleSearch: (query: string) => Promise<void>;
|
|
316
291
|
handleInitData: () => Promise<void>;
|
|
317
|
-
|
|
292
|
+
renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
293
|
+
[key: string]: any;
|
|
294
|
+
}>;
|
|
318
295
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
319
296
|
[key: string]: any;
|
|
320
297
|
}>;
|
|
321
298
|
NSelect: any;
|
|
322
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
323
|
-
dynamicOptionInfo: {
|
|
324
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
325
|
-
default: () => {};
|
|
326
|
-
};
|
|
327
|
-
fieldTitleList: {
|
|
328
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
329
|
-
default: () => never[];
|
|
330
|
-
};
|
|
331
|
-
optionList: {
|
|
332
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
333
|
-
default: () => never[];
|
|
334
|
-
};
|
|
335
|
-
isMultiple: {
|
|
336
|
-
type: BooleanConstructor;
|
|
337
|
-
default: boolean;
|
|
338
|
-
};
|
|
339
|
-
curPage: {
|
|
340
|
-
type: NumberConstructor;
|
|
341
|
-
default: number;
|
|
342
|
-
};
|
|
343
|
-
isLastPage: {
|
|
344
|
-
type: BooleanConstructor;
|
|
345
|
-
default: boolean;
|
|
346
|
-
};
|
|
347
|
-
}, {
|
|
348
|
-
selectMinWidth: number;
|
|
349
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
350
|
-
dynamicOptionInfo: {
|
|
351
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
352
|
-
default: () => {};
|
|
353
|
-
};
|
|
354
|
-
fieldTitleList: {
|
|
355
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
356
|
-
default: () => never[];
|
|
357
|
-
};
|
|
358
|
-
optionList: {
|
|
359
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
360
|
-
default: () => never[];
|
|
361
|
-
};
|
|
362
|
-
isMultiple: {
|
|
363
|
-
type: BooleanConstructor;
|
|
364
|
-
default: boolean;
|
|
365
|
-
};
|
|
366
|
-
curPage: {
|
|
367
|
-
type: NumberConstructor;
|
|
368
|
-
default: number;
|
|
369
|
-
};
|
|
370
|
-
isLastPage: {
|
|
371
|
-
type: BooleanConstructor;
|
|
372
|
-
default: boolean;
|
|
373
|
-
};
|
|
374
|
-
}>> & {
|
|
375
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
376
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
377
|
-
}>>;
|
|
378
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
379
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
380
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
381
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
382
|
-
handleSelect: (option: any) => void;
|
|
383
|
-
searchByPage: (onePage: number) => void;
|
|
384
|
-
changeWidth: ({ distance }: any) => void;
|
|
385
|
-
saveWidth: () => void;
|
|
386
|
-
NEmpty: any;
|
|
387
|
-
NButtonGroup: any;
|
|
388
|
-
NButton: any;
|
|
389
|
-
NIcon: any;
|
|
390
|
-
NPopover: any;
|
|
391
|
-
vFlexibleResize: {
|
|
392
|
-
mounted(el: any, { value }: any): void;
|
|
393
|
-
beforeUnmount(el: any): void;
|
|
394
|
-
};
|
|
395
|
-
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<{}>>, {}>;
|
|
396
|
-
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<{}>>, {}>;
|
|
397
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
398
|
-
dynamicOptionInfo: {
|
|
399
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
400
|
-
default: () => {};
|
|
401
|
-
};
|
|
402
|
-
fieldTitleList: {
|
|
403
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
404
|
-
default: () => never[];
|
|
405
|
-
};
|
|
406
|
-
optionList: {
|
|
407
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
408
|
-
default: () => never[];
|
|
409
|
-
};
|
|
410
|
-
isMultiple: {
|
|
411
|
-
type: BooleanConstructor;
|
|
412
|
-
default: boolean;
|
|
413
|
-
};
|
|
414
|
-
curPage: {
|
|
415
|
-
type: NumberConstructor;
|
|
416
|
-
default: number;
|
|
417
|
-
};
|
|
418
|
-
isLastPage: {
|
|
419
|
-
type: BooleanConstructor;
|
|
420
|
-
default: boolean;
|
|
421
|
-
};
|
|
422
|
-
}>> & {
|
|
423
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
424
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
425
|
-
}, {
|
|
426
|
-
dynamicOptionInfo: import("../../../../..").AnyObject;
|
|
427
|
-
fieldTitleList: import("../../../../..").AnyObject[];
|
|
428
|
-
optionList: import("../../../../..").AnyObject[];
|
|
429
|
-
isMultiple: boolean;
|
|
430
|
-
curPage: number;
|
|
431
|
-
isLastPage: boolean;
|
|
432
|
-
}>;
|
|
433
299
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
434
300
|
paramCfg: {
|
|
435
301
|
type: ObjectConstructor;
|
|
@@ -535,15 +401,8 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
535
401
|
valueFormat: import("vue").ComputedRef<string>;
|
|
536
402
|
dateFormat: import("vue").ComputedRef<string>;
|
|
537
403
|
compType: import("vue").ComputedRef<any>;
|
|
538
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
539
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
540
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
541
404
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
542
405
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
543
|
-
startDefault: import("vue").ComputedRef<string>;
|
|
544
|
-
endDefault: import("vue").ComputedRef<string>;
|
|
545
|
-
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
546
|
-
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
547
406
|
dateType: any;
|
|
548
407
|
widgetOptions: import("vue").ComputedRef<{
|
|
549
408
|
label: string;
|
|
@@ -552,19 +411,8 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
552
411
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
553
412
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
554
413
|
isStartDateDisabled: (ts: number) => boolean;
|
|
555
|
-
timeStartDisabled: (ts: number) => {
|
|
556
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
557
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
558
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
559
|
-
};
|
|
560
414
|
isEndDateDisabled: (ts: number) => boolean;
|
|
561
|
-
timeEndDisabled: (ts: number) => {
|
|
562
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
563
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
564
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
565
|
-
};
|
|
566
415
|
NSelect: any;
|
|
567
|
-
NPopover: any;
|
|
568
416
|
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
569
417
|
updateUnchangedValue: {
|
|
570
418
|
type: BooleanConstructor;
|
|
@@ -666,7 +514,6 @@ declare const SelectLabel: import("vue").DefineComponent<{
|
|
|
666
514
|
};
|
|
667
515
|
}, {
|
|
668
516
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
669
|
-
message: import("naive-ui").MessageApi;
|
|
670
517
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
671
518
|
paramCfg: {
|
|
672
519
|
type: ObjectConstructor;
|