cnhis-design-vue 3.2.1-beta.1 → 3.2.1-beta.12
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/button-print/index.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +15 -3
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/calendar/index.d.ts +11 -1
- package/es/components/calendar/src/Calendar.vue.d.ts +11 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +267 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/drag-scroll/src/index.d.ts +3 -3
- package/es/components/drag-scroll/src/index.js +1 -1
- package/es/components/drag-scroll/src/types.d.ts +12 -7
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -0
- package/es/components/field-set/src/Index.vue.d.ts +1 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue.d.ts +71 -0
- package/es/components/field-set/src/TableStyle.vue.js +1 -0
- package/es/components/field-set/src/TableStyle.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -0
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/style/index.css +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-render/index.d.ts +1 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +5 -0
- package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/iho-table/index.d.ts +266 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +266 -0
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.d.ts +4 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/types.d.ts +11 -7
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.d.ts +17 -4
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.d.ts +1 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -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/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/search-cascader/index.d.ts +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- 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 +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
- package/es/components/table-export-field/style/index.css +1 -1
- package/es/components/table-export-field/style/table-export-field-iconfont.ttf +0 -0
- 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/table_style_1.png.js +1 -0
- package/es/shared/assets/img/table_style_2.png.js +1 -0
- package/es/shared/assets/img/table_style_3.png.js +1 -0
- package/es/shared/assets/img/table_style_4.png.js +1 -0
- 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/package.json.js +1 -1
- package/es/shared/types/business.d.ts +15 -6
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +3 -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/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
|
@@ -2149,6 +2149,139 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2149
2149
|
isBatchSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2150
2150
|
isSingleSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2151
2151
|
dragScroll?: boolean | undefined;
|
|
2152
|
+
dragScrollConfig?: {
|
|
2153
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
2154
|
+
[x: string]: any;
|
|
2155
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
2156
|
+
name?: string | undefined;
|
|
2157
|
+
template?: string | object | undefined;
|
|
2158
|
+
render?: Function | undefined;
|
|
2159
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
2160
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
2161
|
+
inheritAttrs?: boolean | undefined;
|
|
2162
|
+
emits?: any;
|
|
2163
|
+
expose?: string[] | undefined;
|
|
2164
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
2165
|
+
compilerOptions?: {
|
|
2166
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
2167
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
2168
|
+
comments?: boolean | undefined;
|
|
2169
|
+
delimiters?: [string, string] | undefined;
|
|
2170
|
+
} | undefined;
|
|
2171
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
2172
|
+
__isFragment?: undefined;
|
|
2173
|
+
__isTeleport?: undefined;
|
|
2174
|
+
__isSuspense?: undefined;
|
|
2175
|
+
__defaults?: {} | undefined;
|
|
2176
|
+
compatConfig?: {
|
|
2177
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
2178
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
2179
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
2180
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
2181
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
2182
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2183
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
2184
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
2185
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
2186
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
2187
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
2188
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
2189
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
2190
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
2191
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
2192
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
2193
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2194
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2195
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
2196
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
2197
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
2198
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
2199
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
2200
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
2201
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
2202
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
2203
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2204
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
2205
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
2206
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
2207
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
2208
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
2209
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
2210
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
2211
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
2212
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
2213
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
2214
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
2215
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
2216
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
2217
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
2218
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
2219
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
2222
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
2223
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
2224
|
+
watch?: {
|
|
2225
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
2226
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2227
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
2228
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2229
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
2230
|
+
} | undefined;
|
|
2231
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
2232
|
+
inject?: (string[] | {
|
|
2233
|
+
[x: string]: string | symbol | {
|
|
2234
|
+
from?: string | symbol | undefined;
|
|
2235
|
+
default?: unknown;
|
|
2236
|
+
};
|
|
2237
|
+
[x: symbol]: string | symbol | {
|
|
2238
|
+
from?: string | symbol | undefined;
|
|
2239
|
+
default?: unknown;
|
|
2240
|
+
};
|
|
2241
|
+
}) | undefined;
|
|
2242
|
+
filters?: Record<string, Function> | undefined;
|
|
2243
|
+
mixins?: any[] | undefined;
|
|
2244
|
+
extends?: any;
|
|
2245
|
+
beforeCreate?: (() => void) | undefined;
|
|
2246
|
+
created?: (() => void) | undefined;
|
|
2247
|
+
beforeMount?: (() => void) | undefined;
|
|
2248
|
+
mounted?: (() => void) | undefined;
|
|
2249
|
+
beforeUpdate?: (() => void) | undefined;
|
|
2250
|
+
updated?: (() => void) | undefined;
|
|
2251
|
+
activated?: (() => void) | undefined;
|
|
2252
|
+
deactivated?: (() => void) | undefined;
|
|
2253
|
+
beforeDestroy?: (() => void) | undefined;
|
|
2254
|
+
beforeUnmount?: (() => void) | undefined;
|
|
2255
|
+
destroyed?: (() => void) | undefined;
|
|
2256
|
+
unmounted?: (() => void) | undefined;
|
|
2257
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2258
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2259
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
2260
|
+
delimiters?: [string, string] | undefined;
|
|
2261
|
+
__differentiator?: string | number | symbol | undefined;
|
|
2262
|
+
__isBuiltIn?: boolean | undefined;
|
|
2263
|
+
__file?: string | undefined;
|
|
2264
|
+
__name?: string | undefined;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
changeCursor?: boolean | undefined;
|
|
2267
|
+
scrollTarget?: any;
|
|
2268
|
+
duration?: number | undefined;
|
|
2269
|
+
type?: "px" | "percent" | undefined;
|
|
2270
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
2271
|
+
getScrollState?: ((target: import("..").DragScrollTargetType | undefined) => {
|
|
2272
|
+
scrollTop: number;
|
|
2273
|
+
scrollLeft: number;
|
|
2274
|
+
}) | undefined;
|
|
2275
|
+
setScrollState?: ((target: import("..").DragScrollTargetType | undefined, state: {
|
|
2276
|
+
scrollTarget: any;
|
|
2277
|
+
scrollTop: number;
|
|
2278
|
+
scrollLeft: number;
|
|
2279
|
+
offsetX: number;
|
|
2280
|
+
offsetY: number;
|
|
2281
|
+
startScrollX: number;
|
|
2282
|
+
startScrollY: number;
|
|
2283
|
+
}) => void) | undefined;
|
|
2284
|
+
} | undefined;
|
|
2152
2285
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
2153
2286
|
rowDraggable?: boolean | undefined;
|
|
2154
2287
|
showSeq?: boolean | undefined;
|
|
@@ -4613,6 +4746,139 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4613
4746
|
isBatchSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4614
4747
|
isSingleSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4615
4748
|
dragScroll?: boolean | undefined;
|
|
4749
|
+
dragScrollConfig?: {
|
|
4750
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
4751
|
+
[x: string]: any;
|
|
4752
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
4753
|
+
name?: string | undefined;
|
|
4754
|
+
template?: string | object | undefined;
|
|
4755
|
+
render?: Function | undefined;
|
|
4756
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
4757
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
4758
|
+
inheritAttrs?: boolean | undefined;
|
|
4759
|
+
emits?: any;
|
|
4760
|
+
expose?: string[] | undefined;
|
|
4761
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
4762
|
+
compilerOptions?: {
|
|
4763
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
4764
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
4765
|
+
comments?: boolean | undefined;
|
|
4766
|
+
delimiters?: [string, string] | undefined;
|
|
4767
|
+
} | undefined;
|
|
4768
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
4769
|
+
__isFragment?: undefined;
|
|
4770
|
+
__isTeleport?: undefined;
|
|
4771
|
+
__isSuspense?: undefined;
|
|
4772
|
+
__defaults?: {} | undefined;
|
|
4773
|
+
compatConfig?: {
|
|
4774
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
4775
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
4776
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
4777
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
4778
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
4779
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4780
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
4781
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
4782
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
4783
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
4784
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
4785
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
4786
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
4787
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
4788
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
4789
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
4790
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4791
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4792
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
4793
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
4794
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
4795
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
4796
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
4797
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
4798
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
4799
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
4800
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4801
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
4802
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
4803
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
4804
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
4805
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
4806
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
4807
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
4808
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
4809
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
4810
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
4811
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
4812
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
4813
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
4814
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
4815
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
4816
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
4817
|
+
} | undefined;
|
|
4818
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
4819
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
4820
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
4821
|
+
watch?: {
|
|
4822
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
4823
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4824
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
4825
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4826
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
4827
|
+
} | undefined;
|
|
4828
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
4829
|
+
inject?: (string[] | {
|
|
4830
|
+
[x: string]: string | symbol | {
|
|
4831
|
+
from?: string | symbol | undefined;
|
|
4832
|
+
default?: unknown;
|
|
4833
|
+
};
|
|
4834
|
+
[x: symbol]: string | symbol | {
|
|
4835
|
+
from?: string | symbol | undefined;
|
|
4836
|
+
default?: unknown;
|
|
4837
|
+
};
|
|
4838
|
+
}) | undefined;
|
|
4839
|
+
filters?: Record<string, Function> | undefined;
|
|
4840
|
+
mixins?: any[] | undefined;
|
|
4841
|
+
extends?: any;
|
|
4842
|
+
beforeCreate?: (() => void) | undefined;
|
|
4843
|
+
created?: (() => void) | undefined;
|
|
4844
|
+
beforeMount?: (() => void) | undefined;
|
|
4845
|
+
mounted?: (() => void) | undefined;
|
|
4846
|
+
beforeUpdate?: (() => void) | undefined;
|
|
4847
|
+
updated?: (() => void) | undefined;
|
|
4848
|
+
activated?: (() => void) | undefined;
|
|
4849
|
+
deactivated?: (() => void) | undefined;
|
|
4850
|
+
beforeDestroy?: (() => void) | undefined;
|
|
4851
|
+
beforeUnmount?: (() => void) | undefined;
|
|
4852
|
+
destroyed?: (() => void) | undefined;
|
|
4853
|
+
unmounted?: (() => void) | undefined;
|
|
4854
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4855
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4856
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
4857
|
+
delimiters?: [string, string] | undefined;
|
|
4858
|
+
__differentiator?: string | number | symbol | undefined;
|
|
4859
|
+
__isBuiltIn?: boolean | undefined;
|
|
4860
|
+
__file?: string | undefined;
|
|
4861
|
+
__name?: string | undefined;
|
|
4862
|
+
} | undefined;
|
|
4863
|
+
changeCursor?: boolean | undefined;
|
|
4864
|
+
scrollTarget?: any;
|
|
4865
|
+
duration?: number | undefined;
|
|
4866
|
+
type?: "px" | "percent" | undefined;
|
|
4867
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
4868
|
+
getScrollState?: ((target: import("..").DragScrollTargetType | undefined) => {
|
|
4869
|
+
scrollTop: number;
|
|
4870
|
+
scrollLeft: number;
|
|
4871
|
+
}) | undefined;
|
|
4872
|
+
setScrollState?: ((target: import("..").DragScrollTargetType | undefined, state: {
|
|
4873
|
+
scrollTarget: any;
|
|
4874
|
+
scrollTop: number;
|
|
4875
|
+
scrollLeft: number;
|
|
4876
|
+
offsetX: number;
|
|
4877
|
+
offsetY: number;
|
|
4878
|
+
startScrollX: number;
|
|
4879
|
+
startScrollY: number;
|
|
4880
|
+
}) => void) | undefined;
|
|
4881
|
+
} | undefined;
|
|
4616
4882
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
4617
4883
|
rowDraggable?: boolean | undefined;
|
|
4618
4884
|
showSeq?: boolean | undefined;
|
|
@@ -2150,6 +2150,139 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2150
2150
|
isBatchSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2151
2151
|
isSingleSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2152
2152
|
dragScroll?: boolean | undefined;
|
|
2153
|
+
dragScrollConfig?: {
|
|
2154
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
2155
|
+
[x: string]: any;
|
|
2156
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
2157
|
+
name?: string | undefined;
|
|
2158
|
+
template?: string | object | undefined;
|
|
2159
|
+
render?: Function | undefined;
|
|
2160
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
2161
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
2162
|
+
inheritAttrs?: boolean | undefined;
|
|
2163
|
+
emits?: any;
|
|
2164
|
+
expose?: string[] | undefined;
|
|
2165
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
2166
|
+
compilerOptions?: {
|
|
2167
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
2168
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
2169
|
+
comments?: boolean | undefined;
|
|
2170
|
+
delimiters?: [string, string] | undefined;
|
|
2171
|
+
} | undefined;
|
|
2172
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
2173
|
+
__isFragment?: undefined;
|
|
2174
|
+
__isTeleport?: undefined;
|
|
2175
|
+
__isSuspense?: undefined;
|
|
2176
|
+
__defaults?: {} | undefined;
|
|
2177
|
+
compatConfig?: {
|
|
2178
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
2179
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
2180
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
2181
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
2182
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
2183
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2184
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
2185
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
2186
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
2187
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
2188
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
2189
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
2190
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
2191
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
2192
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
2193
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
2194
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2195
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2196
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
2197
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
2198
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
2199
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
2200
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
2201
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
2202
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
2203
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
2204
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2205
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
2206
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
2207
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
2208
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
2209
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
2210
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
2211
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
2212
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
2213
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
2214
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
2215
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
2216
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
2217
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
2218
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
2219
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
2220
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
2221
|
+
} | undefined;
|
|
2222
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
2223
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
2224
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
2225
|
+
watch?: {
|
|
2226
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
2227
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2228
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
2229
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2230
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
2231
|
+
} | undefined;
|
|
2232
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
2233
|
+
inject?: (string[] | {
|
|
2234
|
+
[x: string]: string | symbol | {
|
|
2235
|
+
from?: string | symbol | undefined;
|
|
2236
|
+
default?: unknown;
|
|
2237
|
+
};
|
|
2238
|
+
[x: symbol]: string | symbol | {
|
|
2239
|
+
from?: string | symbol | undefined;
|
|
2240
|
+
default?: unknown;
|
|
2241
|
+
};
|
|
2242
|
+
}) | undefined;
|
|
2243
|
+
filters?: Record<string, Function> | undefined;
|
|
2244
|
+
mixins?: any[] | undefined;
|
|
2245
|
+
extends?: any;
|
|
2246
|
+
beforeCreate?: (() => void) | undefined;
|
|
2247
|
+
created?: (() => void) | undefined;
|
|
2248
|
+
beforeMount?: (() => void) | undefined;
|
|
2249
|
+
mounted?: (() => void) | undefined;
|
|
2250
|
+
beforeUpdate?: (() => void) | undefined;
|
|
2251
|
+
updated?: (() => void) | undefined;
|
|
2252
|
+
activated?: (() => void) | undefined;
|
|
2253
|
+
deactivated?: (() => void) | undefined;
|
|
2254
|
+
beforeDestroy?: (() => void) | undefined;
|
|
2255
|
+
beforeUnmount?: (() => void) | undefined;
|
|
2256
|
+
destroyed?: (() => void) | undefined;
|
|
2257
|
+
unmounted?: (() => void) | undefined;
|
|
2258
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2259
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2260
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
2261
|
+
delimiters?: [string, string] | undefined;
|
|
2262
|
+
__differentiator?: string | number | symbol | undefined;
|
|
2263
|
+
__isBuiltIn?: boolean | undefined;
|
|
2264
|
+
__file?: string | undefined;
|
|
2265
|
+
__name?: string | undefined;
|
|
2266
|
+
} | undefined;
|
|
2267
|
+
changeCursor?: boolean | undefined;
|
|
2268
|
+
scrollTarget?: any;
|
|
2269
|
+
duration?: number | undefined;
|
|
2270
|
+
type?: "px" | "percent" | undefined;
|
|
2271
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
2272
|
+
getScrollState?: ((target: import("../..").DragScrollTargetType | undefined) => {
|
|
2273
|
+
scrollTop: number;
|
|
2274
|
+
scrollLeft: number;
|
|
2275
|
+
}) | undefined;
|
|
2276
|
+
setScrollState?: ((target: import("../..").DragScrollTargetType | undefined, state: {
|
|
2277
|
+
scrollTarget: any;
|
|
2278
|
+
scrollTop: number;
|
|
2279
|
+
scrollLeft: number;
|
|
2280
|
+
offsetX: number;
|
|
2281
|
+
offsetY: number;
|
|
2282
|
+
startScrollX: number;
|
|
2283
|
+
startScrollY: number;
|
|
2284
|
+
}) => void) | undefined;
|
|
2285
|
+
} | undefined;
|
|
2153
2286
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
2154
2287
|
rowDraggable?: boolean | undefined;
|
|
2155
2288
|
showSeq?: boolean | undefined;
|
|
@@ -4614,6 +4747,139 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4614
4747
|
isBatchSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4615
4748
|
isSingleSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4616
4749
|
dragScroll?: boolean | undefined;
|
|
4750
|
+
dragScrollConfig?: {
|
|
4751
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
4752
|
+
[x: string]: any;
|
|
4753
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
4754
|
+
name?: string | undefined;
|
|
4755
|
+
template?: string | object | undefined;
|
|
4756
|
+
render?: Function | undefined;
|
|
4757
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
4758
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
4759
|
+
inheritAttrs?: boolean | undefined;
|
|
4760
|
+
emits?: any;
|
|
4761
|
+
expose?: string[] | undefined;
|
|
4762
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
4763
|
+
compilerOptions?: {
|
|
4764
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
4765
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
4766
|
+
comments?: boolean | undefined;
|
|
4767
|
+
delimiters?: [string, string] | undefined;
|
|
4768
|
+
} | undefined;
|
|
4769
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
4770
|
+
__isFragment?: undefined;
|
|
4771
|
+
__isTeleport?: undefined;
|
|
4772
|
+
__isSuspense?: undefined;
|
|
4773
|
+
__defaults?: {} | undefined;
|
|
4774
|
+
compatConfig?: {
|
|
4775
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
4776
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
4777
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
4778
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
4779
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
4780
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4781
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
4782
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
4783
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
4784
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
4785
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
4786
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
4787
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
4788
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
4789
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
4790
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
4791
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4792
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4793
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
4794
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
4795
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
4796
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
4797
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
4798
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
4799
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
4800
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
4801
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4802
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
4803
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
4804
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
4805
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
4806
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
4807
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
4808
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
4809
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
4810
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
4811
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
4812
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
4813
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
4814
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
4815
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
4816
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
4817
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
4818
|
+
} | undefined;
|
|
4819
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
4820
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
4821
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
4822
|
+
watch?: {
|
|
4823
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
4824
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4825
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
4826
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4827
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
4828
|
+
} | undefined;
|
|
4829
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
4830
|
+
inject?: (string[] | {
|
|
4831
|
+
[x: string]: string | symbol | {
|
|
4832
|
+
from?: string | symbol | undefined;
|
|
4833
|
+
default?: unknown;
|
|
4834
|
+
};
|
|
4835
|
+
[x: symbol]: string | symbol | {
|
|
4836
|
+
from?: string | symbol | undefined;
|
|
4837
|
+
default?: unknown;
|
|
4838
|
+
};
|
|
4839
|
+
}) | undefined;
|
|
4840
|
+
filters?: Record<string, Function> | undefined;
|
|
4841
|
+
mixins?: any[] | undefined;
|
|
4842
|
+
extends?: any;
|
|
4843
|
+
beforeCreate?: (() => void) | undefined;
|
|
4844
|
+
created?: (() => void) | undefined;
|
|
4845
|
+
beforeMount?: (() => void) | undefined;
|
|
4846
|
+
mounted?: (() => void) | undefined;
|
|
4847
|
+
beforeUpdate?: (() => void) | undefined;
|
|
4848
|
+
updated?: (() => void) | undefined;
|
|
4849
|
+
activated?: (() => void) | undefined;
|
|
4850
|
+
deactivated?: (() => void) | undefined;
|
|
4851
|
+
beforeDestroy?: (() => void) | undefined;
|
|
4852
|
+
beforeUnmount?: (() => void) | undefined;
|
|
4853
|
+
destroyed?: (() => void) | undefined;
|
|
4854
|
+
unmounted?: (() => void) | undefined;
|
|
4855
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4856
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4857
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
4858
|
+
delimiters?: [string, string] | undefined;
|
|
4859
|
+
__differentiator?: string | number | symbol | undefined;
|
|
4860
|
+
__isBuiltIn?: boolean | undefined;
|
|
4861
|
+
__file?: string | undefined;
|
|
4862
|
+
__name?: string | undefined;
|
|
4863
|
+
} | undefined;
|
|
4864
|
+
changeCursor?: boolean | undefined;
|
|
4865
|
+
scrollTarget?: any;
|
|
4866
|
+
duration?: number | undefined;
|
|
4867
|
+
type?: "px" | "percent" | undefined;
|
|
4868
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
4869
|
+
getScrollState?: ((target: import("../..").DragScrollTargetType | undefined) => {
|
|
4870
|
+
scrollTop: number;
|
|
4871
|
+
scrollLeft: number;
|
|
4872
|
+
}) | undefined;
|
|
4873
|
+
setScrollState?: ((target: import("../..").DragScrollTargetType | undefined, state: {
|
|
4874
|
+
scrollTarget: any;
|
|
4875
|
+
scrollTop: number;
|
|
4876
|
+
scrollLeft: number;
|
|
4877
|
+
offsetX: number;
|
|
4878
|
+
offsetY: number;
|
|
4879
|
+
startScrollX: number;
|
|
4880
|
+
startScrollY: number;
|
|
4881
|
+
}) => void) | undefined;
|
|
4882
|
+
} | undefined;
|
|
4617
4883
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
4618
4884
|
rowDraggable?: boolean | undefined;
|
|
4619
4885
|
showSeq?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{findAncestor as e}from"../../../../shared/utils/index.js";import{noop as
|
|
1
|
+
import{findAncestor as e}from"../../../../shared/utils/index.js";import{noop as r}from"lodash-es";import{computed as l,unref as t,onBeforeUnmount as o}from"vue";import{useDragScroll as a}from"../../../drag-scroll/src/index.js";import"../../index.js";import{useUUIDMap as u}from"../utils/index.js";import{defineTablePlugin as n}from"../hooks/useTablePlugin.js";function s(){const e="dragScrollPlugin";return n({name:e,apply(n){const{getItemFromUUID:s,setItemFromUUID:c,removeItemFromUUID:m}=u((()=>r),!1);n.configHooks.config.tap(e,((e,{$table:r})=>{if(!0!==e.dragScroll||!e.uuid)return e;const o=l((()=>{var e;return t(null==(e=r.value)?void 0:e.getRefMaps().refElem)})),u=l((()=>{var e;return null==(e=o.value)?void 0:e.querySelector(".vxe-table--body-wrapper.body--wrapper")}));return c(e.uuid,a(e.uuid,{...e.dragScrollConfig,dragEle:o,scrollTarget:u,isDraggableEle(e){const{bodyEle:l,inEmptyArea:o}=function(e,r){const l=e.target,o="TD"===l.tagName||l.classList.contains("vxe-cell"),a=t(r);return a?{target:l,bodyEle:i(l,a),inEmptyArea:o}:{target:l,inEmptyArea:o,bodyEle:null}}(e,r);return!!l&&o},getScrollState(){var e;return null!=(e=u.value)?e:r.value.getScroll()},setScrollState:(e,l)=>r.value.scrollTo(l.scrollLeft,l.scrollTop)})),e})),n.setupHooks.setup.tap(e,(e=>{o((()=>{var r;e.value.uuid&&(null==(r=s(e.value.uuid))||r(),m(e.value.uuid))}))}))}})}function i(r,l){const o=t(l.getRefMaps().refElem);let a=!1,u=!1,n=null;return e(r,(e=>(a||(a=e===o),u||(u=e.classList.contains("vxe-table--body-wrapper"),n=e),a&&u)))?n:null}export{s as dragScrollPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createVNode as e
|
|
1
|
+
import{createVNode as e}from"vue";import{jsonParse as l,arrayed as r}from"../../../../../shared/utils/index.js";import{isObject as i}from"@vue/shared";import{promiseTimeout as t}from"@vueuse/shared";import{isArray as o,isString as n,first as u}from"lodash-es";import"../../../index.js";import{useUUIDMap as d,IhoTableRenderHelper as s,isCompatibleColumn as a,parseRichContent as f}from"../../utils/index.js";import c from"./filter.vue.js";import{defineTablePlugin as v}from"../../hooks/useTablePlugin.js";function p(){const p="filterRenderPlugin";return v({name:p,vxe(l){l.renderer.mixin({[p]:{showFilterFooter:!1,renderFilter:(l,r)=>e(c,{payload:r,key:r.column.field},null)}})},apply(e){const{getItemFromUUID:c,setItemFromUUID:v,removeItemFromUUID:h}=d((()=>[]),!1);e.fieldHooks.field.tap(p,((e,r,t,{$table:d})=>{var c,v,m,h,g,b,F,k;const y=null==(c=e.editRender)?void 0:c.props;if(!i(y))return e;if(!s.hasFilter(y))return e;e.editRender={...e.editRender,props:{...null==(v=e.editRender)?void 0:v.props,sortable:e.sortable}},e.filterRender={name:p};const x=null==(m=d.value)?void 0:m.getColumnByField(e.field),R={};let C;if(x&&o(x.filters)&&x.filters.forEach((e=>{e&&(R[`${e.label}_${e.value}`]=e.checked)})),a(y))C=null!=(h=y.options)?h:[];else{C=null!=(F=null==(b=null==(g=(i(y.fieldSetting)?y.fieldSetting:n(y.fieldSetting)?l(y.fieldSetting||""):{}).mapping)?void 0:g.mappingFiled)?void 0:b.reduce(((e,l)=>{var r;const t=u(l.value);return i(t)&&e.push({label:t.key,value:t.value,data:null!=(r=t.keyword)?r:t.value}),e}),[]))?F:[]}if(e.filters=C.reduce(((e,l)=>(i(l)&&e.push({...l,checked:!!R[`${l.label}_${l.value}`]}),e)),[]),!e.filterMethod){const l=null==(k=t.treeConfig)?void 0:k.children;e.filterMethod=function({option:e,column:r,row:i}){if(l&&o(i[l])&&i[l].length)return!1;const t=i[r.field];if(o(t))return t.some((l=>[e.label,e.value].includes(l)));if(n(t)){if(t===e.value||t===e.label)return!0;const{value:l,change_text:r}=f(t);return r===e.label||l===e.value}return!1}}return t.filterConfig={iconMatch:"iho-table--iconfont iho-table-icon-filter",iconNone:"iho-table--iconfont iho-table-icon-filter",...t.filterConfig},e})),e.fieldHooks.fieldList.tap(p,((e,l)=>l.uuid?(v(l.uuid,e),e):e)),e.fieldHooks.fieldEnd.tapPromise(p,(async(e,{$table:l})=>{var r;if(l.value&&e.uuid)try{const i=c(e.uuid);if(null==(r=e.sortConfig)?void 0:r.multiple){const e=i.reduce(((e,r)=>{var i;const t=null==(i=r.editRender)?void 0:i.props;if(!r.sortable)return e;if(t&&m(t.isOrder)){const i=l.value.getColumnByField(r.field);e.push({field:r.field,order:(null==i?void 0:i.order)?i.order:t.isOrder})}return e}),[]);if(!e.length)return;await t(200),await l.value.sort(e)}else i.reverse().some((e=>{var r;const i=null==(r=e.editRender)?void 0:r.props;if(i&&m(i.isOrder))return e&&l.value.sort(e.field,i.isOrder),!0}))}finally{h(e.uuid)}})),e.exposeHooks.expose.tap(p,((e,l,{$table:i})=>(Object.assign(e,{setSort(e,l){i.value&&i.value.sort(e,l)},setFilter(e,l){if(!i.value)return;const t=i.value.getColumnByField(e);if(!t||!o(t.filters))return;const n=r(l);t.filters.forEach((e=>{e.checked=n.includes(e.value)})),i.value.updateData()}}),e)))}})}function m(e){return["asc","desc",null].includes(e)}export{p as filterRenderPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useAttrs as e,onBeforeUnmount as t,inject as l,createVNode as o}from"vue";import{arrayed as n,widthAppend as a}from"../../../../shared/utils/index.js";import{isObject as r,isString as i,isFunction as s}from"lodash-es";import u from"../../../annotation-edit/index.js";import"../../index.js";import{InjectionIhoTableAnnotation as d,InjectionIhoTableConfig as m}from"../constants/index.js";import{getLowCodeFieldFromField as
|
|
1
|
+
import{useAttrs as e,onBeforeUnmount as t,inject as l,createVNode as o}from"vue";import{arrayed as n,widthAppend as a}from"../../../../shared/utils/index.js";import{isObject as r,isString as i,isFunction as s}from"lodash-es";import u from"../../../annotation-edit/index.js";import"../../index.js";import{InjectionIhoTableAnnotation as d,InjectionIhoTableConfig as m}from"../constants/index.js";import{getLowCodeFieldFromField as h,IhoTableRenderHelper as c}from"../utils/index.js";import{defineTablePlugin as p}from"../hooks/useTablePlugin.js";function f(){const f="headerPlugin";return p({name:f,apply(p){let v=null;p.setupHooks.setup.tap(f,(()=>{v=e(),t((()=>{v=null}))})),p.fieldHooks.field.tap(f,(e=>{var t;const p=null==(t=e.slots)?void 0:t.header;return e.slots={...e.slots,header:t=>function(e,t,h){const p=l(d),f=l(m),x=l("$xetable"),b=e.column||{},j=r(null==p?void 0:p.value)&&!1!==t.annotation,g=c.isEditableColumn(f.value,b),w=c.hasFilter(t)||c.hasDateFiler(t),W=c.hasTitlePrefix(t),k=i(h)?h:s(h)?h(e):null;let y=!1;if(f.value){const e=f.value.editRules&&f.value.editRules[b.field];e&&(y=n(e).some((e=>e.required)))}const D=f.value.border?Math.max(2,Math.ceil(x.reactData.scrollbarWidth/x.reactData.tableColumn.length)):1,M=a(Math.max(0,b.renderWidth-20-D-(y?14:0)-(j?18:0)-(w?23:0)-(g?22:0)-(W?20:0)-(b.sortable?23:0)));return o("section",{class:"iho-table__headerWrapper"},[o("section",{style:{width:M}},[null!=k?k:o("div",{style:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},[function(){const e=b.title,t=/\\n|\n|\r/g;if(!t.test(e))return e;const l=e.replace(t,"<br>").split("<br>");return l.map(((e,t)=>[e,t===l.length-1?null:o("br",null,null)]))}()])]),j?o(u,{modelValue:p.value[b.field],"onUpdate:modelValue":e=>p.value[b.field]=e,shortcuts:v&&(v["annotation-shortcuts"]||v.annotationShortcuts)||[]},null):null])}(t,h(e),p)},e}))}})}export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isObject as e,isFunction as t,cloneDeep as i}from"lodash-es";import{toRaw as
|
|
1
|
+
import{isObject as e,isFunction as t,cloneDeep as i}from"lodash-es";import{toRaw as l,h as o}from"vue";import{HIGHEST_PRIORITY as s,IHO_TABLE_FIXED_STATUS as n,WIDGET_TYPE as r}from"../constants/index.js";import{defineTablePlugin as d}from"../hooks/useTablePlugin.js";import{getDefaultValue as a}from"./rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js";import{IhoTableStatusHelper as f,IhoTableUtils as c,IhoTableRenderHelper as m}from"../utils/index.js";function p(){const p="lowCodeFieldAdaptorPlugin";return d({name:p,apply(d){d.fieldHooks.field.tap({name:p,stage:s},((s,d,p)=>{const u=s,b={className:u.bold?"iho-table__boldCell":"",field:u.columnName,showOverflow:"ellipsis",visible:f.notNegative(u.isShow),minWidth:u.colWidth,sortable:f.isPositive(u.isSort),fixed:n[u.isFixed],...u,title:u.alias||u.title};return function(e,i){const l={default:i.slotFn,header:i.headerSlotFn,edit:i.editSlotFn,footer:i.footerSlotFn,...i.slots};if(t(i.checkEditStatus)){const{default:e}=l;t(e)&&(l.default=t=>i.checkEditStatus(t)?e(t):[o("span",null,a(t.row,t.column.editRender.props))])}e.slots=l}(b,u),function(o,s,n){var d,a,p;const u=i(l(s));u.componentProps={size:"mini"===n.size?"small":n.size,...u.componentProps},n.forceClearable&&(u.componentProps.clearable=!0);o.editRender={name:c.getCellType(s),...o.editRender,props:u},o.editRender.enabled=!Reflect.get(r,o.editRender.name),!o.editRender.enabled&&t(null==(d=o.slots)?void 0:d.default)&&(o.editRender.enabled=t(null==(a=o.slots)?void 0:a.edit));if(!e(s.settingObj))return;Reflect.has(s.settingObj,"isHide")&&(o.visible=o.visible&&f.notPositive(s.settingObj.isHide));m.hasTitlePrefix(s)&&(o.titlePrefix={content:(null==(p=s.titlePrefix)?void 0:p.content)||s.settingObj.feildDescribe})}(b,u,p),b})),d.fieldHooks.field.tap({name:p+"After",stage:1e3},(t=>(e(t.slots)&&Object.entries(t.slots).forEach((([e,i])=>{null==i&&Reflect.deleteProperty(t.slots,e)})),t)))}})}export{p as lowCodeFieldAdaptorPlugin};
|