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
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as a,ref as t,inject as l,computed as n,openBlock as u,createBlock as i,unref as o,mergeProps as r,isRef as s,withCtx as c,createVNode as v,h as p}from"vue";import{useMessage as f,NSelect as d,NTag as y}from"naive-ui";import{useDebounceFn as m}from"@vueuse/core";import g from"../../../hooks/useMixins.js";import{WidgetValEnums as h}from"../../../types/enums.js";import{InjectionFilterApiConfig as w}from"../../../constants/index.js";import S from"./SelectDynamicOption/index.vue.js";var b=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value","changeInitState"],setup(e,{emit:b}){const A=e,I=f(),{handleGetConfigApi:O}=g(),C=a(),L=t(!1),j=l(w),k=t(1),x=t(),P=t([]),T=t(),_=t(0),K={class:"select-dynamic-popover"},U=n((()=>C.multiple)),D=n((()=>{const{widgetCfg:e}=A.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),M=n((()=>_.value>0&&k.value>=_.value)),N=n((()=>{var e;if(Array.isArray(A.value)&&A.value.length>0){const e=A.value;if(J(e),!U.value&&1==e.length){const a=P.value.find((a=>a.value===e[0]));return JSON.stringify(a)}return P.value.filter((a=>e.includes(a.value)))}return J([]),null!=(e=A.value)?e:null}));function J(e){P.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function V(e){b("update:value",e)}async function q(e){k.value=e,await E(T.value,k.value)}async function E(e,a){try{if(Object.keys(D.value).length>0){const{autograph:t,dataSourceId:l,dataSourceType:n,filterKeys:u,showKeys:i,valueKey:o}=D.value;let r={wordbookId:l,autograph:t,wordbookType:n,fieldKeys:u,page:a};u.length>0&&(r[u[0]]=e),L.value=!0;let s=await O(r,"requestDynamicSelect",{},j);if(s){const{fieldList:e=[],rows:a=[],total:t=0}=s.map,l=a.map((e=>({...e,label:e[i[0]],value:e[o]})));return x.value=null!=e?e:[],P.value=null!=l?l:[],_.value=t,l}}}catch(e){I.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{L.value=!1}}const F=m((async e=>{await async function(e){T.value=e.trim(),k.value=1,await E(T.value,k.value)}(e)}),300);async function G(){Object.keys(D.value).length>0&&j&&await E("",k.value)}async function R(){b("update:value",null),await G()}function $({option:e,handleClose:a}){if(U.value){const t=e.value;return p(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(A.value)&&A.value.length>0){const e=A.value,a=e.indexOf(t.value);if(a>-1){const t=e.splice(0,a);b("update:value",t.length>0?t:null)}}}},{default:()=>p("div",t.label)})}const t=e.value?JSON.parse(e.value):{label:""};return p("div",t.label)}return async function(){const{widgetCfg:e,_frontId:a}=A.componentCfg,{defValueUnit:t="",isInit:l}=e;await G();const n=Array.isArray(A.value)?A.value.length>0:A.value;if(!l&&!n&&t)switch(t){case h.FIRST_VAL:{const e=P.value[0];b("update:value",[e.value]),b("changeInitState",a,!0);break}}}(),(e,a)=>(u(),i(o(d),r(o(C),{value:o(N),"onUpdate:value":a[0]||(a[0]=e=>s(N)?N.value=e:null),remote:"",loading:L.value,"render-tag":$,"menu-props":K,onSearch:o(F),onClear:R}),{empty:c((()=>[v(S,r(o(C),{dynamicOptionInfo:o(D),fieldTitleList:x.value,optionList:P.value,isMultiple:o(U),curPage:k.value,isLastPage:o(M),onUpdateSelect:V,onUpdatePage:q}),null,16,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage"])])),_:1},16,["value","loading","onSearch"]))}});export{b as default};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '../../../../../../../../es/shared/types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
dynamicOptionInfo: {
|
|
5
|
-
type: PropType<AnyObject>;
|
|
6
|
-
default: () => {};
|
|
7
|
-
};
|
|
8
|
-
fieldTitleList: {
|
|
9
|
-
type: PropType<AnyObject[]>;
|
|
10
|
-
default: () => never[];
|
|
11
|
-
};
|
|
12
|
-
optionList: {
|
|
13
|
-
type: PropType<AnyObject[]>;
|
|
14
|
-
default: () => never[];
|
|
15
|
-
};
|
|
16
|
-
isMultiple: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
curPage: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
isLastPage: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
selectMinWidth: number;
|
|
30
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
dynamicOptionInfo: {
|
|
32
|
-
type: PropType<AnyObject>;
|
|
33
|
-
default: () => {};
|
|
34
|
-
};
|
|
35
|
-
fieldTitleList: {
|
|
36
|
-
type: PropType<AnyObject[]>;
|
|
37
|
-
default: () => never[];
|
|
38
|
-
};
|
|
39
|
-
optionList: {
|
|
40
|
-
type: PropType<AnyObject[]>;
|
|
41
|
-
default: () => never[];
|
|
42
|
-
};
|
|
43
|
-
isMultiple: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
curPage: {
|
|
48
|
-
type: NumberConstructor;
|
|
49
|
-
default: number;
|
|
50
|
-
};
|
|
51
|
-
isLastPage: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
}>> & {
|
|
56
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}>>;
|
|
59
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
60
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
61
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
62
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
63
|
-
handleSelect: (option: any) => void;
|
|
64
|
-
searchByPage: (onePage: number) => void;
|
|
65
|
-
changeWidth: ({ distance }: any) => void;
|
|
66
|
-
saveWidth: () => void;
|
|
67
|
-
NEmpty: any;
|
|
68
|
-
NButtonGroup: any;
|
|
69
|
-
NButton: any;
|
|
70
|
-
NIcon: any;
|
|
71
|
-
NPopover: any;
|
|
72
|
-
vFlexibleResize: {
|
|
73
|
-
mounted(el: any, { value }: any): void;
|
|
74
|
-
beforeUnmount(el: any): void;
|
|
75
|
-
};
|
|
76
|
-
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<{}>>, {}>;
|
|
77
|
-
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<{}>>, {}>;
|
|
78
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
-
dynamicOptionInfo: {
|
|
80
|
-
type: PropType<AnyObject>;
|
|
81
|
-
default: () => {};
|
|
82
|
-
};
|
|
83
|
-
fieldTitleList: {
|
|
84
|
-
type: PropType<AnyObject[]>;
|
|
85
|
-
default: () => never[];
|
|
86
|
-
};
|
|
87
|
-
optionList: {
|
|
88
|
-
type: PropType<AnyObject[]>;
|
|
89
|
-
default: () => never[];
|
|
90
|
-
};
|
|
91
|
-
isMultiple: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
curPage: {
|
|
96
|
-
type: NumberConstructor;
|
|
97
|
-
default: number;
|
|
98
|
-
};
|
|
99
|
-
isLastPage: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
}>> & {
|
|
104
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
105
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
dynamicOptionInfo: AnyObject;
|
|
108
|
-
fieldTitleList: AnyObject[];
|
|
109
|
-
optionList: AnyObject[];
|
|
110
|
-
isMultiple: boolean;
|
|
111
|
-
curPage: number;
|
|
112
|
-
isLastPage: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./index.vue2.js";import r from"../../../../../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as i,withDirectives as n,openBlock as a,createElementBlock as l,normalizeStyle as o,createBlock as c,unref as s,Fragment as d,renderList as u,toDisplayString as r,createCommentVNode as p,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as g}from"vue";import{NEmpty as h,NPopover as k,NButtonGroup as L,NButton as b,NIcon as P}from"naive-ui";import _ from"../../../../../../classification/src/directive/flexibleResize.js";import{ArrowBack as x,ArrowForward as M}from"@vicons/ionicons5";const C={key:0,class:"dynamic-header"},z={class:"dynamic-content"},E=["onClick"],O={class:"content"},S={class:"dynamic-pagination"};var j=e({__name:"index",props:{dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:j}){const A=e,B=t(200),I=i((()=>{var e,t;return null!=(t=null==(e=A.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),N=i((()=>I.value&&I.value.length>0?I.value.map((e=>{let t="";return A.fieldTitleList.forEach((i=>{i.columnName===e&&(t=i.title)})),t})):[]));function R(e){const t=A.curPage+e;j("updatePage",t)}function T({distance:e}){const t=B.value+e;B.value=Math.min(Math.max(t,200),1e3)}function w(){}return(t,i)=>n((a(),l("div",{class:"select-dynamic-options",style:o({minWidth:B.value+"px",position:"relative"})},[0===e.optionList.length?(a(),c(s(h),{key:0,description:"无数据"})):(a(),l(d,{key:1},[s(N)&&s(N).length>1?(a(),l("div",C,[(a(!0),l(d,null,u(s(N),(e=>(a(),l("span",{key:e,class:"name"},r(e),1)))),128))])):p("v-if",!0),v("ul",z,[(a(!0),l(d,null,u(e.optionList,(e=>(a(),l("li",{class:m(e.actived?"actived":""),key:e.value,onClick:t=>function(e){var t,i;if(!A.isMultiple)return null==(t=A.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void j("updateSelect",[e.value]);e.actived?e.actived=!1:e.actived=!0;const n=null==(i=A.optionList)?void 0:i.filter((e=>e.actived)).map((e=>e.value));j("updateSelect",n)}(e)},[(a(!0),l(d,null,u(s(I),(t=>(a(),c(s(k),{key:t,trigger:"hover",duration:0},{trigger:f((()=>[v("span",O,r(e[t]),1)])),default:f((()=>[y(" "+r(e[t]),1)])),_:2},1024)))),128))],10,E)))),128))]),v("div",S,[g(s(L),null,{default:f((()=>[g(s(b),{onClick:i[0]||(i[0]=e=>R(-1)),disabled:e.curPage<=1},{icon:f((()=>[g(s(P),{component:s(x),size:"16"},null,8,["component"])])),default:f((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),g(s(b),{"icon-placement":"right",onClick:i[1]||(i[1]=e=>R(1)),disabled:e.isLastPage},{icon:f((()=>[g(s(P),{component:s(M),size:"16"},null,8,["component"])])),default:f((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],4)),[[s(_),{mode:"VR",onMove:T,onEnd:w}]])}});export{j as default};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const dateDisabledCollect: {
|
|
2
|
-
cDateTimeValueof: number;
|
|
3
|
-
nowStartValue: number;
|
|
4
|
-
nowEndValue: number;
|
|
5
|
-
curHour: number;
|
|
6
|
-
curMinute: number;
|
|
7
|
-
curSecond: number;
|
|
8
|
-
curTime: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function setDateDisabled(ts: number, optionSetting: String): boolean;
|
|
11
|
-
export declare function setTimeDisabled(ts: number, optionSetting: String): {
|
|
12
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
13
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
14
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
15
|
-
};
|
|
16
|
-
export declare function isStartDateRangeDisabled(ts: number, optionSetting: String, endDate: number): boolean;
|
|
17
|
-
export declare function isTimeStartRangeDisabled(ts: number, optionSetting: String, endDate: number): {
|
|
18
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
19
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
20
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
21
|
-
};
|
|
22
|
-
export declare function isEndDateRangeDisabled(ts: number, optionSetting: String, startDate: number): boolean;
|
|
23
|
-
export declare function isTimeEndRangeDisabled(ts: number, optionSetting: String, startDate: number): {
|
|
24
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
25
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
26
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import u from"moment";import{WidgetOptionEnums as r}from"../../../types/enums.js";const n=u().valueOf(),e={cDateTimeValueof:n,nowStartValue:u(n).startOf("day").valueOf(),nowEndValue:u(n).endOf("day").valueOf(),curHour:u(n).hours(),curMinute:u(n).minutes(),curSecond:u(n).seconds(),curTime:u(n).format("HH:mm:ss")};function t(u,n){return n===r.PAST_TIME?u>e.nowEndValue:n===r.FUTURE_TIME&&u<e.nowStartValue}function o(u,n){return{isHourDisabled:t=>n===r.PAST_TIME?u>=e.nowStartValue&&t>e.curHour:n===r.FUTURE_TIME?u<e.nowEndValue&&t<e.curHour:void 0,isMinuteDisabled:(t,o)=>null!==o&&(n===r.PAST_TIME?u>=e.nowStartValue&&o>=e.curHour&&t>e.curMinute:n===r.FUTURE_TIME?u<e.nowEndValue&&o<=e.curHour&&t<e.curMinute:void 0),isSecondDisabled:(t,o,a)=>null!==a&&null!==o&&(n===r.PAST_TIME?u>=e.nowStartValue&&a>=e.curHour&&o>=e.curMinute&&t>e.curSecond:n===r.FUTURE_TIME?u<e.nowEndValue&&a<=e.curHour&&o<=e.curMinute&&t<e.curSecond:void 0)}}function a(n,t,o){if(t===r.PAST_TIME){return o&&n>u(o).valueOf()||n>e.nowEndValue}return t===r.FUTURE_TIME?o&&n>u(o).valueOf()||n<e.nowStartValue:!!o&&n>u(o).valueOf()}function c(n,t,o){const a=o&&u(n).startOf("day").valueOf()===u(o).startOf("day").valueOf();return{isHourDisabled(c){const l=a&&c>u(o).hour();return t===r.PAST_TIME?n>e.nowStartValue&&c>e.curHour||l:t===r.FUTURE_TIME&&n<e.nowEndValue&&c<e.curHour||l},isMinuteDisabled(c,l){if(null===l)return!1;const i=a&&l>=u(o).hour()&&c>u(o).minute();return t===r.PAST_TIME?n>e.nowStartValue&&l>=e.curHour&&c>e.curMinute||i:t===r.FUTURE_TIME&&n<e.nowEndValue&&l<=e.curHour&&c<e.curMinute||i},isSecondDisabled(c,l,i){if(null===i||null===l)return!1;const T=a&&i>=u(o).hour()&&l>=u(o).minute()&&c>u(o).second();return t===r.PAST_TIME?n>e.nowStartValue&&i>=e.curHour&&l>=e.curMinute&&c>e.curSecond||T:t===r.FUTURE_TIME&&n<e.nowEndValue&&i<=e.curHour&&l<=e.curMinute&&c<e.curSecond||T}}}function l(n,t,o){if(t===r.PAST_TIME)return o&&n<u(o).startOf("day").valueOf()||n>e.nowEndValue;if(t===r.FUTURE_TIME){return n<(o&&u(o).startOf("day").valueOf()||e.nowStartValue)}return!!o&&n<u(o).startOf("day").valueOf()}function i(n,t,o){const a=o&&u(n).startOf("day").valueOf()===u(o).startOf("day").valueOf();return{isHourDisabled(c){const l=a&&c<u(o).hour();return t===r.PAST_TIME?n>e.nowStartValue&&c>e.curHour||l:t===r.FUTURE_TIME&&n<e.nowEndValue&&c<e.curHour||l},isMinuteDisabled(c,l){if(null===l)return!1;const i=a&&l<=u(o).hour()&&c<u(o).minute();return t===r.PAST_TIME?n>e.nowStartValue&&l>=e.curHour&&c>e.curMinute||i:t===r.FUTURE_TIME&&n<e.nowEndValue&&l<=e.curHour&&c<e.curMinute||i},isSecondDisabled(c,l,i){if(null===i||null===l)return!1;const T=a&&i<=u(o).hour()&&l<=u(o).minute()&&c<u(o).second();return t===r.PAST_TIME?n>e.nowStartValue&&i>=e.curHour&&l>=e.curMinute&&c>e.curSecond||T:t===r.FUTURE_TIME&&n<e.nowEndValue&&i<=e.curHour&&l<=e.curMinute&&c<e.curSecond||T}}}export{e as dateDisabledCollect,l as isEndDateRangeDisabled,a as isStartDateRangeDisabled,i as isTimeEndRangeDisabled,c as isTimeStartRangeDisabled,t as setDateDisabled,o as setTimeDisabled};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export declare const DateExtraMap: {
|
|
2
|
-
DATE_DATETIME_WHOLE: string;
|
|
3
|
-
DATE_DATETIME_PAST: string;
|
|
4
|
-
DATE_DATETIME_FUTURE: string;
|
|
5
|
-
DATETIME_DATETIME_WHOLE: string;
|
|
6
|
-
DATETIME_DATETIME_PAST: string;
|
|
7
|
-
DATETIME_DATETIME_FUTURE: string;
|
|
8
|
-
DATE_DATETIME_WHOLE_RANGE: string;
|
|
9
|
-
DATE_DATETIME_PAST_RANGE: string;
|
|
10
|
-
DATE_DATETIME_FUTURE_RANGE: string;
|
|
11
|
-
DATETIME_DATETIME_WHOLE_RANGE: string;
|
|
12
|
-
DATETIME_DATETIME_PAST_RANGE: string;
|
|
13
|
-
DATETIME_DATETIME_FUTURE_RANGE: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const DateExtraOptions: {
|
|
16
|
-
DATE_DATETIME_WHOLE: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
}[];
|
|
20
|
-
DATE_DATETIME_FUTURE: {
|
|
21
|
-
label: string;
|
|
22
|
-
value: string;
|
|
23
|
-
}[];
|
|
24
|
-
DATETIME_DATETIME_WHOLE: {
|
|
25
|
-
label: string;
|
|
26
|
-
value: string;
|
|
27
|
-
}[];
|
|
28
|
-
DATETIME_DATETIME_FUTURE: {
|
|
29
|
-
label: string;
|
|
30
|
-
value: string;
|
|
31
|
-
}[];
|
|
32
|
-
DATE_DATETIME_WHOLE_RANGE: {
|
|
33
|
-
label: string;
|
|
34
|
-
value: string;
|
|
35
|
-
}[];
|
|
36
|
-
DATE_DATETIME_FUTURE_RANGE: {
|
|
37
|
-
label: string;
|
|
38
|
-
value: string;
|
|
39
|
-
}[];
|
|
40
|
-
DATETIME_DATETIME_WHOLE_RANGE: {
|
|
41
|
-
label: string;
|
|
42
|
-
value: string;
|
|
43
|
-
}[];
|
|
44
|
-
DATETIME_DATETIME_FUTURE_RANGE: {
|
|
45
|
-
label: string;
|
|
46
|
-
value: string;
|
|
47
|
-
}[];
|
|
48
|
-
};
|
|
49
|
-
export declare const widgetDateValOptions: {
|
|
50
|
-
[x: string]: {
|
|
51
|
-
name: string;
|
|
52
|
-
title: string;
|
|
53
|
-
con: string;
|
|
54
|
-
}[];
|
|
55
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{WidgetValEnums as E,WidgetDateOptionEnums as T}from"./enums.js";import{WidgetOptionEnums as A}from"../../../types/enums.js";const e={DATE_DATETIME_WHOLE:"DATE_DATETIME_WHOLE",DATE_DATETIME_PAST:"DATE_DATETIME_WHOLE",DATE_DATETIME_FUTURE:"DATE_DATETIME_FUTURE",DATETIME_DATETIME_WHOLE:"DATETIME_DATETIME_WHOLE",DATETIME_DATETIME_PAST:"DATETIME_DATETIME_WHOLE",DATETIME_DATETIME_FUTURE:"DATETIME_DATETIME_FUTURE",DATE_DATETIME_WHOLE_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATE_DATETIME_PAST_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATE_DATETIME_FUTURE_RANGE:"DATE_DATETIME_FUTURE_RANGE",DATETIME_DATETIME_WHOLE_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATETIME_DATETIME_PAST_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATETIME_DATETIME_FUTURE_RANGE:"DATE_DATETIME_FUTURE_RANGE"},_={DATE_DATETIME_WHOLE_RANGE:[{label:"今天",value:"TODAY"},{label:"昨天",value:"YESTERDAY"},{label:"近一周",value:"PAST_WEEK"},{label:"近一月",value:"PAST_MONTH"}],DATE_DATETIME_FUTURE_RANGE:[{label:"今天",value:"TODAY"},{label:"明天",value:"TOMORROW"},{label:"本周",value:"THIS_WEEK"},{label:"本月",value:"THIS_MONTH"}]},t={DATE_DATETIME_WHOLE:[{label:"今天",value:"TODAY"},{label:"昨天",value:"YESTERDAY"},{label:"本周初",value:"THIS_WEEK_START"},{label:"本月初",value:"THIS_MONTH_START"}],DATE_DATETIME_FUTURE:[{label:"今天",value:"TODAY"},{label:"明天",value:"TOMORROW"},{label:"本周末",value:"THIS_WEEK_END"},{label:"本月末",value:"THIS_MONTH_END"}],DATETIME_DATETIME_WHOLE:[{label:"今天初",value:"TODAY_START"},{label:"昨天初",value:"YESTERDAY_START"},{label:"本周初",value:"THIS_WEEK_START"},{label:"本月初",value:"THIS_MONTH_START"}],DATETIME_DATETIME_FUTURE:[{label:"今天末",value:"TODAY_END"},{label:"明天末",value:"TOMORROW_END"},{label:"本周末",value:"THIS_WEEK_END"},{label:"本月末",value:"THIS_MONTH_END"}],DATE_DATETIME_WHOLE_RANGE:_.DATE_DATETIME_WHOLE_RANGE,DATE_DATETIME_FUTURE_RANGE:_.DATE_DATETIME_FUTURE_RANGE,DATETIME_DATETIME_WHOLE_RANGE:_.DATE_DATETIME_WHOLE_RANGE,DATETIME_DATETIME_FUTURE_RANGE:_.DATE_DATETIME_FUTURE_RANGE},n={[A.ALL]:[{name:"今天",title:"今天",con:E.TODAY},{name:"明天",title:"明天",con:E.TOMORROW},{name:"昨天",title:"昨天",con:E.YESTERDAY},{name:"本周",title:"本周",con:E.THIS_WEEK},{name:"下周",title:"下周",con:E.NEXT_WEEK},{name:"上周",title:"上周",con:E.LAST_WEEK},{name:"近一周",title:"近一周",con:E.PAST_WEEK},{name:"本月",title:"本月",con:E.THIS_MONTH},{name:"下月",title:"下月",con:E.NEXT_MONTH},{name:"上月",title:"上月",con:E.LAST_MONTH},{name:"近一月",title:"近一月",con:E.PAST_MONTH},{name:"本季度",title:"本季度",con:E.THIS_QUARTER},{name:"下季度",title:"下季度",con:E.NEXT_QUARTER},{name:"上季度",title:"上季度",con:E.LAST_QUARTER},{name:"今年",title:"今年",con:E.THIS_YEAR},{name:"明年",title:"明年",con:E.NEXT_YEAR},{name:"去年",title:"去年",con:E.LAST_YEAR},{name:"近半年",title:"近半年",con:E.PAST_HALF_YEAR}],[A.PAST_TIME]:[{name:"今天",title:"今天",con:E.TODAY},{name:"昨天",title:"昨天",con:E.YESTERDAY},{name:"本周",title:"本周",con:E.THIS_WEEK},{name:"上周",title:"上周",con:E.LAST_WEEK},{name:"近一周",title:"近一周",con:E.PAST_WEEK},{name:"本月",title:"本月",con:E.THIS_MONTH},{name:"上月",title:"上月",con:E.LAST_MONTH},{name:"近一月",title:"近一月",con:E.PAST_MONTH},{name:"本季度",title:"本季度",con:E.THIS_QUARTER},{name:"上季度",title:"上季度",con:E.LAST_QUARTER},{name:"今年",title:"今年",con:E.THIS_YEAR},{name:"去年",title:"去年",con:E.LAST_YEAR},{name:"近半年",title:"近半年",con:E.PAST_HALF_YEAR}],[A.FUTURE_TIME]:[{name:"今天",title:"今天",con:E.TODAY},{name:"明天",title:"明天",con:E.TOMORROW},{name:"本周",title:"本周",con:E.THIS_WEEK},{name:"下周",title:"下周",con:E.NEXT_WEEK},{name:"本月",title:"本月",con:E.THIS_MONTH},{name:"下月",title:"下月",con:E.NEXT_MONTH},{name:"本季度",title:"本季度",con:E.THIS_QUARTER},{name:"下季度",title:"下季度",con:E.NEXT_QUARTER},{name:"今年",title:"今年",con:E.THIS_YEAR},{name:"明年",title:"明年",con:E.NEXT_YEAR}]},l={[T.DATE_DATETIME_WHOLE_RANGE]:n[A.ALL],[T.DATE_DATETIME_PAST_RANGE]:n[A.PAST_TIME],[T.DATE_DATETIME_FUTURE_RANGE]:n[A.FUTURE_TIME],[T.DATETIME_DATETIME_WHOLE_RANGE]:n[A.ALL],[T.DATETIME_DATETIME_PAST_RANGE]:n[A.PAST_TIME],[T.DATETIME_DATETIME_FUTURE_RANGE]:n[A.FUTURE_TIME],[T.DATE_DATETIME_WHOLE]:[{name:"今天",title:"今天",con:E.TODAY},{name:"明天",title:"明天",con:E.TOMORROW},{name:"昨天",title:"昨天",con:E.YESTERDAY},{name:"本周初",title:"本周初",con:E.WEEK_START},{name:"本周末",title:"本周末",con:E.WEEK_END},{name:"本月初",title:"本月初",con:E.MONTH_START},{name:"本月末",title:"本月末",con:E.MONTH_END},{name:"季度初",title:"本季度初",con:E.QUARTER_START},{name:"季度未",title:"本季度未",con:E.QUARTER_END},{name:"今年初",title:"今年初",con:E.YEAR_START},{name:"今年未",title:"今年未",con:E.YEAR_END}],[T.DATE_DATETIME_PAST]:[{name:"今天",title:"今天",con:E.TODAY},{name:"昨天",title:"昨天",con:E.YESTERDAY},{name:"本周初",title:"本周初",con:E.WEEK_START},{name:"本月初",title:"本月初",con:E.MONTH_START},{name:"季度初",title:"本季度初",con:E.QUARTER_START},{name:"今年初",title:"今年初",con:E.YEAR_START}],[T.DATE_DATETIME_FUTURE]:[{name:"今天",title:"今天",con:E.TODAY},{name:"明天",title:"明天",con:E.TOMORROW},{name:"本周末",title:"本周末",con:E.WEEK_END},{name:"本月末",title:"本月末",con:E.MONTH_END},{name:"季度未",title:"本季度未",con:E.QUARTER_END},{name:"今年未",title:"今年未",con:E.YEAR_END}],[T.DATETIME_DATETIME_WHOLE]:[{name:"当前时间",title:"当前时间",con:E.NOW},{name:"今天初",title:"今天初",con:E.TODAY_START},{name:"今天末",title:"今天末",con:E.TODAY_END},{name:"昨天初",title:"昨天初",con:E.YESTERDAY_START},{name:"昨天末",title:"昨天末",con:E.YESTERDAY_END},{name:"明天初",title:"明天初",con:E.TOMORROW_START},{name:"明天末",title:"明天末",con:E.TOMORROW_END},{name:"本周初",title:"本周初",con:E.WEEK_START},{name:"本周末",title:"本周末",con:E.WEEK_END},{name:"本月初",title:"本月初",con:E.MONTH_START},{name:"本月末",title:"本月末",con:E.MONTH_END},{name:"今年初",title:"今年初",con:E.YEAR_START},{name:"今年未",title:"今年未",con:E.YEAR_END}],[T.DATETIME_DATETIME_PAST]:[{name:"当前时间",title:"当前时间",con:E.NOW},{name:"今天初",title:"今天初",con:E.TODAY_START},{name:"昨天初",title:"昨天初",con:E.YESTERDAY_START},{name:"昨天末",title:"昨天末",con:E.YESTERDAY_END},{name:"本周初",title:"本周初",con:E.WEEK_START},{name:"本月初",title:"本月初",con:E.MONTH_START},{name:"今年初",title:"今年初",con:E.YEAR_START}],[T.DATETIME_DATETIME_FUTURE]:[{name:"当前时间",title:"当前时间",con:E.NOW},{name:"今天末",title:"今天末",con:E.TODAY_END},{name:"明天初",title:"明天初",con:E.TOMORROW_START},{name:"明天末",title:"明天末",con:E.TOMORROW_END},{name:"本周末",title:"本周末",con:E.WEEK_END},{name:"本月末",title:"本月末",con:E.MONTH_END},{name:"今年未",title:"今年未",con:E.YEAR_END}]};export{e as DateExtraMap,t as DateExtraOptions,l as widgetDateValOptions};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export declare const WidgetDateOptionEnums: {
|
|
2
|
-
DATE_DATETIME_WHOLE: string;
|
|
3
|
-
DATE_DATETIME_SELECT: string;
|
|
4
|
-
DATE_DATETIME_PAST: string;
|
|
5
|
-
DATE_DATETIME_FUTURE: string;
|
|
6
|
-
DATE_DATETIME_WHOLE_RANGE: string;
|
|
7
|
-
DATE_DATETIME_SELECT_RANGE: string;
|
|
8
|
-
DATE_DATETIME_PAST_RANGE: string;
|
|
9
|
-
DATE_DATETIME_FUTURE_RANGE: string;
|
|
10
|
-
DATETIME_DATETIME_WHOLE: string;
|
|
11
|
-
DATETIME_DATETIME_SELECT: string;
|
|
12
|
-
DATETIME_DATETIME_PAST: string;
|
|
13
|
-
DATETIME_DATETIME_FUTURE: string;
|
|
14
|
-
DATETIME_DATETIME_WHOLE_RANGE: string;
|
|
15
|
-
DATETIME_DATETIME_SELECT_RANGE: string;
|
|
16
|
-
DATETIME_DATETIME_PAST_RANGE: string;
|
|
17
|
-
DATETIME_DATETIME_FUTURE_RANGE: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const WidgetValEnums: {
|
|
20
|
-
CUSTOM: string;
|
|
21
|
-
FIRST_VAL: string;
|
|
22
|
-
WHOLE: string;
|
|
23
|
-
NOW: string;
|
|
24
|
-
TODAY: string;
|
|
25
|
-
TODAY_START: string;
|
|
26
|
-
TODAY_END: string;
|
|
27
|
-
TOMORROW: string;
|
|
28
|
-
TOMORROW_START: string;
|
|
29
|
-
TOMORROW_END: string;
|
|
30
|
-
YESTERDAY: string;
|
|
31
|
-
YESTERDAY_START: string;
|
|
32
|
-
YESTERDAY_END: string;
|
|
33
|
-
THIS_WEEK: string;
|
|
34
|
-
WEEK_START: string;
|
|
35
|
-
WEEK_END: string;
|
|
36
|
-
NEXT_WEEK: string;
|
|
37
|
-
LAST_WEEK: string;
|
|
38
|
-
PAST_WEEK: string;
|
|
39
|
-
THIS_MONTH: string;
|
|
40
|
-
MONTH_START: string;
|
|
41
|
-
MONTH_END: string;
|
|
42
|
-
NEXT_MONTH: string;
|
|
43
|
-
LAST_MONTH: string;
|
|
44
|
-
PAST_MONTH: string;
|
|
45
|
-
THIS_QUARTER: string;
|
|
46
|
-
NEXT_QUARTER: string;
|
|
47
|
-
LAST_QUARTER: string;
|
|
48
|
-
QUARTER_START: string;
|
|
49
|
-
QUARTER_END: string;
|
|
50
|
-
THIS_YEAR: string;
|
|
51
|
-
YEAR_START: string;
|
|
52
|
-
YEAR_END: string;
|
|
53
|
-
NEXT_YEAR: string;
|
|
54
|
-
LAST_YEAR: string;
|
|
55
|
-
PAST_HALF_YEAR: string;
|
|
56
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const T={DATE_DATETIME_WHOLE:"DATE_DATETIME_WHOLE",DATE_DATETIME_SELECT:"DATE_DATETIME_WHOLE",DATE_DATETIME_PAST:"DATE_DATETIME_PAST",DATE_DATETIME_FUTURE:"DATE_DATETIME_FUTURE",DATE_DATETIME_WHOLE_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATE_DATETIME_SELECT_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATE_DATETIME_PAST_RANGE:"DATE_DATETIME_PAST_RANGE",DATE_DATETIME_FUTURE_RANGE:"DATE_DATETIME_FUTURE_RANGE",DATETIME_DATETIME_WHOLE:"DATETIME_DATETIME_WHOLE",DATETIME_DATETIME_SELECT:"DATETIME_DATETIME_WHOLE",DATETIME_DATETIME_PAST:"DATETIME_DATETIME_PAST",DATETIME_DATETIME_FUTURE:"DATETIME_DATETIME_FUTURE",DATETIME_DATETIME_WHOLE_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATETIME_DATETIME_SELECT_RANGE:"DATE_DATETIME_WHOLE_RANGE",DATETIME_DATETIME_PAST_RANGE:"DATE_DATETIME_PAST_RANGE",DATETIME_DATETIME_FUTURE_RANGE:"DATE_DATETIME_FUTURE_RANGE"},E={CUSTOM:"CUSTOM",FIRST_VAL:"FIRST",WHOLE:"WHOLE",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",THIS_WEEK:"THIS_WEEK",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",NEXT_WEEK:"NEXT_WEEK",LAST_WEEK:"LAST_WEEK",PAST_WEEK:"PAST_WEEK",THIS_MONTH:"THIS_MONTH",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END",NEXT_MONTH:"NEXT_MONTH",LAST_MONTH:"LAST_MONTH",PAST_MONTH:"PAST_MONTH",THIS_QUARTER:"THIS_QUARTER",NEXT_QUARTER:"NEXT_QUARTER",LAST_QUARTER:"LAST_QUARTER",QUARTER_START:"THIS_QUARTER_START",QUARTER_END:"THIS_QUARTER_END",THIS_YEAR:"THIS_YEAR",YEAR_START:"THIS_YEAR_START",YEAR_END:"THIS_YEAR_END",NEXT_YEAR:"NEXT_YEAR",LAST_YEAR:"LAST_YEAR",PAST_HALF_YEAR:"PAST_HALF_YEAR"};export{T as WidgetDateOptionEnums,E as WidgetValEnums};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
declare const draggableComponent: import('vue').DefineComponent<
|
|
2
|
-
{
|
|
3
|
-
list: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
required: boolean;
|
|
6
|
-
default: any;
|
|
7
|
-
};
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: ArrayConstructor;
|
|
10
|
-
required: boolean;
|
|
11
|
-
default: any;
|
|
12
|
-
};
|
|
13
|
-
itemKey: {
|
|
14
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
15
|
-
required: boolean;
|
|
16
|
-
};
|
|
17
|
-
clone: {
|
|
18
|
-
type: FunctionConstructor;
|
|
19
|
-
default: (original: any) => any;
|
|
20
|
-
};
|
|
21
|
-
tag: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
move: {
|
|
26
|
-
type: FunctionConstructor;
|
|
27
|
-
default: any;
|
|
28
|
-
};
|
|
29
|
-
componentData: {
|
|
30
|
-
type: ObjectConstructor;
|
|
31
|
-
required: boolean;
|
|
32
|
-
default: any;
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
unknown,
|
|
36
|
-
{
|
|
37
|
-
error: boolean;
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
realList(): any;
|
|
41
|
-
getKey(): any;
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
getUnderlyingVm(domElement: any): any;
|
|
45
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
46
|
-
emitChanges(evt: any): void;
|
|
47
|
-
alterList(onList: any): void;
|
|
48
|
-
spliceList(): void;
|
|
49
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
50
|
-
getRelatedContextFromMoveEvent({ to, related }: { to: any; related: any }): any;
|
|
51
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
52
|
-
onDragStart(evt: any): void;
|
|
53
|
-
onDragAdd(evt: any): void;
|
|
54
|
-
onDragRemove(evt: any): void;
|
|
55
|
-
onDragUpdate(evt: any): void;
|
|
56
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
57
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
58
|
-
onDragEnd(): void;
|
|
59
|
-
},
|
|
60
|
-
import('vue').ComponentOptionsMixin,
|
|
61
|
-
import('vue').ComponentOptionsMixin,
|
|
62
|
-
any[],
|
|
63
|
-
any,
|
|
64
|
-
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
|
|
65
|
-
Readonly<
|
|
66
|
-
{
|
|
67
|
-
move: Function;
|
|
68
|
-
tag: string;
|
|
69
|
-
clone: Function;
|
|
70
|
-
list: unknown[];
|
|
71
|
-
modelValue: unknown[];
|
|
72
|
-
componentData: Record<string, any>;
|
|
73
|
-
} & {
|
|
74
|
-
itemKey?: string | Function;
|
|
75
|
-
}
|
|
76
|
-
>,
|
|
77
|
-
{
|
|
78
|
-
move: Function;
|
|
79
|
-
tag: string;
|
|
80
|
-
clone: Function;
|
|
81
|
-
list: unknown[];
|
|
82
|
-
modelValue: unknown[];
|
|
83
|
-
componentData: Record<string, any>;
|
|
84
|
-
}
|
|
85
|
-
>;
|
|
86
|
-
export default draggableComponent;
|