cnhis-design-vue 3.1.52-release.1 → 3.1.52-release.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/body-select/index.d.ts +47 -0
- package/es/components/body-select/index.js +1 -0
- package/es/components/body-select/src/config/index.d.ts +101 -0
- package/es/components/body-select/src/config/index.js +1 -0
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +6 -0
- package/es/components/body-select/src/hooks/renderCanvas.js +1 -0
- package/es/components/body-select/src/index.vue.d.ts +48 -0
- package/es/components/body-select/src/index.vue.js +1 -0
- package/es/components/body-select/src/index.vue2.js +1 -0
- package/es/components/body-select/style/index.css +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/classification/index.d.ts +76 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +76 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +76 -6
- package/es/components/classification/src/index.vue.d.ts +76 -6
- package/es/components/date-picker/index.d.ts +38 -3
- package/es/components/date-picker/src/DatePicker.vue.d.ts +38 -3
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +38 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +38 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +2 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +76 -6
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +76 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +76 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +38 -3
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +152 -12
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +152 -12
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +9 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +8 -2
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
package/es/components/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import CExpandField from './expand-field';
|
|
|
34
34
|
import CMultiChat from './multi-chat';
|
|
35
35
|
import CCallback from './callback';
|
|
36
36
|
import CSliderTree from './slider-tree';
|
|
37
|
+
import CBodySelect from './body-select';
|
|
37
38
|
export * from './form-render';
|
|
38
39
|
export * from './shortcut-provider';
|
|
39
40
|
export * from './shortcut-setter';
|
|
@@ -52,7 +53,7 @@ export * from './select-label';
|
|
|
52
53
|
export * from './card-reader-sdk';
|
|
53
54
|
export * from './slider-tree';
|
|
54
55
|
declare function install(app: App): void;
|
|
55
|
-
export { CGrid, CBigTable, CFieldSet, CButtonPrint, CSelectPerson, CSelectLabel, CLabelFormContent, CScaleView, CMap, CVodChunkUpload, CRadio, CCheckbox, CSelect, CDatetime, CInfoHeader, CTimeLine, CBaseSearch, CQuickSearch, CClassification, CBpmnWorkflow, CStepsWheel, CEditor, CFormRender, CFabricChart, CShortcutProvider, CShortcutSetter, CFormConfig, CIhoTable, CKeyboard, CSearchCascader, CRecommendSearch, CDatePicker, CTimePicker, CConfigProvider, CPictureClipper, CTableExportField, CExpandField, CMultiChat, CCallback, CSliderTree };
|
|
56
|
+
export { CGrid, CBigTable, CFieldSet, CButtonPrint, CSelectPerson, CSelectLabel, CLabelFormContent, CScaleView, CMap, CVodChunkUpload, CRadio, CCheckbox, CSelect, CDatetime, CInfoHeader, CTimeLine, CBaseSearch, CQuickSearch, CClassification, CBpmnWorkflow, CStepsWheel, CEditor, CFormRender, CFabricChart, CShortcutProvider, CShortcutSetter, CFormConfig, CIhoTable, CKeyboard, CSearchCascader, CRecommendSearch, CDatePicker, CTimePicker, CConfigProvider, CPictureClipper, CTableExportField, CExpandField, CMultiChat, CCallback, CSliderTree, CBodySelect };
|
|
56
57
|
declare const _default: {
|
|
57
58
|
install: typeof install;
|
|
58
59
|
};
|
package/es/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import t from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import s from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as f,CCheckbox as l,CSelect as p,CDatetime as c}from"./scale-view/index.js";export{CCheckbox,CDatetime,CRadio,CScaleView,CSelect}from"./scale-view/index.js";import u from"./info-header/index.js";export{default as CInfoHeader}from"./info-header/index.js";import x from"./time-line/index.js";export{default as CTimeLine}from"./time-line/index.js";import C from"./base-search/index.js";export{default as CBaseSearch}from"./base-search/index.js";import j from"./quick-search/index.js";export{default as CQuickSearch}from"./quick-search/index.js";import h from"./classification/index.js";export{default as CClassification}from"./classification/index.js";import b from"./bpmn-workflow/index.js";export{default as CBpmnWorkflow}from"./bpmn-workflow/index.js";import k from"./steps-wheel/index.js";export{default as CStepsWheel}from"./steps-wheel/index.js";import
|
|
1
|
+
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import t from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import s from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as f,CCheckbox as l,CSelect as p,CDatetime as c}from"./scale-view/index.js";export{CCheckbox,CDatetime,CRadio,CScaleView,CSelect}from"./scale-view/index.js";import u from"./info-header/index.js";export{default as CInfoHeader}from"./info-header/index.js";import x from"./time-line/index.js";export{default as CTimeLine}from"./time-line/index.js";import C from"./base-search/index.js";export{default as CBaseSearch}from"./base-search/index.js";import j from"./quick-search/index.js";export{default as CQuickSearch}from"./quick-search/index.js";import h from"./classification/index.js";export{default as CClassification}from"./classification/index.js";import b from"./bpmn-workflow/index.js";export{default as CBpmnWorkflow}from"./bpmn-workflow/index.js";import k from"./steps-wheel/index.js";export{default as CStepsWheel}from"./steps-wheel/index.js";import S from"./editor/index.js";export{default as CEditor}from"./editor/index.js";import g from"./form-render/index.js";export{default as CFormRender}from"./form-render/index.js";import F from"./fabric-chart/index.js";export{default as CFabricChart}from"./fabric-chart/index.js";import P from"./shortcut-provider/index.js";export{default as CShortcutProvider}from"./shortcut-provider/index.js";import y from"./shortcut-setter/index.js";export{default as CShortcutSetter}from"./shortcut-setter/index.js";import v from"./form-config/index.js";export{default as CFormConfig}from"./form-config/index.js";import B from"./iho-table/index.js";export{default as CIhoTable,useIhoTablePresetPlugins}from"./iho-table/index.js";import T from"./keyboard/index.js";export{default as CKeyboard}from"./keyboard/index.js";import D from"./search-cascader/index.js";export{default as CSearchCascader}from"./search-cascader/index.js";import A from"./recommend-search/index.js";export{default as CRecommendSearch}from"./recommend-search/index.js";import I from"./date-picker/index.js";export{default as CDatePicker}from"./date-picker/index.js";import R from"./time-picker/index.js";export{default as CTimePicker}from"./time-picker/index.js";import L from"./config-provider/index.js";export{default as CConfigProvider}from"./config-provider/index.js";import w from"./picture-clipper/index.js";export{default as CPictureClipper}from"./picture-clipper/index.js";import E from"./table-export-field/index.js";export{default as CTableExportField}from"./table-export-field/index.js";import K from"./expand-field/index.js";export{default as CExpandField}from"./expand-field/index.js";import V from"./multi-chat/index.js";export{default as CMultiChat}from"./multi-chat/index.js";import H from"./callback/index.js";export{default as CCallback}from"./callback/index.js";import M from"./slider-tree/index.js";export{default as CSliderTree}from"./slider-tree/index.js";import O from"./body-select/index.js";export{default as CBodySelect}from"./body-select/index.js";export{default as CInsuranceSDK}from"./card-reader-sdk/src/insuranceSDK.js";export{default as CCardReaderSDK}from"./card-reader-sdk/src/cardReaderSDK.js";export{vFlexibleResize}from"../shared/directive/flexibleResize.js";export{useGuide}from"./guide/src/useGuide.js";export{useFieldListAdaptor}from"./form-render/src/hooks/useFieldListAdaptor.js";export{useFormRequest}from"./form-render/src/hooks/useFormRequest.js";export{useCommonLog}from"./form-render/src/hooks/useCommonLog.js";export{useFormField}from"./form-render/src/hooks/useFormField.js";export{useFormAsyncQueue}from"./form-render/src/hooks/useFormAsyncQueue.js";export{useFieldVisitor}from"./form-render/src/hooks/useFieldVisitor.js";export{useFieldNormalize}from"./form-render/src/hooks/useFieldNormalize.js";export{useFormValidator,validateMessageLocale}from"./form-render/src/hooks/useFormValidator.js";export{BusinessCollector,useBusinessBinding}from"./form-render/src/hooks/useBusinessBinding.js";export{ContextCollector,useChangeContext}from"./form-render/src/hooks/useChangeContext.js";export{FormItemDepsCollector,useFormItemDeps}from"./form-render/src/hooks/useFormItemDeps.js";export{useAnchor}from"./form-render/src/hooks/useAnchor.js";export{useFormContext}from"./form-render/src/hooks/useFormContext.js";export{useCommonInjection,useSelectOptionProps}from"./form-render/src/hooks/useCommonInjection.js";export{searchContentMatcher,useAutographOptions,useRecommendOptions,useUrlConfigOptions}from"./form-render/src/hooks/useFormRenderOptions.js";export{businessDateParser,isIdCard,isMobile,parseAge2Birthday,parseAgeFromContext,parseBirthday,parseIdCard,transformDateFormat}from"./form-render/src/utils/business.js";export{findNextWidget,queryDecoratorByAddress,queryDecoratorByFieldKey,queryInput}from"./form-render/src/utils/dom.js";export{assignClearBindVisited,assignUpdateValue,assignValueBindKey,createLinebarId,createObjSchema,createVisitedSetter,dotEscape,fieldKeyEscape,getParentLinebar,traverseDependKey,traverseSchema}from"./form-render/src/utils/schema.js";export{combineExtendKey,createInputSlot,createSlot,createUrlConfigParams,formRenderLog,injectOrProvide,isNestedFieldType,isNestedType,mergeDeepProperties,parseNumberFromMaybeString,presetRequestHandler,renderDescOption,splitExtendKey,validateMessageParser}from"./form-render/src/utils/index.js";export*from"@formily/core";export{GlobalShortcutProvider,ShortcutManager,useShortcuts}from"./shortcut-provider/src/hooks/useShortcuts.js";export{useShortcutSignature}from"./shortcut-provider/src/hooks/useShortcutSignature.js";export{defineTablePlugin,useTablePlugin}from"./iho-table/src/hooks/useTablePlugin.js";export{useColumnConfigAdaptor}from"./iho-table/src/hooks/useColumnConfigAdaptor.js";export{AbstractConfigHooks,AbstractDataHooks,AbstractDomInsertHooks,AbstractEventHooks,AbstractExposeHooks,AbstractFieldHooks,AbstractSetupHooks}from"./iho-table/src/types/pluginType.js";export{Print}from"./button-print/src/utils/print.js";export{getFileUrl,isIReport,useBrowserPrint}from"./button-print/src/utils/browserPrint.js";export{transformOriginToTree}from"./slider-tree/src/utils/index.js";const q={CGrid:e,CBigTable:r,CFieldSet:o,CButtonPrint:t,CSelectPerson:s,CSelectLabel:i,CLabelFormContent:a,CScaleView:m,CMap:d,CVodChunkUpload:n,CRadio:f,CCheckbox:l,CSelect:p,CDatetime:c,CInfoHeader:u,CTimeLine:x,CBaseSearch:C,CQuickSearch:j,CClassification:h,CBpmnWorkflow:b,CStepsWheel:k,CEditor:S,CFormRender:g,CFabricChart:F,CShortcutProvider:P,CShortcutSetter:y,CFormConfig:v,CIhoTable:B,CKeyboard:T,CSearchCascader:D,CRecommendSearch:A,CDatePicker:I,CTimePicker:R,CConfigProvider:L,CPictureClipper:w,CTableExportField:E,CExpandField:K,CMultiChat:V,CCallback:H,CSliderTree:M,CBodySelect:O};var N={install:function(e){Object.values(q).forEach((r=>{r.install(e)}))},...q};export{N as default};
|
|
@@ -3130,7 +3130,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3130
3130
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
3131
3131
|
clearSpan: (uuid: string) => void;
|
|
3132
3132
|
exposeEvent: {
|
|
3133
|
-
validate(path?: string, { force }?: {
|
|
3133
|
+
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
3134
3134
|
force?: boolean | undefined;
|
|
3135
3135
|
}): Promise<void>;
|
|
3136
3136
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -4136,7 +4136,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4136
4136
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
4137
4137
|
clearSpan: (uuid: string) => void;
|
|
4138
4138
|
exposeEvent: {
|
|
4139
|
-
validate(path?: string, { force }?: {
|
|
4139
|
+
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
4140
4140
|
force?: boolean | undefined;
|
|
4141
4141
|
}): Promise<void>;
|
|
4142
4142
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -3124,7 +3124,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3124
3124
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
3125
3125
|
clearSpan: (uuid: string) => void;
|
|
3126
3126
|
exposeEvent: {
|
|
3127
|
-
validate(path?: string, { force }?: {
|
|
3127
|
+
validate(path?: string | ((field: import("../../../../es/components/form-render").Field<any, any, any, any>) => boolean), { force }?: {
|
|
3128
3128
|
force?: boolean | undefined;
|
|
3129
3129
|
}): Promise<void>;
|
|
3130
3130
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -4130,7 +4130,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4130
4130
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
4131
4131
|
clearSpan: (uuid: string) => void;
|
|
4132
4132
|
exposeEvent: {
|
|
4133
|
-
validate(path?: string, { force }?: {
|
|
4133
|
+
validate(path?: string | ((field: import("../../../../es/components/form-render").Field<any, any, any, any>) => boolean), { force }?: {
|
|
4134
4134
|
force?: boolean | undefined;
|
|
4135
4135
|
}): Promise<void>;
|
|
4136
4136
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -2683,7 +2683,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2683
2683
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2684
2684
|
clearSpan: (uuid: string) => void;
|
|
2685
2685
|
exposeEvent: {
|
|
2686
|
-
validate(path?: string, { force }?: {
|
|
2686
|
+
validate(path?: string | ((field: import("../../../../../../es/components/form-render").Field<any, any, any, any>) => boolean), { force }?: {
|
|
2687
2687
|
force?: boolean | undefined;
|
|
2688
2688
|
}): Promise<void>;
|
|
2689
2689
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -609,7 +609,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
609
609
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
610
610
|
clearSpan: (uuid: string) => void;
|
|
611
611
|
exposeEvent: {
|
|
612
|
-
validate(path?: string, { force }?: {
|
|
612
|
+
validate(path?: string | ((field: import("../../../../../../es/components/form-render").Field<any, any, any, any>) => boolean), { force }?: {
|
|
613
613
|
force?: boolean | undefined;
|
|
614
614
|
}): Promise<void>;
|
|
615
615
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,ref as l,watch as a,openBlock as r,createElementBlock as i,Fragment as n,unref as s,createElementVNode as c,toDisplayString as o,normalizeStyle as d,renderList as u,normalizeClass as h,createTextVNode as p,createCommentVNode as f,createBlock as v}from"vue";import{useMessage as y,NEmpty as m}from"naive-ui";import{isEqual as k}from"lodash-es";import{useVirtualList as _}from"@vueuse/core";const g={class:"searchOrgAndStaff"},N={key:0,class:"searchOption"},S={class:"search_title"},C=["onClick"],b={class:"title"},x=["title"],D={class:"desc"},O={key:1,class:"SearchOption"},$={class:"search_title"},F=["onClick"],T={class:"title"},A={class:"desc"};var K=e({__name:"SearchOrgAndStaff",props:{treeData:{type:Array,default:()=>[]},checkedKeys:{type:Array,default:()=>[]},searchFilter:{type:Object,default:()=>({})}},emits:["notifyCheck","notifyClear"],setup(e,{emit:K}){var P;const w=e,E=y(),H=t((()=>{var e;return null!=(e=w.searchFilter.itemHeight)?e:300})),W=t((()=>Math.floor(H.value/50))),j=null!=(P=t((()=>w.treeData.filter((e=>!e.children)))))?P:[],{list:I,containerProps:M,wrapperProps:q}=_(j,{itemHeight:50,overscan:W.value}),z=t((()=>({...M.style,height:`${H.value}px`}))),B=t((()=>w.treeData.filter((e=>e.children&&e.children.length>0)))),{list:G,containerProps:J,wrapperProps:L}=_(B,{itemHeight:50,overscan:W.value}),Q=t((()=>({...J.style,height:`${H.value}px`}))),R=l(w.checkedKeys),U=l([]);function V(e){var t;if(R.value.find((t=>t===e.key)))return void E.info(`${e.title}已被选择`);if(e.disabled)return void E.info(`${e.title}已被禁用`);switch((null==(t=e.children)?void 0:t.length)>0?"org":"staff"){case"org":!function(e,t,l){t.children.length>0&&Z(t.children);X(e,t,l)}(R.value,e,e.key);break;case"staff":X(R.value,e,e.key)}K("notifyCheck",R.value),(null==w?void 0:w.searchFilter.multiple)||K("notifyClear")}function X(e,t,l){var a;if(!(null==t?void 0:t.parentNode))return R.value=[...e,l],!1;const r=null==(a=t.parentNode)?void 0:a.key;if(e.includes(r))return R.value=e,E.info(`${t.title}已存在于${t.tempTitle}中`),!1;if(t.parentNode.children){const a=t.parentNode.children.every((t=>[...e,l].includes(t.key)));if(a){const l=null==t?void 0:t.parentNode.children.map((e=>e.key)),r=e.filter((e=>!l.includes(e)));return a&&Y(r,t.parentNode),!1}}X(e,t.parentNode,l)}function Y(e,t){if(!t.parentNode||t.parentNode.children.length>1)return R.value=[...e,t.key],!1;Y(e,t.parentNode)}function Z(e){e.forEach((e=>{var t;if(R.value.includes(e.key)){const t=R.value.indexOf(e.key);R.value.splice(t,1)}(null==(t=e.children)?void 0:t.length)>0&&Z(e.children)}))}function ee(e,t){const l=w.checkedKeys;return!!e&&(l.includes(e.key)?(U.value.push(t),!1):void ee(e.parentNode,t))}return a((()=>w.treeData),(e=>{e&&e.length>0&&(U.value=[],e.forEach((e=>{ee(e,e.key)})))}),{deep:!0,immediate:!0}),a((()=>w.checkedKeys),((e,t)=>{k(e,t)||w.treeData.length>0&&(U.value=[],R.value=e,w.treeData.forEach((e=>{ee(e,e.key)})))}),{immediate:!0}),(t,l)=>{var a,y;return r(),i("div",g,[e.treeData.length>0?(r(),i(n,{key:0},[s(j).length>0?(r(),i("div",N,[c("h4",S,o(null==(a=e.searchFilter)?void 0:a.customTitles[0]),1),c("section",{class:"select-person__multipleWrapper",ref:s(M).ref,style:d(s(I).length>s(W)?s(z):{}),onScroll:l[0]||(l[0]=(...e)=>s(M).onScroll&&s(M).onScroll(...e))},[c("section",{style:d(s(q).style)},[(r(!0),i(n,null,u(s(I),(e=>(r(),i("div",{class:"select-person__multiple-search",key:e.data.key},[c("div",{class:h(["search_item user_item",e.data.disabled?"search_disabled":""]),onClick:t=>V(e.data)},[c("span",b,[p(o(e.data.title)+" ",1),c("span",{class:"user_item_expand",title:e.data.title_expand_strs},o(e.data.title_expand_strs),9,x)]),c("
|
|
1
|
+
import{defineComponent as e,computed as t,ref as l,watch as a,openBlock as r,createElementBlock as i,Fragment as n,unref as s,createElementVNode as c,toDisplayString as o,normalizeStyle as d,renderList as u,normalizeClass as h,createTextVNode as p,createCommentVNode as f,createBlock as v}from"vue";import{useMessage as y,NEmpty as m}from"naive-ui";import{isEqual as k}from"lodash-es";import{useVirtualList as _}from"@vueuse/core";const g={class:"searchOrgAndStaff"},N={key:0,class:"searchOption"},S={class:"search_title"},C=["onClick"],b={class:"title"},x=["title"],D={class:"desc"},O={key:1,class:"SearchOption"},$={class:"search_title"},F=["onClick"],T={class:"title"},A={class:"desc"};var K=e({__name:"SearchOrgAndStaff",props:{treeData:{type:Array,default:()=>[]},checkedKeys:{type:Array,default:()=>[]},searchFilter:{type:Object,default:()=>({})}},emits:["notifyCheck","notifyClear"],setup(e,{emit:K}){var P;const w=e,E=y(),H=t((()=>{var e;return null!=(e=w.searchFilter.itemHeight)?e:300})),W=t((()=>Math.floor(H.value/50))),j=null!=(P=t((()=>w.treeData.filter((e=>!e.children)))))?P:[],{list:I,containerProps:M,wrapperProps:q}=_(j,{itemHeight:50,overscan:W.value}),z=t((()=>({...M.style,height:`${H.value}px`}))),B=t((()=>w.treeData.filter((e=>e.children&&e.children.length>0)))),{list:G,containerProps:J,wrapperProps:L}=_(B,{itemHeight:50,overscan:W.value}),Q=t((()=>({...J.style,height:`${H.value}px`}))),R=l(w.checkedKeys),U=l([]);function V(e){var t;if(R.value.find((t=>t===e.key)))return void E.info(`${e.title}已被选择`);if(e.disabled)return void E.info(`${e.title}已被禁用`);switch((null==(t=e.children)?void 0:t.length)>0?"org":"staff"){case"org":!function(e,t,l){t.children.length>0&&Z(t.children);X(e,t,l)}(R.value,e,e.key);break;case"staff":X(R.value,e,e.key)}K("notifyCheck",R.value),(null==w?void 0:w.searchFilter.multiple)||K("notifyClear")}function X(e,t,l){var a;if(!(null==t?void 0:t.parentNode))return R.value=[...e,l],!1;const r=null==(a=t.parentNode)?void 0:a.key;if(e.includes(r))return R.value=e,E.info(`${t.title}已存在于${t.tempTitle}中`),!1;if(t.parentNode.children){const a=t.parentNode.children.every((t=>[...e,l].includes(t.key)));if(a){const l=null==t?void 0:t.parentNode.children.map((e=>e.key)),r=e.filter((e=>!l.includes(e)));return a&&Y(r,t.parentNode),!1}}X(e,t.parentNode,l)}function Y(e,t){if(!t.parentNode||t.parentNode.children.length>1)return R.value=[...e,t.key],!1;Y(e,t.parentNode)}function Z(e){e.forEach((e=>{var t;if(R.value.includes(e.key)){const t=R.value.indexOf(e.key);R.value.splice(t,1)}(null==(t=e.children)?void 0:t.length)>0&&Z(e.children)}))}function ee(e,t){const l=w.checkedKeys;return!!e&&(l.includes(e.key)?(U.value.push(t),!1):void ee(e.parentNode,t))}return a((()=>w.treeData),(e=>{e&&e.length>0&&(U.value=[],e.forEach((e=>{ee(e,e.key)})))}),{deep:!0,immediate:!0}),a((()=>w.checkedKeys),((e,t)=>{k(e,t)||w.treeData.length>0&&(U.value=[],R.value=e,w.treeData.forEach((e=>{ee(e,e.key)})))}),{immediate:!0}),(t,l)=>{var a,y;return r(),i("div",g,[e.treeData.length>0?(r(),i(n,{key:0},[s(j).length>0?(r(),i("div",N,[c("h4",S,o(null==(a=e.searchFilter)?void 0:a.customTitles[0]),1),c("section",{class:"select-person__multipleWrapper",ref:s(M).ref,style:d(s(I).length>s(W)?s(z):{}),onScroll:l[0]||(l[0]=(...e)=>s(M).onScroll&&s(M).onScroll(...e))},[c("section",{style:d(s(q).style)},[(r(!0),i(n,null,u(s(I),(e=>(r(),i("div",{class:"select-person__multiple-search",key:e.data.key},[c("div",{class:h(["search_item user_item",e.data.disabled?"search_disabled":""]),onClick:t=>V(e.data)},[c("span",b,[p(o(e.data.title)+" ",1),c("span",{class:"user_item_expand",title:e.data.title_expand_strs},o(e.data.title_expand_strs),9,x)]),c("span",D,o(e.data.tempTitle),1)],10,C)])))),128))],4)],36)])):f("v-if",!0),s(B).length>0?(r(),i("div",O,[c("h4",$,o(null==(y=e.searchFilter)?void 0:y.customTitles[1]),1),c("section",{class:"person__OrgWrapper",ref:s(J).ref,style:d(s(G).length>s(W)?s(Q):{}),onScroll:l[1]||(l[1]=(...e)=>s(J).onScroll&&s(J).onScroll(...e))},[c("section",{style:d(s(L).style)},[(r(!0),i(n,null,u(s(G),(e=>(r(),i("div",{class:"select-person__multiple-search",key:e.data.key},[c("div",{class:h(["search_item",e.data.disabled?"search_disabled":""]),onClick:t=>V(e.data)},[c("span",T,o(e.data.title)+"("+o(e.data.innerItemsNum)+"人)",1),c("span",A,o(e.data.tempTitle),1)],10,F)])))),128))],4)],36)])):f("v-if",!0)],64)):(r(),v(s(m),{key:1,description:"暂无数据"}))])}}});export{K as default};
|
|
@@ -2320,7 +2320,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2320
2320
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2321
2321
|
clearSpan: (uuid: string) => void;
|
|
2322
2322
|
exposeEvent: {
|
|
2323
|
-
validate(path?: string, { force }?: {
|
|
2323
|
+
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
2324
2324
|
force?: boolean | undefined;
|
|
2325
2325
|
}): Promise<void>;
|
|
2326
2326
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -2322,7 +2322,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2322
2322
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2323
2323
|
clearSpan: (uuid: string) => void;
|
|
2324
2324
|
exposeEvent: {
|
|
2325
|
-
validate(path?: string, { force }?: {
|
|
2325
|
+
validate(path?: string | ((field: import("../../../../es/components/form-render").Field<any, any, any, any>) => boolean), { force }?: {
|
|
2326
2326
|
force?: boolean | undefined;
|
|
2327
2327
|
}): Promise<void>;
|
|
2328
2328
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
@@ -103,6 +103,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
onConfirm: {
|
|
104
104
|
type: FunctionConstructor;
|
|
105
105
|
};
|
|
106
|
+
formattedValue: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
placeholder: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
};
|
|
112
|
+
allowedInvalidValue: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
};
|
|
106
115
|
}, {
|
|
107
116
|
attrs: {
|
|
108
117
|
[x: string]: unknown;
|
|
@@ -114,9 +123,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
123
|
onConfirm: {
|
|
115
124
|
type: FunctionConstructor;
|
|
116
125
|
};
|
|
117
|
-
|
|
126
|
+
formattedValue: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
};
|
|
129
|
+
placeholder: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
};
|
|
132
|
+
allowedInvalidValue: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
};
|
|
135
|
+
}>> & {
|
|
136
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
}>>;
|
|
138
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
118
139
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
119
140
|
panelInstRef: import("vue").Ref<null>;
|
|
141
|
+
placeholderRef: import("vue").Ref<any>;
|
|
142
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
120
143
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
121
144
|
formatRef: import("vue").ComputedRef<string>;
|
|
122
145
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -125,15 +148,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
148
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
126
149
|
onUpdateShow: (show: boolean) => void;
|
|
127
150
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
151
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
128
152
|
NDatePicker: any;
|
|
129
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
153
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
154
|
updateUnchangedValue: {
|
|
131
155
|
type: BooleanConstructor;
|
|
132
156
|
};
|
|
133
157
|
onConfirm: {
|
|
134
158
|
type: FunctionConstructor;
|
|
135
159
|
};
|
|
136
|
-
|
|
160
|
+
formattedValue: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
placeholder: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
};
|
|
166
|
+
allowedInvalidValue: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
169
|
+
}>> & {
|
|
170
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
171
|
+
}, {
|
|
137
172
|
updateUnchangedValue: boolean;
|
|
138
173
|
}>>;
|
|
139
174
|
NSelect: any;
|
|
@@ -696,6 +731,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
696
731
|
onConfirm: {
|
|
697
732
|
type: FunctionConstructor;
|
|
698
733
|
};
|
|
734
|
+
formattedValue: {
|
|
735
|
+
type: StringConstructor;
|
|
736
|
+
};
|
|
737
|
+
placeholder: {
|
|
738
|
+
type: StringConstructor;
|
|
739
|
+
};
|
|
740
|
+
allowedInvalidValue: {
|
|
741
|
+
type: StringConstructor;
|
|
742
|
+
};
|
|
699
743
|
}, {
|
|
700
744
|
attrs: {
|
|
701
745
|
[x: string]: unknown;
|
|
@@ -707,9 +751,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
707
751
|
onConfirm: {
|
|
708
752
|
type: FunctionConstructor;
|
|
709
753
|
};
|
|
710
|
-
|
|
754
|
+
formattedValue: {
|
|
755
|
+
type: StringConstructor;
|
|
756
|
+
};
|
|
757
|
+
placeholder: {
|
|
758
|
+
type: StringConstructor;
|
|
759
|
+
};
|
|
760
|
+
allowedInvalidValue: {
|
|
761
|
+
type: StringConstructor;
|
|
762
|
+
};
|
|
763
|
+
}>> & {
|
|
764
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
765
|
+
}>>;
|
|
766
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
711
767
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
712
768
|
panelInstRef: import("vue").Ref<null>;
|
|
769
|
+
placeholderRef: import("vue").Ref<any>;
|
|
770
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
713
771
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
714
772
|
formatRef: import("vue").ComputedRef<string>;
|
|
715
773
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -718,15 +776,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
718
776
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
719
777
|
onUpdateShow: (show: boolean) => void;
|
|
720
778
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
779
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
721
780
|
NDatePicker: any;
|
|
722
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
781
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
723
782
|
updateUnchangedValue: {
|
|
724
783
|
type: BooleanConstructor;
|
|
725
784
|
};
|
|
726
785
|
onConfirm: {
|
|
727
786
|
type: FunctionConstructor;
|
|
728
787
|
};
|
|
729
|
-
|
|
788
|
+
formattedValue: {
|
|
789
|
+
type: StringConstructor;
|
|
790
|
+
};
|
|
791
|
+
placeholder: {
|
|
792
|
+
type: StringConstructor;
|
|
793
|
+
};
|
|
794
|
+
allowedInvalidValue: {
|
|
795
|
+
type: StringConstructor;
|
|
796
|
+
};
|
|
797
|
+
}>> & {
|
|
798
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
799
|
+
}, {
|
|
730
800
|
updateUnchangedValue: boolean;
|
|
731
801
|
}>>;
|
|
732
802
|
WidgetValEnums: {
|
|
@@ -60,6 +60,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
onConfirm: {
|
|
61
61
|
type: FunctionConstructor;
|
|
62
62
|
};
|
|
63
|
+
formattedValue: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
placeholder: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
63
72
|
}, {
|
|
64
73
|
attrs: {
|
|
65
74
|
[x: string]: unknown;
|
|
@@ -71,9 +80,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
80
|
onConfirm: {
|
|
72
81
|
type: FunctionConstructor;
|
|
73
82
|
};
|
|
74
|
-
|
|
83
|
+
formattedValue: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
};
|
|
86
|
+
placeholder: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
};
|
|
89
|
+
allowedInvalidValue: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
92
|
+
}>> & {
|
|
93
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
}>>;
|
|
95
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
75
96
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
76
97
|
panelInstRef: import("vue").Ref<null>;
|
|
98
|
+
placeholderRef: import("vue").Ref<any>;
|
|
99
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
77
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
78
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
79
102
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -82,15 +105,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
105
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
83
106
|
onUpdateShow: (show: boolean) => void;
|
|
84
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
108
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
85
109
|
NDatePicker: any;
|
|
86
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
111
|
updateUnchangedValue: {
|
|
88
112
|
type: BooleanConstructor;
|
|
89
113
|
};
|
|
90
114
|
onConfirm: {
|
|
91
115
|
type: FunctionConstructor;
|
|
92
116
|
};
|
|
93
|
-
|
|
117
|
+
formattedValue: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
placeholder: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
allowedInvalidValue: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
};
|
|
126
|
+
}>> & {
|
|
127
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
}, {
|
|
94
129
|
updateUnchangedValue: boolean;
|
|
95
130
|
}>>;
|
|
96
131
|
NSelect: any;
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -73,6 +73,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
onConfirm: {
|
|
74
74
|
type: FunctionConstructor;
|
|
75
75
|
};
|
|
76
|
+
formattedValue: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
placeholder: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
};
|
|
82
|
+
allowedInvalidValue: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
76
85
|
}, {
|
|
77
86
|
attrs: {
|
|
78
87
|
[x: string]: unknown;
|
|
@@ -84,9 +93,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
93
|
onConfirm: {
|
|
85
94
|
type: FunctionConstructor;
|
|
86
95
|
};
|
|
87
|
-
|
|
96
|
+
formattedValue: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
};
|
|
99
|
+
placeholder: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
allowedInvalidValue: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
105
|
+
}>> & {
|
|
106
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}>>;
|
|
108
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
88
109
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
89
110
|
panelInstRef: import("vue").Ref<null>;
|
|
111
|
+
placeholderRef: import("vue").Ref<any>;
|
|
112
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
90
113
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
91
114
|
formatRef: import("vue").ComputedRef<string>;
|
|
92
115
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -95,15 +118,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
118
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
96
119
|
onUpdateShow: (show: boolean) => void;
|
|
97
120
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
121
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
98
122
|
NDatePicker: any;
|
|
99
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
123
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
124
|
updateUnchangedValue: {
|
|
101
125
|
type: BooleanConstructor;
|
|
102
126
|
};
|
|
103
127
|
onConfirm: {
|
|
104
128
|
type: FunctionConstructor;
|
|
105
129
|
};
|
|
106
|
-
|
|
130
|
+
formattedValue: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
};
|
|
133
|
+
placeholder: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
};
|
|
136
|
+
allowedInvalidValue: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
};
|
|
139
|
+
}>> & {
|
|
140
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
}, {
|
|
107
142
|
updateUnchangedValue: boolean;
|
|
108
143
|
}>>;
|
|
109
144
|
WidgetValEnums: {
|
|
@@ -60,6 +60,15 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
60
60
|
onConfirm: {
|
|
61
61
|
type: FunctionConstructor;
|
|
62
62
|
};
|
|
63
|
+
formattedValue: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
placeholder: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
};
|
|
69
|
+
allowedInvalidValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
63
72
|
}, {
|
|
64
73
|
attrs: {
|
|
65
74
|
[x: string]: unknown;
|
|
@@ -71,9 +80,23 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
71
80
|
onConfirm: {
|
|
72
81
|
type: FunctionConstructor;
|
|
73
82
|
};
|
|
74
|
-
|
|
83
|
+
formattedValue: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
};
|
|
86
|
+
placeholder: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
};
|
|
89
|
+
allowedInvalidValue: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
92
|
+
}>> & {
|
|
93
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
}>>;
|
|
95
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
75
96
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
76
97
|
panelInstRef: import("vue").Ref<null>;
|
|
98
|
+
placeholderRef: import("vue").Ref<any>;
|
|
99
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
77
100
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
78
101
|
formatRef: import("vue").ComputedRef<string>;
|
|
79
102
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -82,15 +105,27 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
82
105
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
83
106
|
onUpdateShow: (show: boolean) => void;
|
|
84
107
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
108
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
85
109
|
NDatePicker: any;
|
|
86
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
111
|
updateUnchangedValue: {
|
|
88
112
|
type: BooleanConstructor;
|
|
89
113
|
};
|
|
90
114
|
onConfirm: {
|
|
91
115
|
type: FunctionConstructor;
|
|
92
116
|
};
|
|
93
|
-
|
|
117
|
+
formattedValue: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
placeholder: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
allowedInvalidValue: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
};
|
|
126
|
+
}>> & {
|
|
127
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
}, {
|
|
94
129
|
updateUnchangedValue: boolean;
|
|
95
130
|
}>>;
|
|
96
131
|
NSelect: any;
|
|
@@ -653,6 +688,15 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
653
688
|
onConfirm: {
|
|
654
689
|
type: FunctionConstructor;
|
|
655
690
|
};
|
|
691
|
+
formattedValue: {
|
|
692
|
+
type: StringConstructor;
|
|
693
|
+
};
|
|
694
|
+
placeholder: {
|
|
695
|
+
type: StringConstructor;
|
|
696
|
+
};
|
|
697
|
+
allowedInvalidValue: {
|
|
698
|
+
type: StringConstructor;
|
|
699
|
+
};
|
|
656
700
|
}, {
|
|
657
701
|
attrs: {
|
|
658
702
|
[x: string]: unknown;
|
|
@@ -664,9 +708,23 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
664
708
|
onConfirm: {
|
|
665
709
|
type: FunctionConstructor;
|
|
666
710
|
};
|
|
667
|
-
|
|
711
|
+
formattedValue: {
|
|
712
|
+
type: StringConstructor;
|
|
713
|
+
};
|
|
714
|
+
placeholder: {
|
|
715
|
+
type: StringConstructor;
|
|
716
|
+
};
|
|
717
|
+
allowedInvalidValue: {
|
|
718
|
+
type: StringConstructor;
|
|
719
|
+
};
|
|
720
|
+
}>> & {
|
|
721
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
722
|
+
}>>;
|
|
723
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
668
724
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
669
725
|
panelInstRef: import("vue").Ref<null>;
|
|
726
|
+
placeholderRef: import("vue").Ref<any>;
|
|
727
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
670
728
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
671
729
|
formatRef: import("vue").ComputedRef<string>;
|
|
672
730
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -675,15 +733,27 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
675
733
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
676
734
|
onUpdateShow: (show: boolean) => void;
|
|
677
735
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
736
|
+
isAllowedInvalidValue: (value?: string) => boolean | "" | undefined;
|
|
678
737
|
NDatePicker: any;
|
|
679
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
738
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
680
739
|
updateUnchangedValue: {
|
|
681
740
|
type: BooleanConstructor;
|
|
682
741
|
};
|
|
683
742
|
onConfirm: {
|
|
684
743
|
type: FunctionConstructor;
|
|
685
744
|
};
|
|
686
|
-
|
|
745
|
+
formattedValue: {
|
|
746
|
+
type: StringConstructor;
|
|
747
|
+
};
|
|
748
|
+
placeholder: {
|
|
749
|
+
type: StringConstructor;
|
|
750
|
+
};
|
|
751
|
+
allowedInvalidValue: {
|
|
752
|
+
type: StringConstructor;
|
|
753
|
+
};
|
|
754
|
+
}>> & {
|
|
755
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
756
|
+
}, {
|
|
687
757
|
updateUnchangedValue: boolean;
|
|
688
758
|
}>>;
|
|
689
759
|
WidgetValEnums: {
|