cnhis-design-vue 3.1.45-beta.9 → 3.1.45-release.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/base-search/index.d.ts +0 -2
- package/es/components/base-search/src/index.vue.d.ts +0 -2
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +11 -165
- package/es/components/classification/src/index.vue.d.ts +11 -165
- package/es/components/fabric-chart/index.d.ts +5 -40
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -40
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +0 -20
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +0 -13
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -2
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +38 -157
- package/es/components/field-set/src/FieldSet.vue.d.ts +23 -160
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +0 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -31
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -33
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -11
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +0 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +0 -2
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -31
- package/es/components/form-render/src/components/renderer/combination.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -2
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +0 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +10 -72
- package/es/components/info-header/src/InfoHeader.vue.d.ts +10 -72
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -31
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -31
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +0 -2
- package/es/components/quick-search/src/index.vue.d.ts +0 -2
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/search-cascader/index.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
- package/es/components/search-cascader/src/hooks/index.js +1 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +4 -31
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -31
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -165
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -18
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +10 -128
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +10 -163
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -165
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +5 -99
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +5 -7
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +5 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -15
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +25 -520
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +3 -10
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +24 -548
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +0 -2
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/useAsyncQueue.d.ts +1 -3
- package/es/shared/hooks/useAsyncQueue.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +0 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +0 -132
- package/es/components/field-set/src/components/Row.vue.js +0 -1
- package/es/components/field-set/src/components/Row.vue2.js +0 -1
- package/es/components/field-set/src/utils/index.d.ts +0 -7
- package/es/components/field-set/src/utils/index.js +0 -1
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +0 -61
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -218
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +0 -45
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -175
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -114
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
export const SearchMenu: vue_1.DefineComponent<{
|
|
3
|
-
childKey: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: ArrayConstructor;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
labelKey: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
valueKey: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
currentNode: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
};
|
|
22
|
-
cursorNode: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
};
|
|
25
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
26
|
-
childKey: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
options: {
|
|
31
|
-
type: ArrayConstructor;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
labelKey: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
valueKey: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
currentNode: {
|
|
43
|
-
type: ObjectConstructor;
|
|
44
|
-
};
|
|
45
|
-
cursorNode: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
};
|
|
48
|
-
}>> & {
|
|
49
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
options: unknown[];
|
|
53
|
-
valueKey: string;
|
|
54
|
-
childKey: string;
|
|
55
|
-
labelKey: string;
|
|
56
|
-
}>;
|
|
57
|
-
import vue_1 = require("vue");
|
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { SelectOption } from 'naive-ui';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
paramCfg: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
default: null;
|
|
6
|
-
};
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
9
|
-
default: null;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
paramCfg: {
|
|
14
|
-
type: ObjectConstructor;
|
|
15
|
-
default: null;
|
|
16
|
-
};
|
|
17
|
-
modelValue: {
|
|
18
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
19
|
-
default: null;
|
|
20
|
-
};
|
|
21
|
-
}>> & {
|
|
22
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}>>;
|
|
24
|
-
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
25
|
-
$attrs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
29
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
30
|
-
isLoading: import("vue").Ref<boolean>;
|
|
31
|
-
filterApiConfig: import("../../../../..").AnyObject;
|
|
32
|
-
valueCp: import("vue").WritableComputedRef<any>;
|
|
33
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
34
|
-
isMultiple: import("vue").ComputedRef<boolean>;
|
|
35
|
-
searchOptions: (keyword: string) => Promise<any>;
|
|
36
|
-
_handleSearch: (query: string) => Promise<void>;
|
|
37
|
-
handleSearch: (query: string) => Promise<void>;
|
|
38
|
-
handleInitData: () => Promise<void>;
|
|
39
|
-
renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}>;
|
|
42
|
-
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}>;
|
|
45
|
-
NSelect: any;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
paramCfg: {
|
|
48
|
-
type: ObjectConstructor;
|
|
49
|
-
default: null;
|
|
50
|
-
};
|
|
51
|
-
modelValue: {
|
|
52
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
53
|
-
default: null;
|
|
54
|
-
};
|
|
55
|
-
}>> & {
|
|
56
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
modelValue: string | number | unknown[];
|
|
59
|
-
paramCfg: Record<string, any>;
|
|
60
|
-
}>;
|
|
61
|
-
export default _default;
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
DELETED
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '../../../../../../../es/shared/types';
|
|
3
|
-
declare type ITypeDate = 'date' | 'datetime';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
componentCfg: {
|
|
6
|
-
type: PropType<AnyObject>;
|
|
7
|
-
};
|
|
8
|
-
type: {
|
|
9
|
-
type: PropType<ITypeDate>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
clearable: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
valueFormat: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
placeholder: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
value: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
componentCfg: {
|
|
31
|
-
type: PropType<AnyObject>;
|
|
32
|
-
};
|
|
33
|
-
type: {
|
|
34
|
-
type: PropType<ITypeDate>;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
clearable: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
valueFormat: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
placeholder: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
value: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
}>> & {
|
|
54
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
}>>;
|
|
56
|
-
emit: (event: "update:value", ...args: any[]) => void;
|
|
57
|
-
valueCp: import("vue").Ref<any>;
|
|
58
|
-
isShowDateRange: import("vue").Ref<boolean>;
|
|
59
|
-
radioValue: import("vue").Ref<string>;
|
|
60
|
-
dateFormat: import("vue").ComputedRef<string>;
|
|
61
|
-
showTabStr: import("vue").ComputedRef<string>;
|
|
62
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
63
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
64
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
65
|
-
onlyRadio: import("vue").ComputedRef<boolean>;
|
|
66
|
-
defaultTime: import("vue").ComputedRef<string>;
|
|
67
|
-
changeDateShowType: () => void;
|
|
68
|
-
handleClickQuickBtn: (result: string) => void;
|
|
69
|
-
changeRadioValue: (value: string) => void;
|
|
70
|
-
handleChange: (val: any) => void;
|
|
71
|
-
isDateDisabled: (ts: number) => boolean;
|
|
72
|
-
timeDisabled: (ts: number) => {
|
|
73
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
74
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
75
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
76
|
-
};
|
|
77
|
-
init: () => void;
|
|
78
|
-
NButton: any;
|
|
79
|
-
CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
80
|
-
updateUnchangedValue: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
};
|
|
83
|
-
onConfirm: {
|
|
84
|
-
type: FunctionConstructor;
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
attrs: {
|
|
88
|
-
[x: string]: unknown;
|
|
89
|
-
};
|
|
90
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
-
updateUnchangedValue: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
};
|
|
94
|
-
onConfirm: {
|
|
95
|
-
type: FunctionConstructor;
|
|
96
|
-
};
|
|
97
|
-
}>> & {}>>;
|
|
98
|
-
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
99
|
-
panelInstRef: import("vue").Ref<null>;
|
|
100
|
-
isDateTime: import("vue").ComputedRef<boolean>;
|
|
101
|
-
formatRef: import("vue").ComputedRef<string>;
|
|
102
|
-
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
103
|
-
focus: () => any;
|
|
104
|
-
blur: () => any;
|
|
105
|
-
onUpdateShow: (show: boolean) => void;
|
|
106
|
-
onConfirm: (...args: any[]) => void;
|
|
107
|
-
NDatePicker: any;
|
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
-
updateUnchangedValue: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
};
|
|
112
|
-
onConfirm: {
|
|
113
|
-
type: FunctionConstructor;
|
|
114
|
-
};
|
|
115
|
-
}>>, {
|
|
116
|
-
updateUnchangedValue: boolean;
|
|
117
|
-
}>>;
|
|
118
|
-
DateQuickBtn: import("vue").DefineComponent<{
|
|
119
|
-
componentCfg: {
|
|
120
|
-
type: PropType<AnyObject>;
|
|
121
|
-
};
|
|
122
|
-
type: {
|
|
123
|
-
type: PropType<"date" | "datetime">;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
|
-
dateFormat: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
radioValue: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
}, {
|
|
135
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
136
|
-
componentCfg: {
|
|
137
|
-
type: PropType<AnyObject>;
|
|
138
|
-
};
|
|
139
|
-
type: {
|
|
140
|
-
type: PropType<"date" | "datetime">;
|
|
141
|
-
default: string;
|
|
142
|
-
};
|
|
143
|
-
dateFormat: {
|
|
144
|
-
type: StringConstructor;
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
|
-
radioValue: {
|
|
148
|
-
type: StringConstructor;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
}>> & {
|
|
152
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
154
|
-
}>>;
|
|
155
|
-
emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
|
|
156
|
-
dateList: import("vue").Ref<any[]>;
|
|
157
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
158
|
-
isRange: import("vue").ComputedRef<any>;
|
|
159
|
-
initData: () => void;
|
|
160
|
-
handleRadioClick: (value: string) => void;
|
|
161
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
-
componentCfg: {
|
|
163
|
-
type: PropType<AnyObject>;
|
|
164
|
-
};
|
|
165
|
-
type: {
|
|
166
|
-
type: PropType<"date" | "datetime">;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
|
-
dateFormat: {
|
|
170
|
-
type: StringConstructor;
|
|
171
|
-
default: string;
|
|
172
|
-
};
|
|
173
|
-
radioValue: {
|
|
174
|
-
type: StringConstructor;
|
|
175
|
-
default: string;
|
|
176
|
-
};
|
|
177
|
-
}>> & {
|
|
178
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
179
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
type: "date" | "datetime";
|
|
182
|
-
dateFormat: string;
|
|
183
|
-
radioValue: string;
|
|
184
|
-
}>;
|
|
185
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
186
|
-
componentCfg: {
|
|
187
|
-
type: PropType<AnyObject>;
|
|
188
|
-
};
|
|
189
|
-
type: {
|
|
190
|
-
type: PropType<ITypeDate>;
|
|
191
|
-
default: string;
|
|
192
|
-
};
|
|
193
|
-
clearable: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: boolean;
|
|
196
|
-
};
|
|
197
|
-
valueFormat: {
|
|
198
|
-
type: StringConstructor;
|
|
199
|
-
default: string;
|
|
200
|
-
};
|
|
201
|
-
placeholder: {
|
|
202
|
-
type: StringConstructor;
|
|
203
|
-
default: string;
|
|
204
|
-
};
|
|
205
|
-
value: {
|
|
206
|
-
type: StringConstructor;
|
|
207
|
-
default: string;
|
|
208
|
-
};
|
|
209
|
-
}>> & {
|
|
210
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
211
|
-
}, {
|
|
212
|
-
type: ITypeDate;
|
|
213
|
-
value: string;
|
|
214
|
-
placeholder: string;
|
|
215
|
-
clearable: boolean;
|
|
216
|
-
valueFormat: string;
|
|
217
|
-
}>;
|
|
218
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./DateInner.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","DateInner.vue"]]);export{t as default};
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as a,watch as l,openBlock as u,createElementBlock as o,unref as r,createBlock as n,createCommentVNode as i,normalizeClass as d,withCtx as m,createTextVNode as p,toDisplayString as v}from"vue";import{NButton as c}from"naive-ui";import s from"../../../../../date-picker/index.js";import f from"moment";import{isString as y}from"lodash-es";import{WidgetOptionEnums as g}from"../../../types/enums.js";import{dateDisabledCollect as b,setDateDisabled as h,setTimeDisabled as k}from"../helpers/dateDisabled.js";import C from"./DateQuickBtn/index.vue.js";const M={class:"render-widget-date-range"};var T=e({__name:"DateInner",props:{componentCfg:{type:Object},type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},placeholder:{type:String,default:"请输入"},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:T}){const Y=e,D=t(),F=t(!1),S=t(""),E=a((()=>{let e="";switch(Y.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),_=a((()=>{let e="";switch(Y.type){case"date":e="选择日期";break;case"datetime":e="选择时间"}return e})),j=a((()=>{var e;return null==(e=Y.componentCfg)?void 0:e.widgetCfg.optionSetting}));a((()=>j.value===g.PAST_TIME)),a((()=>j.value===g.FUTURE_TIME));const w=a((()=>j.value!==g.SELECT_TIME)),I=a((()=>b.curTime));function x(){w.value&&(F.value=!F.value)}function B(e){T("update:value",e)}function U(e){S.value=e}function V(e){D.value=e;const t=e?f(e).format(E.value):e;T("update:value",t)}function H(e){return h(e,j.value)}function O(e){return k(e,j.value)}return l((()=>Y.value),(e=>{e&&y(e)?D.value=f(e).valueOf():D.value=null}),{immediate:!0}),w.value||(F.value=!0),(t,a)=>(u(),o("div",M,[r(w)&&!F.value?(u(),n(C,{key:0,componentCfg:e.componentCfg,type:e.type,dateFormat:r(E),radioValue:S.value,onClickQuickBtn:B,onChangeRadioValue:U},null,8,["componentCfg","type","dateFormat","radioValue"])):i("v-if",!0),r(w)?(u(),n(r(c),{key:1,secondary:"",class:d(F.value?"select-date-right":"select-date-left"),onClick:x},{default:m((()=>[p(v(r(_)),1)])),_:1},8,["class"])):i("v-if",!0),!r(w)||F.value?(u(),n(r(s),{key:2,to:"body",type:e.type,clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.placeholder,value:D.value,defaultTime:r(I),"is-date-disabled":H,"is-time-disabled":O,"onUpdate:value":V},null,8,["type","clearable","valueFormat","placeholder","value","defaultTime"])):i("v-if",!0)]))}});export{T as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./DateOut.vue2.js";import t from"../../../../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","DateOut.vue"]]);export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as a,watch as l,openBlock as r,createBlock as o,unref as u}from"vue";import p from"../../../../../date-picker/index.js";import n from"moment";import{isString as i}from"lodash-es";import{WidgetOptionEnums as m}from"../../../types/enums.js";import{DateExtraOptions as d,DateExtraMap as s}from"../helpers/dateExtraMap.js";import{setDateDisabled as v,setTimeDisabled as f}from"../helpers/dateDisabled.js";import{presetValToTimestamp as c}from"../helpers/presetValToTimestamp.js";var y=e({__name:"DateOut",props:{componentCfg:{type:Object},type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},placeholder:{type:String,default:"请输入"},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:y}){const g=e,h=t(),b=t(),Y=a((()=>{let e="";switch(g.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),M=a((()=>{var e;return null==(e=g.componentCfg)?void 0:e.widgetCfg.optionSetting}));function j(e){h.value=e;const t=e?n(e).format(Y.value):e;y("update:value",t)}function D(e){return v(e,M.value)}function C(e){return f(e,M.value)}return l((()=>g.value),(e=>{e&&i(e)?h.value=n(e).valueOf():h.value=null}),{immediate:!0}),function(){var e,t;const{originType:a}=null==(e=g.componentCfg)?void 0:e.widgetCfg,l=`${a}_${M.value||m.ALL}`,r=null!=(t=d[s[l]])?t:[];let o={};r.forEach((({label:e,value:t})=>{const a=c(t,Y.value,!0);a&&(o[e]=a.valueOf())})),b.value=o}(),(t,a)=>(r(),o(u(p),{to:"body",type:e.type,clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.placeholder,value:h.value,"default-time":"00:00:00","is-date-disabled":D,"is-time-disabled":C,shortcuts:b.value,"onUpdate:value":j},null,8,["type","clearable","valueFormat","placeholder","value","shortcuts"]))}});export{y as default};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '../../../../../../../../es/shared/types';
|
|
3
|
-
declare type ITypeDate = 'date' | 'datetime';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
componentCfg: {
|
|
6
|
-
type: PropType<AnyObject>;
|
|
7
|
-
};
|
|
8
|
-
type: {
|
|
9
|
-
type: PropType<ITypeDate>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
dateFormat: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
radioValue: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
componentCfg: {
|
|
23
|
-
type: PropType<AnyObject>;
|
|
24
|
-
};
|
|
25
|
-
type: {
|
|
26
|
-
type: PropType<ITypeDate>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
dateFormat: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
radioValue: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
}>> & {
|
|
38
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}>>;
|
|
41
|
-
emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
|
|
42
|
-
dateList: import("vue").Ref<any[]>;
|
|
43
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
44
|
-
isRange: import("vue").ComputedRef<any>;
|
|
45
|
-
initData: () => void;
|
|
46
|
-
handleRadioClick: (value: string) => void;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
componentCfg: {
|
|
49
|
-
type: PropType<AnyObject>;
|
|
50
|
-
};
|
|
51
|
-
type: {
|
|
52
|
-
type: PropType<ITypeDate>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
dateFormat: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
radioValue: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
64
|
-
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
type: ITypeDate;
|
|
68
|
-
dateFormat: string;
|
|
69
|
-
radioValue: string;
|
|
70
|
-
}>;
|
|
71
|
-
export default _default;
|
package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./index.vue2.js";import r from"../../../../../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as a,openBlock as o,createElementBlock as n,Fragment as i,renderList as r,normalizeClass as l,toDisplayString as u}from"vue";import{WidgetDateOptionEnums as p}from"../../helpers/enums.js";import{widgetDateValOptions as c}from"../../helpers/dateExtraMap.js";import{formatDateRangeInfo as d,presetValToTimestamp as m}from"../../helpers/presetValToTimestamp.js";import{WidgetOptionEnums as s}from"../../../../types/enums.js";const f={class:"radio-date-group"},g=["onClick"];var v=e({__name:"index",props:{componentCfg:{type:Object},type:{type:String,default:"date"},dateFormat:{type:String,default:"YYYY-MM-DD"},radioValue:{type:String,default:""}},emits:["clickQuickBtn","changeRadioValue"],setup(e,{emit:v}){const y=e,C=t([]),k=a((()=>{var e;return null==(e=y.componentCfg)?void 0:e.widgetCfg.optionSetting})),V=a((()=>{var e;return null==(e=y.componentCfg)?void 0:e.rangeFilter}));return function(){var e,t;const{originType:a}=null==(e=y.componentCfg)?void 0:e.widgetCfg,o=`${a}_${k.value||s.ALL}${V.value?"_RANGE":""}`,n=p[o];C.value=null!=(t=c[n])?t:[]}(),(t,a)=>(o(),n("div",f,[(o(!0),n(i,null,r(C.value,(t=>(o(),n("span",{key:t.con,class:l(["radio-date-item",e.radioValue===t.con?"radio-date-item-active":""]),onClick:e=>function(e){const t=y.radioValue===e?"":e;if(t){const e=V.value?d(t,y.dateFormat,k.value):m(t,y.dateFormat);v("clickQuickBtn",e)}v("changeRadioValue",t)}(t.con)},u(t.title),11,g)))),128))]))}});export{v as default};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { SelectOption } from 'naive-ui';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
value: {
|
|
4
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
value: {
|
|
9
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
10
|
-
};
|
|
11
|
-
}>> & {
|
|
12
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}>>;
|
|
15
|
-
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
16
|
-
$attrs: {
|
|
17
|
-
[x: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
emit: (event: "update:value" | "changeInitState", ...args: any[]) => void;
|
|
20
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
21
|
-
isRemote: import("vue").Ref<boolean>;
|
|
22
|
-
isLoading: import("vue").Ref<boolean>;
|
|
23
|
-
filterApiConfig: import("../../../../..").AnyObject;
|
|
24
|
-
valueCp: import("vue").WritableComputedRef<unknown>;
|
|
25
|
-
searchOptions: (keyword: string) => Promise<any>;
|
|
26
|
-
_handleSearch: (query: string) => Promise<void>;
|
|
27
|
-
handleSearch: (query: string) => Promise<void>;
|
|
28
|
-
handleInitData: () => Promise<void>;
|
|
29
|
-
renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
}>;
|
|
32
|
-
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>;
|
|
35
|
-
init: () => Promise<void>;
|
|
36
|
-
NSelect: any;
|
|
37
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "changeInitState")[], "update:value" | "changeInitState", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
value: {
|
|
39
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
40
|
-
};
|
|
41
|
-
}>> & {
|
|
42
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}, {}>;
|
|
45
|
-
export default _default;
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
value: {
|
|
3
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
4
|
-
};
|
|
5
|
-
componentCfg: {
|
|
6
|
-
type: ObjectConstructor;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
message: import("naive-ui").MessageApi;
|
|
10
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
value: {
|
|
12
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
13
|
-
};
|
|
14
|
-
componentCfg: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
};
|
|
17
|
-
}>> & {
|
|
18
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
20
|
-
}>>;
|
|
21
|
-
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
22
|
-
$attrs: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
emit: (event: "update:value" | "changeInitState", ...args: any[]) => void;
|
|
26
|
-
isLoading: import("vue").Ref<boolean>;
|
|
27
|
-
filterApiConfig: import("../../../../..").AnyObject;
|
|
28
|
-
curPage: import("vue").Ref<number>;
|
|
29
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
30
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
31
|
-
keywordVal: import("vue").Ref<any>;
|
|
32
|
-
totalPage: import("vue").Ref<number>;
|
|
33
|
-
menuProps: {
|
|
34
|
-
class: string;
|
|
35
|
-
};
|
|
36
|
-
isMultiple: import("vue").ComputedRef<unknown>;
|
|
37
|
-
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
|
38
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
39
|
-
valueCp: import("vue").ComputedRef<string | number | any[] | null>;
|
|
40
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
41
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
42
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
43
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
44
|
-
_handleSearch: (query: string) => Promise<void>;
|
|
45
|
-
handleSearch: (query: string) => Promise<void>;
|
|
46
|
-
handleInitData: () => Promise<void>;
|
|
47
|
-
handleClear: () => Promise<void>;
|
|
48
|
-
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}>;
|
|
51
|
-
init: () => Promise<void>;
|
|
52
|
-
NSelect: any;
|
|
53
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
54
|
-
dynamicOptionInfo: {
|
|
55
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
56
|
-
default: () => {};
|
|
57
|
-
};
|
|
58
|
-
fieldTitleList: {
|
|
59
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
60
|
-
default: () => never[];
|
|
61
|
-
};
|
|
62
|
-
optionList: {
|
|
63
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
64
|
-
default: () => never[];
|
|
65
|
-
};
|
|
66
|
-
isMultiple: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
curPage: {
|
|
71
|
-
type: NumberConstructor;
|
|
72
|
-
default: number;
|
|
73
|
-
};
|
|
74
|
-
isLastPage: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
}, {
|
|
79
|
-
selectMinWidth: number;
|
|
80
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
dynamicOptionInfo: {
|
|
82
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
fieldTitleList: {
|
|
86
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
87
|
-
default: () => never[];
|
|
88
|
-
};
|
|
89
|
-
optionList: {
|
|
90
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
91
|
-
default: () => never[];
|
|
92
|
-
};
|
|
93
|
-
isMultiple: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
|
-
curPage: {
|
|
98
|
-
type: NumberConstructor;
|
|
99
|
-
default: number;
|
|
100
|
-
};
|
|
101
|
-
isLastPage: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
}>> & {
|
|
106
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}>>;
|
|
109
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
110
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
111
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
112
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
113
|
-
handleSelect: (option: any) => void;
|
|
114
|
-
searchByPage: (onePage: number) => void;
|
|
115
|
-
changeWidth: ({ distance }: any) => void;
|
|
116
|
-
saveWidth: () => void;
|
|
117
|
-
NEmpty: any;
|
|
118
|
-
NButtonGroup: any;
|
|
119
|
-
NButton: any;
|
|
120
|
-
NIcon: any;
|
|
121
|
-
NPopover: any;
|
|
122
|
-
vFlexibleResize: {
|
|
123
|
-
mounted(el: any, { value }: any): void;
|
|
124
|
-
beforeUnmount(el: any): void;
|
|
125
|
-
};
|
|
126
|
-
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
127
|
-
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
128
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
dynamicOptionInfo: {
|
|
130
|
-
type: import("vue").PropType<import("../../../../..").AnyObject>;
|
|
131
|
-
default: () => {};
|
|
132
|
-
};
|
|
133
|
-
fieldTitleList: {
|
|
134
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
135
|
-
default: () => never[];
|
|
136
|
-
};
|
|
137
|
-
optionList: {
|
|
138
|
-
type: import("vue").PropType<import("../../../../..").AnyObject[]>;
|
|
139
|
-
default: () => never[];
|
|
140
|
-
};
|
|
141
|
-
isMultiple: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
curPage: {
|
|
146
|
-
type: NumberConstructor;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
isLastPage: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
}>> & {
|
|
154
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
dynamicOptionInfo: import("../../../../..").AnyObject;
|
|
158
|
-
fieldTitleList: import("../../../../..").AnyObject[];
|
|
159
|
-
optionList: import("../../../../..").AnyObject[];
|
|
160
|
-
isMultiple: boolean;
|
|
161
|
-
curPage: number;
|
|
162
|
-
isLastPage: boolean;
|
|
163
|
-
}>;
|
|
164
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "changeInitState")[], "update:value" | "changeInitState", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
165
|
-
value: {
|
|
166
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
167
|
-
};
|
|
168
|
-
componentCfg: {
|
|
169
|
-
type: ObjectConstructor;
|
|
170
|
-
};
|
|
171
|
-
}>> & {
|
|
172
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
173
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
174
|
-
}, {}>;
|
|
175
|
-
export default _default;
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./SelectDynamic.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectDynamic.vue"]]);export{t as default};
|