cnhis-design-vue 3.2.15-beta.9 → 3.2.16-beta.7
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/ai-chat/index.d.ts +9 -0
- package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/branch-notice/index.d.ts +32 -3
- package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
- package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
- package/es/components/branch-notice/src/canstants.js +1 -1
- package/es/components/button-print/index.d.ts +6 -13
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -13
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +6 -13
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +10 -0
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
- package/es/components/classification/index.d.ts +30 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +30 -0
- package/es/components/date-picker/index.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +27 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +27 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +27 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +27 -1
- package/es/components/expand-field/src/index.vue.d.ts +27 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +20 -0
- package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/index.d.ts +1051 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +1051 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +10 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +10 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1029 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +10 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +10 -0
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +10 -0
- package/es/components/form-render/src/components/renderer/input.d.ts +9 -1
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/iho-chat/index.d.ts +477 -102
- package/es/components/iho-chat/src/Index.vue.d.ts +477 -102
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +133 -45
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +183 -18
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +45 -17
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +137 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.js +1 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +1 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +40 -13
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +13 -7
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +11 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +2 -2
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
- package/es/components/iho-chat/src/hooks/useData.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +3 -3
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +13 -2
- package/es/components/iho-chat/src/utils/asyncQueue.d.ts +10 -0
- package/es/components/iho-chat/src/utils/asyncQueue.js +1 -0
- package/es/components/iho-chat/style/iconfont.ttf +0 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
- package/es/components/iho-table/src/types/index.d.ts +14 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +20 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +20 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +10 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +10 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +27 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +15 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/index.vue.d.ts +27 -1
- package/es/components/select-person/src/index.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +10 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +40 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
- package/es/env.d.ts +25 -25
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +4 -0
- package/package.json +2 -2
@@ -844,6 +844,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
844
844
|
type: StringConstructor;
|
845
845
|
default: string;
|
846
846
|
};
|
847
|
+
isDateDisabled: {
|
848
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
849
|
+
};
|
847
850
|
}, {
|
848
851
|
attrs: {
|
849
852
|
[x: string]: unknown;
|
@@ -876,6 +879,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
876
879
|
type: StringConstructor;
|
877
880
|
default: string;
|
878
881
|
};
|
882
|
+
isDateDisabled: {
|
883
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
884
|
+
};
|
879
885
|
}>> & {
|
880
886
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
881
887
|
}>>;
|
@@ -888,6 +894,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
888
894
|
isDateTime: import("vue").ComputedRef<boolean>;
|
889
895
|
formatRef: import("vue").ComputedRef<string>;
|
890
896
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
897
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
891
898
|
focus: () => any;
|
892
899
|
blur: () => any;
|
893
900
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -927,6 +934,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
927
934
|
type: StringConstructor;
|
928
935
|
default: string;
|
929
936
|
};
|
937
|
+
isDateDisabled: {
|
938
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
939
|
+
};
|
930
940
|
}>> & {
|
931
941
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
932
942
|
}, {
|
@@ -1535,6 +1545,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1535
1545
|
type: StringConstructor;
|
1536
1546
|
default: string;
|
1537
1547
|
};
|
1548
|
+
isDateDisabled: {
|
1549
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1550
|
+
};
|
1538
1551
|
}, {
|
1539
1552
|
attrs: {
|
1540
1553
|
[x: string]: unknown;
|
@@ -1567,6 +1580,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1567
1580
|
type: StringConstructor;
|
1568
1581
|
default: string;
|
1569
1582
|
};
|
1583
|
+
isDateDisabled: {
|
1584
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1585
|
+
};
|
1570
1586
|
}>> & {
|
1571
1587
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1572
1588
|
}>>;
|
@@ -1579,6 +1595,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1579
1595
|
isDateTime: import("vue").ComputedRef<boolean>;
|
1580
1596
|
formatRef: import("vue").ComputedRef<string>;
|
1581
1597
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1598
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1582
1599
|
focus: () => any;
|
1583
1600
|
blur: () => any;
|
1584
1601
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -1618,6 +1635,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1618
1635
|
type: StringConstructor;
|
1619
1636
|
default: string;
|
1620
1637
|
};
|
1638
|
+
isDateDisabled: {
|
1639
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1640
|
+
};
|
1621
1641
|
}>> & {
|
1622
1642
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1623
1643
|
}, {
|
@@ -2078,6 +2098,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
2078
2098
|
type: StringConstructor;
|
2079
2099
|
default: string;
|
2080
2100
|
};
|
2101
|
+
isDateDisabled: {
|
2102
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2103
|
+
};
|
2081
2104
|
}, {
|
2082
2105
|
attrs: {
|
2083
2106
|
[x: string]: unknown;
|
@@ -2110,6 +2133,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
2110
2133
|
type: StringConstructor;
|
2111
2134
|
default: string;
|
2112
2135
|
};
|
2136
|
+
isDateDisabled: {
|
2137
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2138
|
+
};
|
2113
2139
|
}>> & {
|
2114
2140
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
2115
2141
|
}>>;
|
@@ -2122,6 +2148,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
2122
2148
|
isDateTime: import("vue").ComputedRef<boolean>;
|
2123
2149
|
formatRef: import("vue").ComputedRef<string>;
|
2124
2150
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
2151
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
2125
2152
|
focus: () => any;
|
2126
2153
|
blur: () => any;
|
2127
2154
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -2161,6 +2188,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
2161
2188
|
type: StringConstructor;
|
2162
2189
|
default: string;
|
2163
2190
|
};
|
2191
|
+
isDateDisabled: {
|
2192
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2193
|
+
};
|
2164
2194
|
}>> & {
|
2165
2195
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
2166
2196
|
}, {
|
@@ -27,6 +27,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
27
27
|
type: StringConstructor;
|
28
28
|
default: string;
|
29
29
|
};
|
30
|
+
isDateDisabled: {
|
31
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
32
|
+
};
|
30
33
|
}, {
|
31
34
|
attrs: {
|
32
35
|
[x: string]: unknown;
|
@@ -59,6 +62,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
59
62
|
type: StringConstructor;
|
60
63
|
default: string;
|
61
64
|
};
|
65
|
+
isDateDisabled: {
|
66
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
67
|
+
};
|
62
68
|
}>> & {
|
63
69
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
64
70
|
}>>;
|
@@ -71,6 +77,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
71
77
|
isDateTime: import("vue").ComputedRef<boolean>;
|
72
78
|
formatRef: import("vue").ComputedRef<string>;
|
73
79
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
80
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
74
81
|
focus: () => any;
|
75
82
|
blur: () => any;
|
76
83
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -110,6 +117,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
110
117
|
type: StringConstructor;
|
111
118
|
default: string;
|
112
119
|
};
|
120
|
+
isDateDisabled: {
|
121
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
122
|
+
};
|
113
123
|
}>> & {
|
114
124
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
115
125
|
}, {
|
@@ -29,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
type: StringConstructor;
|
30
30
|
default: string;
|
31
31
|
};
|
32
|
+
isDateDisabled: {
|
33
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
34
|
+
};
|
32
35
|
}, {
|
33
36
|
attrs: {
|
34
37
|
[x: string]: unknown;
|
@@ -61,6 +64,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
61
64
|
type: StringConstructor;
|
62
65
|
default: string;
|
63
66
|
};
|
67
|
+
isDateDisabled: {
|
68
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
69
|
+
};
|
64
70
|
}>> & {
|
65
71
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
66
72
|
}>>;
|
@@ -73,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
73
79
|
isDateTime: import("vue").ComputedRef<boolean>;
|
74
80
|
formatRef: import("vue").ComputedRef<string>;
|
75
81
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
82
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
76
83
|
focus: () => any;
|
77
84
|
blur: () => any;
|
78
85
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -112,6 +119,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
112
119
|
type: StringConstructor;
|
113
120
|
default: string;
|
114
121
|
};
|
122
|
+
isDateDisabled: {
|
123
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
124
|
+
};
|
115
125
|
}>> & {
|
116
126
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
117
127
|
}, {
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,useAttrs as t,ref as a,computed as l,onBeforeUnmount as n,watch as o,openBlock as r,createBlock as u,unref as
|
1
|
+
import{defineComponent as e,useAttrs as t,ref as a,computed as l,onBeforeUnmount as n,watch as o,openBlock as r,createBlock as u,unref as s,isRef as d,createSlots as i,renderList as p,withCtx as c,renderSlot as y,nextTick as f}from"vue";import{promiseTimeout as v}from"@vueuse/shared";import{NDatePicker as m}from"naive-ui";import"../../../shared/utils/index.js";import{useDateTime as h,handleInputEvent as D}from"../../../shared/hooks/useDateTime.js";import{isArray as g,isEqual as w,isString as b,isFunction as k,isNumber as V}from"lodash-es";import"@vue/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"../../../shared/hooks/useScrollLoading.js";import{subYears as S,addYears as _,isWithinInterval as A,format as I,sub as M,startOfDay as R,endOfDay as C}from"date-fns";var $=e({__name:"DatePicker",props:{updateUnchangedValue:{type:Boolean},onConfirm:{type:Function},formattedValue:{type:[String,Array]},placeholder:{type:String},allowedInvalidValue:{type:String},to:{type:[Object,String,Boolean],default:"body"},holidays:{type:Array,default:()=>[]},type:{type:String,default:"date"},isDateDisabled:{type:Function}},emits:["update:formatted-value"],setup(e,{expose:$,emit:j}){const F=e,P=t(),U=a(null),q=a(null),x=a();let E="";const H=l({get:()=>W(F.formattedValue)?null:F.formattedValue,set(e){g(e)&&g(E)&&w(E,e)||E===e||(j("update:formatted-value",e,b(e)?Date.parse(e):g(e)?[Date.parse(e[0]),Date.parse(e[1])]:null),E=e)}}),L=l((()=>F.type.includes("datetime"))),B=l((()=>Reflect.get(P,"format")?P.format:L.value?"yyyy-MM-dd HH:mm:ss":"month"===F.type?"yyyy-MM":"year"===F.type?"yyyy":"yyyy-MM-dd")),Y=l((()=>L.value?B.value.split(" "):"")),O=l((()=>{const e=e=>{const t=new Date(e),a=new Date,l=S(a,150),n=_(a,150);return!A(t,{start:l,end:n})};return k(F.isDateDisabled)?(t,...a)=>{var l;return(null==(l=F.isDateDisabled)?void 0:l.call(F,t,...a))||e(t)}:e})),{focus:T,blur:z,handleConfirm:G}=h(U,{formatRef:B,attrs:{...P,type:F.type,isDateDisabled:O.value},emit:j,allowedInvalidValue:F.allowedInvalidValue});async function J(e){!async function(e){var t;if(!e||!F.holidays.length)return;await v(0);const a=null==(t=U.value)?void 0:t.panelInstRef;if(!a)return;const l=a.$el;if(!l)return;N(),"daterange"===F.type?K.push(n((()=>a.startDateArray),".n-date-panel-calendar--start .n-date-panel-dates>div"),n((()=>a.endDateArray),".n-date-panel-calendar--end .n-date-panel-dates>div")):"date"===F.type&&K.push(n((()=>a.dateArray),".n-date-panel-calendar .n-date-panel-dates>div"));function n(e,t){const a=[],n=o(e,(e=>{a.forEach((e=>e.classList.remove("c-date-picker__holiday"))),a.length=0,g(e)&&Array.from(l.querySelectorAll(t)).forEach(((t,l)=>{const{ts:n}=e[l]||{};if(!V(n))return;const o=new Date(n);F.holidays.some((e=>e.getDate()===o.getDate()&&e.getMonth()===o.getMonth()&&e.getFullYear()===o.getFullYear()))&&(f((()=>t.classList.add("c-date-picker__holiday"))),a.push(t))}))}),{immediate:!0,deep:!0});return()=>{n(),a.length=0}}}(e),e&&L.value&&(await f(),async function e(t=0){var a;t>2||(q.value=null==(a=U.value)?void 0:a.panelInstRef,q.value?h(q,{formatRef:Y,attrs:{...P,type:F.type,isDateDisabled:O.value},isPanel:!0}):(await f(),e(++t)))}())}const K=[];function N(){K.forEach((e=>e())),K.length=0}async function Q(...e){var t,a,l,n,o,r;const u=null==(n=null==(l=null==(a=null==(t=U.value)?void 0:t.inputInstRef)?void 0:a.$el)?void 0:l.querySelector)?void 0:n.call(l,"input");if(F.type.includes("range")?null==(o=F.onConfirm)||o.call(F,...e):(await f(),u.focus(),G(u),u.blur(),null==(r=F.onConfirm)||r.call(F,Date.parse(u.value),u.value)),!(null==u?void 0:u.value)||!F.updateUnchangedValue||F.type.includes("range"))return;const s=u.value;D(u,I(new Date,B.value)),D(u,s)}function W(e){return F.allowedInvalidValue&&F.allowedInvalidValue===e}return n(N),o((()=>F.formattedValue),(e=>{x.value=W(e)?e:F.placeholder?F.placeholder:"选择日期时间",W(e)||(E=e)}),{immediate:!0}),$({$datePicker:U,focus:T,blur:z,setShortcutValue:async function(e){if(!F.type||!F.type.includes("range")||!U.value)return;const t=U.value.$el.querySelectorAll(".n-input__input-el");let a,l;const n=new Date;if("week"===e){const e=M(n,{weeks:1});a=I(R(e),B.value)}else{const e=M(n,{months:1});a=I(R(e),B.value)}l=I(C(n),B.value),D(t[0],a),await f(),D(t[1],l)}}),(t,a)=>(r(),u(s(m),{ref_key:"datePickerRef",ref:U,"onUpdate:show":J,onConfirm:Q,placeholder:x.value,to:e.to,type:e.type,"formatted-value":s(H),"onUpdate:formatted-value":a[0]||(a[0]=e=>d(H)?H.value=e:null),"is-date-disabled":s(O)},i({_:2},[p(t.$slots,((e,a)=>({name:a,fn:c((()=>[y(t.$slots,a)]))})))]),1032,["placeholder","to","type","formatted-value","is-date-disabled"]))}});export{$ as default};
|
@@ -521,6 +521,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
521
521
|
forceShowSelectAll: {
|
522
522
|
type: BooleanConstructor;
|
523
523
|
};
|
524
|
+
uncheckableField: {
|
525
|
+
type: StringConstructor;
|
526
|
+
};
|
524
527
|
}, {
|
525
528
|
$attrs: {
|
526
529
|
[x: string]: unknown;
|
@@ -626,6 +629,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
626
629
|
forceShowSelectAll: {
|
627
630
|
type: BooleanConstructor;
|
628
631
|
};
|
632
|
+
uncheckableField: {
|
633
|
+
type: StringConstructor;
|
634
|
+
};
|
629
635
|
}>> & {
|
630
636
|
onCheck?: ((...args: any[]) => any) | undefined;
|
631
637
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1077,6 +1083,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1077
1083
|
forceShowSelectAll: {
|
1078
1084
|
type: BooleanConstructor;
|
1079
1085
|
};
|
1086
|
+
uncheckableField: {
|
1087
|
+
type: StringConstructor;
|
1088
|
+
};
|
1080
1089
|
}, {
|
1081
1090
|
searchFilterBase: {
|
1082
1091
|
isOpen: boolean;
|
@@ -1178,6 +1187,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1178
1187
|
forceShowSelectAll: {
|
1179
1188
|
type: BooleanConstructor;
|
1180
1189
|
};
|
1190
|
+
uncheckableField: {
|
1191
|
+
type: StringConstructor;
|
1192
|
+
};
|
1181
1193
|
}>> & {}>>;
|
1182
1194
|
emit: any;
|
1183
1195
|
keyword: import("vue").Ref<string>;
|
@@ -1204,7 +1216,6 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1204
1216
|
key: string | number;
|
1205
1217
|
}[]>;
|
1206
1218
|
isSearch: import("vue").Ref<boolean>;
|
1207
|
-
tempData: import("naive-ui").TreeOption[];
|
1208
1219
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
1209
1220
|
isRemote: import("vue").ComputedRef<boolean>;
|
1210
1221
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -1217,6 +1228,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1217
1228
|
itemHeight: number;
|
1218
1229
|
}>;
|
1219
1230
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
1231
|
+
styleObject: import("vue").ComputedRef<{
|
1232
|
+
height: string;
|
1233
|
+
}>;
|
1220
1234
|
caculateTagData: import("vue").ComputedRef<any>;
|
1221
1235
|
treeDataMiddle: any;
|
1222
1236
|
checkedKeysMiddle: any;
|
@@ -1235,6 +1249,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1235
1249
|
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
1236
1250
|
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1237
1251
|
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1252
|
+
setAllCheckedKeysWithAll: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1238
1253
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
|
1239
1254
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
1240
1255
|
renderLabel: ({ option }: {
|
@@ -1249,6 +1264,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1249
1264
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1250
1265
|
setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1251
1266
|
setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1267
|
+
setCheckdWithAll: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1252
1268
|
checkedAllChange: (checked: boolean) => void;
|
1253
1269
|
uniq: (arr: {
|
1254
1270
|
[key: string]: any;
|
@@ -1268,6 +1284,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1268
1284
|
notifyCheck: (keys: (string | number)[]) => void;
|
1269
1285
|
notifySearchClear: () => void;
|
1270
1286
|
getCheckWithLevel: () => any;
|
1287
|
+
resetParams: () => void;
|
1271
1288
|
NButton: any;
|
1272
1289
|
NInput: any;
|
1273
1290
|
NInputGroup: any;
|
@@ -1596,6 +1613,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1596
1613
|
forceShowSelectAll: {
|
1597
1614
|
type: BooleanConstructor;
|
1598
1615
|
};
|
1616
|
+
uncheckableField: {
|
1617
|
+
type: StringConstructor;
|
1618
|
+
};
|
1599
1619
|
}>>, {
|
1600
1620
|
data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[];
|
1601
1621
|
defaultList: ((string | number) | {
|
@@ -1730,6 +1750,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1730
1750
|
forceShowSelectAll: {
|
1731
1751
|
type: BooleanConstructor;
|
1732
1752
|
};
|
1753
|
+
uncheckableField: {
|
1754
|
+
type: StringConstructor;
|
1755
|
+
};
|
1733
1756
|
}>> & {
|
1734
1757
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1735
1758
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1839,6 +1862,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
1839
1862
|
forceShowSelectAll: {
|
1840
1863
|
type: BooleanConstructor;
|
1841
1864
|
};
|
1865
|
+
uncheckableField: {
|
1866
|
+
type: StringConstructor;
|
1867
|
+
};
|
1842
1868
|
}>> & {
|
1843
1869
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1844
1870
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -195,6 +195,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
195
195
|
forceShowSelectAll: {
|
196
196
|
type: BooleanConstructor;
|
197
197
|
};
|
198
|
+
uncheckableField: {
|
199
|
+
type: StringConstructor;
|
200
|
+
};
|
198
201
|
}, {
|
199
202
|
$attrs: {
|
200
203
|
[x: string]: unknown;
|
@@ -300,6 +303,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
300
303
|
forceShowSelectAll: {
|
301
304
|
type: BooleanConstructor;
|
302
305
|
};
|
306
|
+
uncheckableField: {
|
307
|
+
type: StringConstructor;
|
308
|
+
};
|
303
309
|
}>> & {
|
304
310
|
onCheck?: ((...args: any[]) => any) | undefined;
|
305
311
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -751,6 +757,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
751
757
|
forceShowSelectAll: {
|
752
758
|
type: BooleanConstructor;
|
753
759
|
};
|
760
|
+
uncheckableField: {
|
761
|
+
type: StringConstructor;
|
762
|
+
};
|
754
763
|
}, {
|
755
764
|
searchFilterBase: {
|
756
765
|
isOpen: boolean;
|
@@ -852,6 +861,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
852
861
|
forceShowSelectAll: {
|
853
862
|
type: BooleanConstructor;
|
854
863
|
};
|
864
|
+
uncheckableField: {
|
865
|
+
type: StringConstructor;
|
866
|
+
};
|
855
867
|
}>> & {}>>;
|
856
868
|
emit: any;
|
857
869
|
keyword: import("vue").Ref<string>;
|
@@ -878,7 +890,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
878
890
|
key: string | number;
|
879
891
|
}[]>;
|
880
892
|
isSearch: import("vue").Ref<boolean>;
|
881
|
-
tempData: import("naive-ui").TreeOption[];
|
882
893
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
883
894
|
isRemote: import("vue").ComputedRef<boolean>;
|
884
895
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -891,6 +902,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
891
902
|
itemHeight: number;
|
892
903
|
}>;
|
893
904
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
905
|
+
styleObject: import("vue").ComputedRef<{
|
906
|
+
height: string;
|
907
|
+
}>;
|
894
908
|
caculateTagData: import("vue").ComputedRef<any>;
|
895
909
|
treeDataMiddle: any;
|
896
910
|
checkedKeysMiddle: any;
|
@@ -909,6 +923,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
909
923
|
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
910
924
|
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
911
925
|
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
926
|
+
setAllCheckedKeysWithAll: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
912
927
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
|
913
928
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
914
929
|
renderLabel: ({ option }: {
|
@@ -923,6 +938,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
923
938
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
924
939
|
setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
925
940
|
setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
941
|
+
setCheckdWithAll: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
926
942
|
checkedAllChange: (checked: boolean) => void;
|
927
943
|
uniq: (arr: {
|
928
944
|
[key: string]: any;
|
@@ -942,6 +958,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
942
958
|
notifyCheck: (keys: (string | number)[]) => void;
|
943
959
|
notifySearchClear: () => void;
|
944
960
|
getCheckWithLevel: () => any;
|
961
|
+
resetParams: () => void;
|
945
962
|
NButton: any;
|
946
963
|
NInput: any;
|
947
964
|
NInputGroup: any;
|
@@ -1270,6 +1287,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1270
1287
|
forceShowSelectAll: {
|
1271
1288
|
type: BooleanConstructor;
|
1272
1289
|
};
|
1290
|
+
uncheckableField: {
|
1291
|
+
type: StringConstructor;
|
1292
|
+
};
|
1273
1293
|
}>>, {
|
1274
1294
|
data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[];
|
1275
1295
|
defaultList: ((string | number) | {
|
@@ -1404,6 +1424,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1404
1424
|
forceShowSelectAll: {
|
1405
1425
|
type: BooleanConstructor;
|
1406
1426
|
};
|
1427
|
+
uncheckableField: {
|
1428
|
+
type: StringConstructor;
|
1429
|
+
};
|
1407
1430
|
}>> & {
|
1408
1431
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1409
1432
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1513,6 +1536,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1513
1536
|
forceShowSelectAll: {
|
1514
1537
|
type: BooleanConstructor;
|
1515
1538
|
};
|
1539
|
+
uncheckableField: {
|
1540
|
+
type: StringConstructor;
|
1541
|
+
};
|
1516
1542
|
}>> & {
|
1517
1543
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1518
1544
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -154,6 +154,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
154
154
|
forceShowSelectAll: {
|
155
155
|
type: BooleanConstructor;
|
156
156
|
};
|
157
|
+
uncheckableField: {
|
158
|
+
type: StringConstructor;
|
159
|
+
};
|
157
160
|
}, {
|
158
161
|
$attrs: {
|
159
162
|
[x: string]: unknown;
|
@@ -259,6 +262,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
259
262
|
forceShowSelectAll: {
|
260
263
|
type: BooleanConstructor;
|
261
264
|
};
|
265
|
+
uncheckableField: {
|
266
|
+
type: StringConstructor;
|
267
|
+
};
|
262
268
|
}>> & {
|
263
269
|
onCheck?: ((...args: any[]) => any) | undefined;
|
264
270
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -710,6 +716,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
710
716
|
forceShowSelectAll: {
|
711
717
|
type: BooleanConstructor;
|
712
718
|
};
|
719
|
+
uncheckableField: {
|
720
|
+
type: StringConstructor;
|
721
|
+
};
|
713
722
|
}, {
|
714
723
|
searchFilterBase: {
|
715
724
|
isOpen: boolean;
|
@@ -811,6 +820,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
811
820
|
forceShowSelectAll: {
|
812
821
|
type: BooleanConstructor;
|
813
822
|
};
|
823
|
+
uncheckableField: {
|
824
|
+
type: StringConstructor;
|
825
|
+
};
|
814
826
|
}>> & {}>>;
|
815
827
|
emit: any;
|
816
828
|
keyword: import("vue").Ref<string>;
|
@@ -837,7 +849,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
837
849
|
key: string | number;
|
838
850
|
}[]>;
|
839
851
|
isSearch: import("vue").Ref<boolean>;
|
840
|
-
tempData: import("naive-ui").TreeOption[];
|
841
852
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
842
853
|
isRemote: import("vue").ComputedRef<boolean>;
|
843
854
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -850,6 +861,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
850
861
|
itemHeight: number;
|
851
862
|
}>;
|
852
863
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
864
|
+
styleObject: import("vue").ComputedRef<{
|
865
|
+
height: string;
|
866
|
+
}>;
|
853
867
|
caculateTagData: import("vue").ComputedRef<any>;
|
854
868
|
treeDataMiddle: any;
|
855
869
|
checkedKeysMiddle: any;
|
@@ -868,6 +882,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
868
882
|
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
869
883
|
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
870
884
|
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
885
|
+
setAllCheckedKeysWithAll: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
871
886
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
|
872
887
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
873
888
|
renderLabel: ({ option }: {
|
@@ -882,6 +897,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
882
897
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
883
898
|
setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
884
899
|
setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
900
|
+
setCheckdWithAll: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
885
901
|
checkedAllChange: (checked: boolean) => void;
|
886
902
|
uniq: (arr: {
|
887
903
|
[key: string]: any;
|
@@ -901,6 +917,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
901
917
|
notifyCheck: (keys: (string | number)[]) => void;
|
902
918
|
notifySearchClear: () => void;
|
903
919
|
getCheckWithLevel: () => any;
|
920
|
+
resetParams: () => void;
|
904
921
|
NButton: any;
|
905
922
|
NInput: any;
|
906
923
|
NInputGroup: any;
|
@@ -1229,6 +1246,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1229
1246
|
forceShowSelectAll: {
|
1230
1247
|
type: BooleanConstructor;
|
1231
1248
|
};
|
1249
|
+
uncheckableField: {
|
1250
|
+
type: StringConstructor;
|
1251
|
+
};
|
1232
1252
|
}>>, {
|
1233
1253
|
data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
|
1234
1254
|
defaultList: ((string | number) | {
|
@@ -1363,6 +1383,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1363
1383
|
forceShowSelectAll: {
|
1364
1384
|
type: BooleanConstructor;
|
1365
1385
|
};
|
1386
|
+
uncheckableField: {
|
1387
|
+
type: StringConstructor;
|
1388
|
+
};
|
1366
1389
|
}>> & {
|
1367
1390
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1368
1391
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1472,6 +1495,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1472
1495
|
forceShowSelectAll: {
|
1473
1496
|
type: BooleanConstructor;
|
1474
1497
|
};
|
1498
|
+
uncheckableField: {
|
1499
|
+
type: StringConstructor;
|
1500
|
+
};
|
1475
1501
|
}>> & {
|
1476
1502
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1477
1503
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -465,6 +465,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
465
465
|
forceShowSelectAll: {
|
466
466
|
type: BooleanConstructor;
|
467
467
|
};
|
468
|
+
uncheckableField: {
|
469
|
+
type: StringConstructor;
|
470
|
+
};
|
468
471
|
}, {
|
469
472
|
$attrs: {
|
470
473
|
[x: string]: unknown;
|
@@ -570,6 +573,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
570
573
|
forceShowSelectAll: {
|
571
574
|
type: BooleanConstructor;
|
572
575
|
};
|
576
|
+
uncheckableField: {
|
577
|
+
type: StringConstructor;
|
578
|
+
};
|
573
579
|
}>> & {
|
574
580
|
onCheck?: ((...args: any[]) => any) | undefined;
|
575
581
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1021,6 +1027,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1021
1027
|
forceShowSelectAll: {
|
1022
1028
|
type: BooleanConstructor;
|
1023
1029
|
};
|
1030
|
+
uncheckableField: {
|
1031
|
+
type: StringConstructor;
|
1032
|
+
};
|
1024
1033
|
}, {
|
1025
1034
|
searchFilterBase: {
|
1026
1035
|
isOpen: boolean;
|
@@ -1122,6 +1131,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1122
1131
|
forceShowSelectAll: {
|
1123
1132
|
type: BooleanConstructor;
|
1124
1133
|
};
|
1134
|
+
uncheckableField: {
|
1135
|
+
type: StringConstructor;
|
1136
|
+
};
|
1125
1137
|
}>> & {}>>;
|
1126
1138
|
emit: any;
|
1127
1139
|
keyword: import("vue").Ref<string>;
|
@@ -1148,7 +1160,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
1148
1160
|
key: string | number;
|
1149
1161
|
}[]>;
|
1150
1162
|
isSearch: import("vue").Ref<boolean>;
|
1151
|
-
tempData: import("naive-ui").TreeOption[];
|
1152
1163
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
1153
1164
|
isRemote: import("vue").ComputedRef<boolean>;
|
1154
1165
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -1161,6 +1172,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1161
1172
|
itemHeight: number;
|
1162
1173
|
}>;
|
1163
1174
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
1175
|
+
styleObject: import("vue").ComputedRef<{
|
1176
|
+
height: string;
|
1177
|
+
}>;
|
1164
1178
|
caculateTagData: import("vue").ComputedRef<any>;
|
1165
1179
|
treeDataMiddle: any;
|
1166
1180
|
checkedKeysMiddle: any;
|
@@ -1179,6 +1193,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1179
1193
|
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
1180
1194
|
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1181
1195
|
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1196
|
+
setAllCheckedKeysWithAll: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
1182
1197
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
|
1183
1198
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
1184
1199
|
renderLabel: ({ option }: {
|
@@ -1193,6 +1208,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1193
1208
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1194
1209
|
setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1195
1210
|
setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1211
|
+
setCheckdWithAll: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
1196
1212
|
checkedAllChange: (checked: boolean) => void;
|
1197
1213
|
uniq: (arr: {
|
1198
1214
|
[key: string]: any;
|
@@ -1212,6 +1228,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1212
1228
|
notifyCheck: (keys: (string | number)[]) => void;
|
1213
1229
|
notifySearchClear: () => void;
|
1214
1230
|
getCheckWithLevel: () => any;
|
1231
|
+
resetParams: () => void;
|
1215
1232
|
NButton: any;
|
1216
1233
|
NInput: any;
|
1217
1234
|
NInputGroup: any;
|
@@ -1540,6 +1557,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1540
1557
|
forceShowSelectAll: {
|
1541
1558
|
type: BooleanConstructor;
|
1542
1559
|
};
|
1560
|
+
uncheckableField: {
|
1561
|
+
type: StringConstructor;
|
1562
|
+
};
|
1543
1563
|
}>>, {
|
1544
1564
|
data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
|
1545
1565
|
defaultList: ((string | number) | {
|
@@ -1674,6 +1694,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1674
1694
|
forceShowSelectAll: {
|
1675
1695
|
type: BooleanConstructor;
|
1676
1696
|
};
|
1697
|
+
uncheckableField: {
|
1698
|
+
type: StringConstructor;
|
1699
|
+
};
|
1677
1700
|
}>> & {
|
1678
1701
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1679
1702
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
@@ -1783,6 +1806,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1783
1806
|
forceShowSelectAll: {
|
1784
1807
|
type: BooleanConstructor;
|
1785
1808
|
};
|
1809
|
+
uncheckableField: {
|
1810
|
+
type: StringConstructor;
|
1811
|
+
};
|
1786
1812
|
}>> & {
|
1787
1813
|
onCheck?: ((...args: any[]) => any) | undefined;
|
1788
1814
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|