cnhis-design-vue 3.1.50-beta.2 → 3.1.50-beta.21
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/card-reader-sdk/src/cardReaderSDK.d.ts +1 -0
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
- package/es/components/card-reader-sdk/src/insuranceSDK.js +1 -1
- package/es/components/card-reader-sdk/src/types/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/utils/index.d.ts +0 -3
- package/es/components/card-reader-sdk/src/utils/index.js +1 -1
- package/es/components/classification/index.d.ts +3 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -1
- package/es/components/classification/src/index.vue.d.ts +3 -1
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -1
- 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/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
- package/es/components/field-set/index.d.ts +14 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +14 -1
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +422 -73
- package/es/components/form-config/src/FormConfig.vue.d.ts +423 -74
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +120 -23
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +138 -35
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +121 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -0
- package/es/components/form-config/src/constants/index.d.ts +19 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +7 -3
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +120 -23
- package/es/components/form-render/src/FormRender.vue.d.ts +119 -22
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +120 -23
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -5
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +173 -4
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.d.ts +15 -2
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +6 -21
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +26 -0
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +26 -0
- package/es/components/iho-table/src/constants/index.d.ts +1 -2
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +3 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +18 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +14 -1
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/src/utils/separateMap.d.ts +5 -0
- package/es/components/iho-table/src/utils/separateMap.js +1 -0
- 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 +346 -65
- package/es/components/info-header/src/InfoHeader.vue.d.ts +346 -65
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +86 -3
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +86 -3
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +206 -26
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +120 -23
- package/es/components/search-cascader/index.d.ts +4 -0
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +4 -0
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +121 -23
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +121 -23
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +3 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +20 -0
- package/es/shared/utils/business.d.ts +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
|
@@ -164,9 +164,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
164
|
lifeCycle: {
|
|
165
165
|
type: import("vue").PropType<Partial<{
|
|
166
166
|
onSetup(): void;
|
|
167
|
-
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
168
|
-
afterRequest(fieldKey: string, payload?:
|
|
169
|
-
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[]): void;
|
|
167
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
168
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
169
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
170
170
|
}>>;
|
|
171
171
|
};
|
|
172
172
|
requestInstance: {
|
|
@@ -177,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
177
|
default: boolean;
|
|
178
178
|
};
|
|
179
179
|
lowCodeReactions: {
|
|
180
|
-
type: import("vue").PropType<import("
|
|
180
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
181
181
|
};
|
|
182
182
|
operationalForm: {
|
|
183
183
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -197,6 +197,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
197
|
type: BooleanConstructor;
|
|
198
198
|
default: boolean;
|
|
199
199
|
};
|
|
200
|
+
forceClearable: BooleanConstructor;
|
|
200
201
|
}, {
|
|
201
202
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
202
203
|
fieldList: {
|
|
@@ -308,9 +309,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
309
|
lifeCycle: {
|
|
309
310
|
type: import("vue").PropType<Partial<{
|
|
310
311
|
onSetup(): void;
|
|
311
|
-
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
312
|
-
afterRequest(fieldKey: string, payload?:
|
|
313
|
-
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[]): void;
|
|
312
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
313
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
314
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
314
315
|
}>>;
|
|
315
316
|
};
|
|
316
317
|
requestInstance: {
|
|
@@ -321,7 +322,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
321
322
|
default: boolean;
|
|
322
323
|
};
|
|
323
324
|
lowCodeReactions: {
|
|
324
|
-
type: import("vue").PropType<import("
|
|
325
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
325
326
|
};
|
|
326
327
|
operationalForm: {
|
|
327
328
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -341,6 +342,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
342
|
type: BooleanConstructor;
|
|
342
343
|
default: boolean;
|
|
343
344
|
};
|
|
345
|
+
forceClearable: BooleanConstructor;
|
|
344
346
|
}>> & {
|
|
345
347
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
346
348
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -351,7 +353,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
351
353
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
352
354
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
353
355
|
formHeight: import("vue").ComputedRef<string>;
|
|
354
|
-
SchemaField: import("vue").
|
|
356
|
+
SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
|
|
357
|
+
name: any;
|
|
358
|
+
components: any;
|
|
359
|
+
schema: any;
|
|
360
|
+
scope: any;
|
|
361
|
+
basePath: any;
|
|
362
|
+
onlyRenderProperties: any;
|
|
363
|
+
onlyRenderSelf: any;
|
|
364
|
+
mapProperties: any;
|
|
365
|
+
filterProperties: any;
|
|
366
|
+
}>;
|
|
355
367
|
businessCollector: import("../../../../../../es/components/form-render").BusinessCollector;
|
|
356
368
|
formItemDepsCollector: import("../../../../../../es/components/form-render").FormItemDepsCollector;
|
|
357
369
|
changeContextCollector: import("../../../../../../es/components/form-render").ContextCollector;
|
|
@@ -368,14 +380,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
368
380
|
onScroll: (scrollEvent: Event) => void;
|
|
369
381
|
callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
|
|
370
382
|
onSetup(): void;
|
|
371
|
-
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
372
|
-
afterRequest(fieldKey: string, payload?:
|
|
373
|
-
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[]): void;
|
|
383
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
384
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
385
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
374
386
|
}>>[T]> | undefined) => import("../../../..").UndefinedAble<ReturnType<Required<Partial<{
|
|
375
387
|
onSetup(): void;
|
|
376
|
-
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
377
|
-
afterRequest(fieldKey: string, payload?:
|
|
378
|
-
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[]): void;
|
|
388
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
389
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
390
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
379
391
|
}>>[T]>>;
|
|
380
392
|
triggerAutoHidden: (field: import("../../../../../../es/components/form-render").GeneralField) => Promise<void>;
|
|
381
393
|
observeFormGraph: Record<string, import("../../../../../../es/components/form-render").GeneralField>;
|
|
@@ -385,15 +397,98 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
397
|
formModel: import("../../../../../../es/components/form-render").Form<{
|
|
386
398
|
[x: string]: any;
|
|
387
399
|
}>;
|
|
388
|
-
lowCodeReactionsHandler: (field: string
|
|
400
|
+
lowCodeReactionsHandler: (field: string) => void;
|
|
389
401
|
triggerAllReactionsHandler: () => void;
|
|
390
402
|
operationalFormHandler: (field: string) => void;
|
|
391
403
|
triggerAllOperationalFormHandler: () => void;
|
|
392
404
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
393
|
-
schemaAdaptor: (fieldList: FieldItem[], options?: {
|
|
405
|
+
schemaAdaptor: (fieldList: FieldItem[], options?: Partial<{
|
|
406
|
+
fieldList: FieldItem[];
|
|
407
|
+
initialData: import("../../../..").AnyObject;
|
|
408
|
+
fieldVisitor: import("../../../../../../es/components/form-render").FieldVisitor;
|
|
394
409
|
column: number;
|
|
395
|
-
|
|
396
|
-
|
|
410
|
+
maxHeight: string | number;
|
|
411
|
+
anchor: boolean;
|
|
412
|
+
parallelism: number;
|
|
413
|
+
schema: import("@formily/json-schema").Stringify<{
|
|
414
|
+
[key: symbol]: any;
|
|
415
|
+
[key: `x-${string}`]: any;
|
|
416
|
+
[key: `x-${number}`]: any;
|
|
417
|
+
version?: string | undefined;
|
|
418
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
419
|
+
title?: any;
|
|
420
|
+
description?: any;
|
|
421
|
+
default?: any;
|
|
422
|
+
readOnly?: boolean | undefined;
|
|
423
|
+
writeOnly?: boolean | undefined;
|
|
424
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
425
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
426
|
+
const?: any;
|
|
427
|
+
multipleOf?: number | undefined;
|
|
428
|
+
maximum?: number | undefined;
|
|
429
|
+
exclusiveMaximum?: number | undefined;
|
|
430
|
+
minimum?: number | undefined;
|
|
431
|
+
exclusiveMinimum?: number | undefined;
|
|
432
|
+
maxLength?: number | undefined;
|
|
433
|
+
minLength?: number | undefined;
|
|
434
|
+
pattern?: string | RegExp | undefined;
|
|
435
|
+
maxItems?: number | undefined;
|
|
436
|
+
minItems?: number | undefined;
|
|
437
|
+
uniqueItems?: boolean | undefined;
|
|
438
|
+
maxProperties?: number | undefined;
|
|
439
|
+
minProperties?: number | undefined;
|
|
440
|
+
required?: string | boolean | string[] | undefined;
|
|
441
|
+
format?: string | undefined;
|
|
442
|
+
$ref?: string | undefined;
|
|
443
|
+
$namespace?: string | undefined;
|
|
444
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
445
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
446
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
447
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
448
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
449
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
450
|
+
"x-value"?: any;
|
|
451
|
+
"x-index"?: number | undefined;
|
|
452
|
+
"x-pattern"?: any;
|
|
453
|
+
"x-display"?: any;
|
|
454
|
+
"x-validator"?: any;
|
|
455
|
+
"x-decorator"?: any;
|
|
456
|
+
"x-decorator-props"?: any;
|
|
457
|
+
"x-component"?: any;
|
|
458
|
+
"x-component-props"?: any;
|
|
459
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
460
|
+
"x-content"?: any;
|
|
461
|
+
"x-data"?: any;
|
|
462
|
+
"x-visible"?: boolean | undefined;
|
|
463
|
+
"x-hidden"?: boolean | undefined;
|
|
464
|
+
"x-disabled"?: boolean | undefined;
|
|
465
|
+
"x-editable"?: boolean | undefined;
|
|
466
|
+
"x-read-only"?: boolean | undefined;
|
|
467
|
+
"x-read-pretty"?: boolean | undefined;
|
|
468
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
469
|
+
}>;
|
|
470
|
+
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
471
|
+
scope: import("../../../..").AnyObject;
|
|
472
|
+
annotation: import("../../../..").AnyObject;
|
|
473
|
+
consumer: boolean;
|
|
474
|
+
uuid: string;
|
|
475
|
+
lifeCycle: Partial<{
|
|
476
|
+
onSetup(): void;
|
|
477
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
478
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
479
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
480
|
+
}>;
|
|
481
|
+
businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
|
|
482
|
+
requestInstance: import("../../../../../../es/components/form-render").RequestInstance;
|
|
483
|
+
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
484
|
+
lowCodeReactions: import("../../../..").FormLowCodeReactions.Config[];
|
|
485
|
+
linebarAutoHidden: boolean;
|
|
486
|
+
bordered: string | boolean;
|
|
487
|
+
uniqueCacheData: boolean;
|
|
488
|
+
operationalForm: import("../../../..").FormOperationalConfig[];
|
|
489
|
+
outBordered: boolean;
|
|
490
|
+
forceClearable: boolean;
|
|
491
|
+
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
397
492
|
[key: symbol]: any;
|
|
398
493
|
[key: `x-${string}`]: any;
|
|
399
494
|
[key: `x-${number}`]: any;
|
|
@@ -784,9 +879,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
784
879
|
lifeCycle: {
|
|
785
880
|
type: import("vue").PropType<Partial<{
|
|
786
881
|
onSetup(): void;
|
|
787
|
-
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
788
|
-
afterRequest(fieldKey: string, payload?:
|
|
789
|
-
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[]): void;
|
|
882
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined, payload?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
883
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
884
|
+
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
790
885
|
}>>;
|
|
791
886
|
};
|
|
792
887
|
requestInstance: {
|
|
@@ -797,7 +892,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
797
892
|
default: boolean;
|
|
798
893
|
};
|
|
799
894
|
lowCodeReactions: {
|
|
800
|
-
type: import("vue").PropType<import("
|
|
895
|
+
type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
|
|
801
896
|
};
|
|
802
897
|
operationalForm: {
|
|
803
898
|
type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
|
|
@@ -817,6 +912,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
817
912
|
type: BooleanConstructor;
|
|
818
913
|
default: boolean;
|
|
819
914
|
};
|
|
915
|
+
forceClearable: BooleanConstructor;
|
|
820
916
|
}>> & {
|
|
821
917
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
822
918
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -825,6 +921,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
825
921
|
anchor: boolean;
|
|
826
922
|
maxHeight: string | number;
|
|
827
923
|
column: number;
|
|
924
|
+
forceClearable: boolean;
|
|
828
925
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
829
926
|
initialData: import("../../../..").AnyObject;
|
|
830
927
|
parallelism: number;
|
|
@@ -49,6 +49,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
49
49
|
type: (NumberConstructor | StringConstructor)[];
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
|
+
disabled: BooleanConstructor;
|
|
52
53
|
}, {
|
|
53
54
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
55
|
value: {
|
|
@@ -100,6 +101,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
100
101
|
type: (NumberConstructor | StringConstructor)[];
|
|
101
102
|
default: number;
|
|
102
103
|
};
|
|
104
|
+
disabled: BooleanConstructor;
|
|
103
105
|
}>> & {
|
|
104
106
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
105
107
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -240,11 +242,13 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
240
242
|
type: (NumberConstructor | StringConstructor)[];
|
|
241
243
|
default: number;
|
|
242
244
|
};
|
|
245
|
+
disabled: BooleanConstructor;
|
|
243
246
|
}>> & {
|
|
244
247
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
245
248
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
246
249
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
247
250
|
}, {
|
|
251
|
+
disabled: boolean;
|
|
248
252
|
show: boolean;
|
|
249
253
|
options: import("../../../es/shared/types").AnyObject[];
|
|
250
254
|
placeholder: string;
|
|
@@ -51,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: (NumberConstructor | StringConstructor)[];
|
|
52
52
|
default: number;
|
|
53
53
|
};
|
|
54
|
+
disabled: BooleanConstructor;
|
|
54
55
|
}, {
|
|
55
56
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
56
57
|
value: {
|
|
@@ -102,6 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
103
|
type: (NumberConstructor | StringConstructor)[];
|
|
103
104
|
default: number;
|
|
104
105
|
};
|
|
106
|
+
disabled: BooleanConstructor;
|
|
105
107
|
}>> & {
|
|
106
108
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
107
109
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -242,11 +244,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
244
|
type: (NumberConstructor | StringConstructor)[];
|
|
243
245
|
default: number;
|
|
244
246
|
};
|
|
247
|
+
disabled: BooleanConstructor;
|
|
245
248
|
}>> & {
|
|
246
249
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
247
250
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
248
251
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
249
252
|
}, {
|
|
253
|
+
disabled: boolean;
|
|
250
254
|
show: boolean;
|
|
251
255
|
options: AnyObject[];
|
|
252
256
|
placeholder: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as a,provide as l,ref as t,nextTick as
|
|
1
|
+
import{defineComponent as e,computed as a,provide as l,ref as t,nextTick as o,watch as r,openBlock as u,createBlock as n,unref as s,isRef as i,normalizeStyle as d,withCtx as c,createVNode as v,normalizeClass as p,createElementVNode as f,renderSlot as h}from"vue";import{useTheme as y}from"../../../shared/hooks/useTheme.js";import{useEventBus as m,useVModel as b,onClickOutside as g,useDebounceFn as w}from"@vueuse/core";import"date-fns";import{isString as k,isArray as S,isObject as K,isFunction as C}from"lodash-es";import{uuidGenerator as N}from"../../../shared/utils/index.js";import{NOOP as _}from"@vue/shared";import{NPopover as P,NInput as j}from"naive-ui";import{InjectionSearchCascaderCheckAbleLevel as x,InjectionKeyboardEventBus as A,InjectionSearchCascaderLoadingNode as U,InjectionSearchCascaderValue as W}from"./constants/index.js";import{SearchMenu as B}from"./components/SearchMenu.js";const F=["id"];var L=e({__name:"SearchCascader",props:{value:{type:[String,Array]},show:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},childKey:{type:String,default:"children"},placeholder:{type:String,default:"请选择"},editPlaceholder:{type:String,default:"请输入关键字进行搜索"},options:{type:Array,default:()=>[]},search:{type:Function},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},checkAbleLevel:{type:[Number,String],default:"last"},beforeSetValue:{type:Function},menuWidth:{type:[Number,String],default:150},disabled:Boolean},emits:["update:value","focus","update:show"],setup(e,{expose:L,emit:T}){const V=e,E=y();function I(){var e;e=[],Promise.resolve(C(V.beforeSetValue)?V.beforeSetValue(e):e).then((e=>T("update:value",e)),_)}function R(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&Q()}const $=e=>{var a;"INPUT"!==(null==(a=e.target)?void 0:a.tagName)||"Enter"!==e.code||D.value?q.emit(e.key,e):Q()},M=a((()=>({"--menu-width":V.menuWidth}))),q=m("cascaderKeydown"),z=N(),D=b(V,"show",T);l(x,a((()=>V.checkAbleLevel))),l(A,q);const G=t(""),H=a((()=>k(V.value)&&V.value?V.value:S(V.value)&&V.value.length?V.value.map((e=>K(e)?e[V.labelKey]:e)).join(" / "):V.editPlaceholder)),J=a({get:()=>D.value?G.value:k(V.value)?V.value:S(V.value)?V.value.reduce(((e,a,l)=>0===l?a[V.labelKey]:e+" / "+a[V.labelKey]),""):"",set(e){G.value=e,te(void 0,e)}});function O(e){T("focus",e)}function Q(){D.value||V.disabled||(D.value=!0,G.value="",te())}async function X(){var e;D.value=!1,null==(e=Y.value)||e.blur()}const Y=t();g(Y,(e=>{var a;if(!D.value)return;const l=e;if(!l.target)return X();!function(e){let a=!1,l=e;for(;l;){if(l.id===z){a=!0;break}l=l.parentElement}return a}(l.target)?X():null==(a=Y.value)||a.focus()}));const Z=t(),ee=t(),ae=t(),le=t(null);l(U,le),l(W,a((()=>V.value)));const te=w((async(e,a)=>{var l;const{type:t,node:r}=e||{};try{if("update"===t)return void(C(V.search)&&V.search({...r,isLeaf:!0}));le.value=r;const e=await(C(V.search)&&V.search(r,a));ee.value=K(e)||S(e)?e:r}finally{le.value=null,await o(),null==(l=Z.value)||l.syncPosition()}}),400),oe=e=>{ae.value=e};return r((()=>V.show),(e=>{e&&(ae.value={})})),L({getWidth(){var e;if(!Y.value)return 0;const a=null==(e=Y.value)?void 0:e.$el;return a?a.clientWidth:void 0},setCursor(e){ae.value=e}}),(a,l)=>(u(),n(s(P),{class:"search-cascader",trigger:"manual",show:s(D),"onUpdate:show":l[1]||(l[1]=e=>i(D)?D.value=e:null),"show-arrow":!1,placement:"bottom-start",style:d(s(M)),disabled:e.disabled,width:e.options.length?void 0:"trigger",ref_key:"popoverRef",ref:Z},{trigger:c((()=>[v(s(j),{disabled:e.disabled,class:p({"search-cascader__input":!e.disabled}),placeholder:s(D)?s(H):e.placeholder,clearable:e.clearable,onClear:I,value:s(J),"onUpdate:value":l[0]||(l[0]=e=>i(J)?J.value=e:null),ref_key:"inputRef",ref:Y,onFocus:O,onClick:R,onKeydown:$},null,8,["disabled","class","placeholder","clearable","value"])])),default:c((()=>[f("section",{id:s(z)},[v(s(B),{style:d(s(E)),"label-key":e.labelKey,"value-key":e.valueKey,options:e.options,onNodeClick:s(te),onChangeCursor:oe,"current-node":ee.value,"cursor-node":ae.value},{empty:c((()=>[h(a.$slots,"empty")])),_:3},8,["style","label-key","value-key","options","onNodeClick","current-node","cursor-node"])],8,F)])),_:3},8,["show","style","disabled","width"]))}});export{L as default};
|
|
@@ -130,6 +130,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
130
130
|
date_format?: string | undefined;
|
|
131
131
|
step_length?: string | number | undefined;
|
|
132
132
|
urlConfig?: {
|
|
133
|
+
[x: string]: any;
|
|
133
134
|
url: string;
|
|
134
135
|
method?: import("..").FormRequestType | undefined;
|
|
135
136
|
nameKey?: string | undefined;
|
|
@@ -1871,9 +1872,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1871
1872
|
lifeCycle: {
|
|
1872
1873
|
type: import("vue").PropType<Partial<{
|
|
1873
1874
|
onSetup(): void;
|
|
1874
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
1875
|
-
afterRequest(fieldKey: string, payload?:
|
|
1876
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
1875
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
1876
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
1877
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
1877
1878
|
}>>;
|
|
1878
1879
|
};
|
|
1879
1880
|
requestInstance: {
|
|
@@ -1884,7 +1885,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1884
1885
|
default: boolean;
|
|
1885
1886
|
};
|
|
1886
1887
|
lowCodeReactions: {
|
|
1887
|
-
type: import("vue").PropType<import("
|
|
1888
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
1888
1889
|
};
|
|
1889
1890
|
operationalForm: {
|
|
1890
1891
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -1904,6 +1905,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1904
1905
|
type: BooleanConstructor;
|
|
1905
1906
|
default: boolean;
|
|
1906
1907
|
};
|
|
1908
|
+
forceClearable: BooleanConstructor;
|
|
1907
1909
|
}, {
|
|
1908
1910
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1909
1911
|
fieldList: {
|
|
@@ -2015,9 +2017,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2015
2017
|
lifeCycle: {
|
|
2016
2018
|
type: import("vue").PropType<Partial<{
|
|
2017
2019
|
onSetup(): void;
|
|
2018
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2019
|
-
afterRequest(fieldKey: string, payload?:
|
|
2020
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2020
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2021
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
2022
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
2021
2023
|
}>>;
|
|
2022
2024
|
};
|
|
2023
2025
|
requestInstance: {
|
|
@@ -2028,7 +2030,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2028
2030
|
default: boolean;
|
|
2029
2031
|
};
|
|
2030
2032
|
lowCodeReactions: {
|
|
2031
|
-
type: import("vue").PropType<import("
|
|
2033
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2032
2034
|
};
|
|
2033
2035
|
operationalForm: {
|
|
2034
2036
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2048,6 +2050,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2048
2050
|
type: BooleanConstructor;
|
|
2049
2051
|
default: boolean;
|
|
2050
2052
|
};
|
|
2053
|
+
forceClearable: BooleanConstructor;
|
|
2051
2054
|
}>> & {
|
|
2052
2055
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2053
2056
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2058,7 +2061,17 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2058
2061
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2059
2062
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
2060
2063
|
formHeight: import("vue").ComputedRef<string>;
|
|
2061
|
-
SchemaField: import("vue").
|
|
2064
|
+
SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
|
|
2065
|
+
name: any;
|
|
2066
|
+
components: any;
|
|
2067
|
+
schema: any;
|
|
2068
|
+
scope: any;
|
|
2069
|
+
basePath: any;
|
|
2070
|
+
onlyRenderProperties: any;
|
|
2071
|
+
onlyRenderSelf: any;
|
|
2072
|
+
mapProperties: any;
|
|
2073
|
+
filterProperties: any;
|
|
2074
|
+
}>;
|
|
2062
2075
|
businessCollector: import("..").BusinessCollector;
|
|
2063
2076
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
2064
2077
|
changeContextCollector: import("..").ContextCollector;
|
|
@@ -2075,14 +2088,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2075
2088
|
onScroll: (scrollEvent: Event) => void;
|
|
2076
2089
|
callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
|
|
2077
2090
|
onSetup(): void;
|
|
2078
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2079
|
-
afterRequest(fieldKey: string, payload?:
|
|
2080
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2091
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2092
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
2093
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
2081
2094
|
}>>[T]> | undefined) => import("../../../es/shared/types").UndefinedAble<ReturnType<Required<Partial<{
|
|
2082
2095
|
onSetup(): void;
|
|
2083
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2084
|
-
afterRequest(fieldKey: string, payload?:
|
|
2085
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2096
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2097
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
2098
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
2086
2099
|
}>>[T]>>;
|
|
2087
2100
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2088
2101
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
@@ -2092,15 +2105,98 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2092
2105
|
formModel: import("@formily/core").Form<{
|
|
2093
2106
|
[x: string]: any;
|
|
2094
2107
|
}>;
|
|
2095
|
-
lowCodeReactionsHandler: (field: string
|
|
2108
|
+
lowCodeReactionsHandler: (field: string) => void;
|
|
2096
2109
|
triggerAllReactionsHandler: () => void;
|
|
2097
2110
|
operationalFormHandler: (field: string) => void;
|
|
2098
2111
|
triggerAllOperationalFormHandler: () => void;
|
|
2099
2112
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
2100
|
-
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: {
|
|
2113
|
+
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: Partial<{
|
|
2114
|
+
fieldList: import("..").FieldItem[];
|
|
2115
|
+
initialData: import("../../../es/shared/types").AnyObject;
|
|
2116
|
+
fieldVisitor: import("..").FieldVisitor;
|
|
2101
2117
|
column: number;
|
|
2102
|
-
|
|
2103
|
-
|
|
2118
|
+
maxHeight: string | number;
|
|
2119
|
+
anchor: boolean;
|
|
2120
|
+
parallelism: number;
|
|
2121
|
+
schema: import("@formily/json-schema").Stringify<{
|
|
2122
|
+
[key: symbol]: any;
|
|
2123
|
+
[key: `x-${string}`]: any;
|
|
2124
|
+
[key: `x-${number}`]: any;
|
|
2125
|
+
version?: string | undefined;
|
|
2126
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2127
|
+
title?: any;
|
|
2128
|
+
description?: any;
|
|
2129
|
+
default?: any;
|
|
2130
|
+
readOnly?: boolean | undefined;
|
|
2131
|
+
writeOnly?: boolean | undefined;
|
|
2132
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2133
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2134
|
+
const?: any;
|
|
2135
|
+
multipleOf?: number | undefined;
|
|
2136
|
+
maximum?: number | undefined;
|
|
2137
|
+
exclusiveMaximum?: number | undefined;
|
|
2138
|
+
minimum?: number | undefined;
|
|
2139
|
+
exclusiveMinimum?: number | undefined;
|
|
2140
|
+
maxLength?: number | undefined;
|
|
2141
|
+
minLength?: number | undefined;
|
|
2142
|
+
pattern?: string | RegExp | undefined;
|
|
2143
|
+
maxItems?: number | undefined;
|
|
2144
|
+
minItems?: number | undefined;
|
|
2145
|
+
uniqueItems?: boolean | undefined;
|
|
2146
|
+
maxProperties?: number | undefined;
|
|
2147
|
+
minProperties?: number | undefined;
|
|
2148
|
+
required?: string | boolean | string[] | undefined;
|
|
2149
|
+
format?: string | undefined;
|
|
2150
|
+
$ref?: string | undefined;
|
|
2151
|
+
$namespace?: string | undefined;
|
|
2152
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2153
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2154
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2155
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2156
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2157
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2158
|
+
"x-value"?: any;
|
|
2159
|
+
"x-index"?: number | undefined;
|
|
2160
|
+
"x-pattern"?: any;
|
|
2161
|
+
"x-display"?: any;
|
|
2162
|
+
"x-validator"?: any;
|
|
2163
|
+
"x-decorator"?: any;
|
|
2164
|
+
"x-decorator-props"?: any;
|
|
2165
|
+
"x-component"?: any;
|
|
2166
|
+
"x-component-props"?: any;
|
|
2167
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2168
|
+
"x-content"?: any;
|
|
2169
|
+
"x-data"?: any;
|
|
2170
|
+
"x-visible"?: boolean | undefined;
|
|
2171
|
+
"x-hidden"?: boolean | undefined;
|
|
2172
|
+
"x-disabled"?: boolean | undefined;
|
|
2173
|
+
"x-editable"?: boolean | undefined;
|
|
2174
|
+
"x-read-only"?: boolean | undefined;
|
|
2175
|
+
"x-read-pretty"?: boolean | undefined;
|
|
2176
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
2177
|
+
}>;
|
|
2178
|
+
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
2179
|
+
scope: import("../../../es/shared/types").AnyObject;
|
|
2180
|
+
annotation: import("../../../es/shared/types").AnyObject;
|
|
2181
|
+
consumer: boolean;
|
|
2182
|
+
uuid: string;
|
|
2183
|
+
lifeCycle: Partial<{
|
|
2184
|
+
onSetup(): void;
|
|
2185
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2186
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
2187
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
2188
|
+
}>;
|
|
2189
|
+
businessFormatter: import("..").FormBusinessFormatter;
|
|
2190
|
+
requestInstance: import("..").RequestInstance;
|
|
2191
|
+
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
2192
|
+
lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
|
|
2193
|
+
linebarAutoHidden: boolean;
|
|
2194
|
+
bordered: string | boolean;
|
|
2195
|
+
uniqueCacheData: boolean;
|
|
2196
|
+
operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
|
|
2197
|
+
outBordered: boolean;
|
|
2198
|
+
forceClearable: boolean;
|
|
2199
|
+
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2104
2200
|
[key: symbol]: any;
|
|
2105
2201
|
[key: `x-${string}`]: any;
|
|
2106
2202
|
[key: `x-${number}`]: any;
|
|
@@ -2491,9 +2587,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2491
2587
|
lifeCycle: {
|
|
2492
2588
|
type: import("vue").PropType<Partial<{
|
|
2493
2589
|
onSetup(): void;
|
|
2494
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2495
|
-
afterRequest(fieldKey: string, payload?:
|
|
2496
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2590
|
+
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2591
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
|
|
2592
|
+
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
|
|
2497
2593
|
}>>;
|
|
2498
2594
|
};
|
|
2499
2595
|
requestInstance: {
|
|
@@ -2504,7 +2600,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2504
2600
|
default: boolean;
|
|
2505
2601
|
};
|
|
2506
2602
|
lowCodeReactions: {
|
|
2507
|
-
type: import("vue").PropType<import("
|
|
2603
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
|
|
2508
2604
|
};
|
|
2509
2605
|
operationalForm: {
|
|
2510
2606
|
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
@@ -2524,6 +2620,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2524
2620
|
type: BooleanConstructor;
|
|
2525
2621
|
default: boolean;
|
|
2526
2622
|
};
|
|
2623
|
+
forceClearable: BooleanConstructor;
|
|
2527
2624
|
}>> & {
|
|
2528
2625
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2529
2626
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2532,6 +2629,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2532
2629
|
anchor: boolean;
|
|
2533
2630
|
maxHeight: string | number;
|
|
2534
2631
|
column: number;
|
|
2632
|
+
forceClearable: boolean;
|
|
2535
2633
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
2536
2634
|
initialData: import("../../../es/shared/types").AnyObject;
|
|
2537
2635
|
parallelism: number;
|