cnhis-design-vue 3.1.42-beta.0 → 3.1.42-release.0
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/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/style/index.css +1 -1
- package/es/components/big-table/index.d.ts +3 -4
- package/es/components/big-table/src/BigTable.vue.d.ts +3 -4
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +6 -7
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -7
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/field-set/index.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/form-config/index.d.ts +37 -46
- package/es/components/form-config/src/FormConfig.vue.d.ts +37 -46
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -9
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -33
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +16 -16
- package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +0 -3
- package/es/components/iho-table/src/IhoTable.vue.d.ts +0 -3
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +4 -4
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +7 -20
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -18
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +0 -1
- package/es/components/iho-table/src/utils/index.d.ts +0 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -8
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +156 -3799
- package/es/components/info-header/src/InfoHeader.vue.d.ts +156 -3800
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +139 -2669
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -745
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
- package/es/components/info-header/src/types/index.d.ts +3 -17
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +2 -4
- package/es/components/keyboard/src/Keyboard.vue.d.ts +2 -4
- package/es/components/keyboard/src/Keyboard.vue.js +1 -1
- package/es/components/keyboard/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/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +116 -69
- package/es/components/search-cascader/index.d.ts +2 -2
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/select-label/index.d.ts +169 -70
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +53 -1
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +116 -70
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue.js +1 -1
- package/es/components/select-label/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -17
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
- package/es/components/steps-wheel/index.d.ts +0 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +0 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/table-filter/index.d.ts +2385 -0
- package/es/components/table-filter/index.js +1 -1
- package/es/components/{base-search/src/index.vue.d.ts → table-filter/src/base-search-com/BaseSearch.vue.d.ts} +91 -26
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
- package/es/components/{classification/src/index.vue.d.ts → table-filter/src/classification/Classification-com.vue.d.ts} +291 -57
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +42 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +8 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +1 -2
- 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 +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/{classification → table-filter}/src/components/search-filter/index.vue.d.ts +93 -10
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/{classification → table-filter}/src/components/set-classification/index.vue.d.ts +130 -5
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/{classification → table-filter}/src/components/table-modal/index.vue.d.ts +42 -0
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/const/index.d.ts +5 -0
- package/es/components/table-filter/src/const/index.js +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +54 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +1 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.js +1 -0
- package/es/components/{quick-search/src/index.vue.d.ts → table-filter/src/quick-search/QuickSearch.vue.d.ts} +120 -31
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
- package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
- package/es/components/table-filter/src/tool/time-domain.js +1 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +37 -1
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/tool/utils.d.ts +4 -0
- package/es/components/table-filter/src/tool/utils.js +1 -0
- package/es/components/table-filter/src/types/enums.d.ts +0 -1
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +169 -13
- package/es/components/table-filter/style/index.css +1 -0
- package/es/shared/utils/index.d.ts +0 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/base-search/index.d.ts +0 -293
- package/es/components/base-search/index.js +0 -1
- package/es/components/base-search/src/index.vue.js +0 -1
- package/es/components/base-search/style/iconfont.ttf +0 -0
- package/es/components/base-search/style/index.css +0 -1
- package/es/components/button-print/src/api.d.ts +0 -3
- package/es/components/button-print/src/api.js +0 -1
- package/es/components/classification/index.d.ts +0 -995
- package/es/components/classification/index.js +0 -1
- package/es/components/classification/src/components/search-filter/index.vue.js +0 -1
- package/es/components/classification/src/components/set-classification/index.vue.js +0 -1
- package/es/components/classification/src/components/table-modal/index.vue.js +0 -1
- package/es/components/classification/src/const/index.d.ts +0 -2
- package/es/components/classification/src/const/index.js +0 -1
- package/es/components/classification/src/index.vue.js +0 -1
- package/es/components/classification/style/iconfont.ttf +0 -0
- package/es/components/classification/style/index.css +0 -1
- package/es/components/config-provider/index.d.ts +0 -14
- package/es/components/config-provider/index.js +0 -1
- package/es/components/config-provider/src/ConfigProvider.d.ts +0 -14
- package/es/components/config-provider/src/ConfigProvider.js +0 -1
- package/es/components/config-provider/src/interface.d.ts +0 -19
- package/es/components/config-provider/src/interface.js +0 -1
- package/es/components/config-provider/src/utils/index.d.ts +0 -2
- package/es/components/config-provider/src/utils/index.js +0 -1
- package/es/components/date-picker/index.d.ts +0 -20
- package/es/components/date-picker/index.js +0 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +0 -20
- package/es/components/date-picker/src/DatePicker.vue.js +0 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +0 -1842
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +0 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +0 -1972
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +0 -1
- package/es/components/info-header/src/constants/index.d.ts +0 -4
- package/es/components/info-header/src/constants/index.js +0 -1
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +0 -4
- package/es/components/info-header/src/hooks/useThemeOverrides.js +0 -1
- package/es/components/keyboard/src/constants/index.d.ts +0 -2
- package/es/components/keyboard/src/constants/index.js +0 -1
- package/es/components/quick-search/index.d.ts +0 -713
- package/es/components/quick-search/index.js +0 -1
- package/es/components/quick-search/src/index.vue.js +0 -1
- package/es/components/quick-search/style/index.css +0 -1
- package/es/components/select-label/style/iconfont.ttf +0 -0
- package/es/components/steps-wheel/src/constants/index.d.ts +0 -2
- package/es/components/steps-wheel/src/constants/index.js +0 -1
- package/es/components/time-picker/index.d.ts +0 -18
- package/es/components/time-picker/index.js +0 -1
- package/es/components/time-picker/src/TimePicker.vue.d.ts +0 -18
- package/es/components/time-picker/src/TimePicker.vue.js +0 -1
- package/es/shared/mixins/index.d.ts +0 -1
- package/es/shared/mixins/index.js +0 -1
- package/es/shared/mixins/useTheme.d.ts +0 -3
- package/es/shared/mixins/useTheme.js +0 -1
- /package/es/components/{classification → table-filter}/src/directive/flexibleResize.d.ts +0 -0
- /package/es/components/{classification → table-filter}/src/directive/flexibleResize.js +0 -0
- /package/es/components/{base-search → table-filter}/src/directive/resize.d.ts +0 -0
- /package/es/components/{base-search → table-filter}/src/directive/resize.js +0 -0
- /package/es/components/table-filter/src/tool/{baseOptions.d.ts → options.d.ts} +0 -0
- /package/es/components/table-filter/src/tool/{baseOptions.js → options.js} +0 -0
- /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.d.ts +0 -0
- /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=Object.prototype.toString,r=r=>"[object String]"===t.call(r),e=t=>{for(const r in t)return!1;return!0},n=t=>{if(!e(t))return Object.keys(t).forEach((e=>{if(r(t[e])){if(t[e]&&t[e].startsWith("###{")){const r=JSON.parse(t[e].replace("###",""));t[e]=r.change_text}t[e]&&t[e].startsWith("{")&&JSON.parse(t[e]).objs&&(t[e]=JSON.parse(t[e]).objStr)}})),t},o=t=>null==t||null==t;export{e as isEmpty,o as isNil,r as isString,n as paramsToPrintValue};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const T={TEXT:"TEXT",NUMBER:"NUMBER",DATE:"DATE",DATE_TIME:"DATETIME",TIME:"TIME",BOOLEAN:"BOOLEAN"},E={SQL:"SQL",API:"API"},A={MANUAL:"manual",DICT:"dict"},_={INPUT_NUMBER:"NUMBER",INPUT:"TEXT",SELECT:"SELECT",DATE:"DATE",DATE_TIME:"DATETIME"
|
|
1
|
+
const T={TEXT:"TEXT",NUMBER:"NUMBER",DATE:"DATE",DATE_TIME:"DATETIME",TIME:"TIME",BOOLEAN:"BOOLEAN"},E={SQL:"SQL",API:"API"},A={MANUAL:"manual",DICT:"dict"},_={INPUT_NUMBER:"NUMBER",INPUT:"TEXT",SELECT:"SELECT",DATE:"DATE",DATE_TIME:"DATETIME"},R={RADIO:"SELECT_SINGLE",MULTIPLE:"SELECT_MULTIPLE",ALL:"DATETIME_WHOLE",SELECT_TIME:"DATETIME_SELECT",PAST_TIME:"DATETIME_PAST",FUTURE_TIME:"DATETIME_FUTURE"},S={CUSTOM:"CUSTOM",FIRST_VAL:"FIRST",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",THIS_WEEK:"THIS_WEEK",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",NEXT_WEEK:"NEXT_WEEK",LAST_WEEK:"LAST_WEEK",THIS_MONTH:"THIS_MONTH",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END",NEXT_MONTH:"NEXT_MONTH",LAST_MONTH:"LAST_MONTH",THIS_QUARTER:"THIS_QUARTER",NEXT_QUARTER:"NEXT_QUARTER",LAST_QUARTER:"LAST_QUARTER",THIS_YEAR:"THIS_YEAR",NEXT_YEAR:"NEXT_YEAR",LAST_YEAR:"LAST_YEAR"},O={NULL:"NULL",EQUAL:"EQ"};export{O as ConditionEnums,E as DataTypeEnums,T as FieldTypeEnums,A as MappingMethodEnums,R as WidgetOptionEnums,_ as WidgetTypeEnums,S as WidgetValEnums};
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
export declare type funcVoid = () => void;
|
|
2
|
+
export declare type IrelationType = {
|
|
3
|
+
fieldList?: any;
|
|
4
|
+
valueField?: any;
|
|
5
|
+
primaryField?: any;
|
|
6
|
+
relationField?: any;
|
|
7
|
+
tableId: any;
|
|
8
|
+
parameterConversionId: any;
|
|
9
|
+
converFun: any;
|
|
10
|
+
preConObj: any;
|
|
11
|
+
relationOrgId: any;
|
|
12
|
+
preSqlExpression: any;
|
|
13
|
+
tableName?: string;
|
|
14
|
+
quote_con?: {
|
|
15
|
+
conObj: ISearchConfigType;
|
|
16
|
+
sqlExpression: string;
|
|
17
|
+
};
|
|
18
|
+
field_key?: string;
|
|
19
|
+
con?: string;
|
|
20
|
+
};
|
|
2
21
|
export declare type ISearchType = {
|
|
3
22
|
columnName: string;
|
|
4
23
|
title: string;
|
|
@@ -9,6 +28,8 @@ export declare type ISearchType = {
|
|
|
9
28
|
settingObj?: any;
|
|
10
29
|
placeholder?: string;
|
|
11
30
|
AGEAttr?: boolean;
|
|
31
|
+
BIRTHDAY?: IDateType;
|
|
32
|
+
DATE?: IDateType;
|
|
12
33
|
CL?: string;
|
|
13
34
|
CONVERT?: any;
|
|
14
35
|
EVALUATEAttr?: boolean;
|
|
@@ -32,6 +53,7 @@ export declare type ISearchType = {
|
|
|
32
53
|
comAttr?: string;
|
|
33
54
|
con?: string;
|
|
34
55
|
dataSource?: any;
|
|
56
|
+
dateTeam?: ITeamType[];
|
|
35
57
|
dictionarieObj?: any;
|
|
36
58
|
explicitRequired?: number;
|
|
37
59
|
explicitDefaultVal?: string;
|
|
@@ -83,6 +105,14 @@ export declare type ISearchType = {
|
|
|
83
105
|
hasFieldList?: any;
|
|
84
106
|
search_DefaultValue?: any;
|
|
85
107
|
};
|
|
108
|
+
export declare type IDateType = {
|
|
109
|
+
con: any;
|
|
110
|
+
limit_date?: any;
|
|
111
|
+
start_val: any;
|
|
112
|
+
end_val: any;
|
|
113
|
+
unit?: string;
|
|
114
|
+
units?: ITeamType[];
|
|
115
|
+
};
|
|
86
116
|
export declare type IlabelType = {
|
|
87
117
|
labelId?: string;
|
|
88
118
|
change_text: string;
|
|
@@ -101,12 +131,50 @@ export declare type IFilterItemType = {
|
|
|
101
131
|
key?: string;
|
|
102
132
|
value: string;
|
|
103
133
|
};
|
|
134
|
+
export declare type IsettingType = {
|
|
135
|
+
acrossTable?: string;
|
|
136
|
+
attr?: string;
|
|
137
|
+
colorAndIcon?: any;
|
|
138
|
+
colorSetting?: any;
|
|
139
|
+
fontContentCopy?: string;
|
|
140
|
+
format?: string;
|
|
141
|
+
isHide?: string;
|
|
142
|
+
isSystemField?: string;
|
|
143
|
+
labelType?: any;
|
|
144
|
+
notParticipatingSearch?: string;
|
|
145
|
+
notParticipatingSort?: string;
|
|
146
|
+
relationTable?: any;
|
|
147
|
+
showSetting?: IlabelType[];
|
|
148
|
+
wordbook?: IwordbookType;
|
|
149
|
+
isPreciseSearch?: number;
|
|
150
|
+
};
|
|
151
|
+
export declare type IwordbookType = {
|
|
152
|
+
id?: string;
|
|
153
|
+
showType?: string;
|
|
154
|
+
params?: any;
|
|
155
|
+
autograph?: any;
|
|
156
|
+
field_key?: string;
|
|
157
|
+
showKeys?: any;
|
|
158
|
+
filterKeys?: any;
|
|
159
|
+
wordbookType?: any;
|
|
160
|
+
};
|
|
104
161
|
export declare type IParentNamesType = {
|
|
105
162
|
disabled: boolean;
|
|
106
163
|
isAdd?: boolean;
|
|
107
164
|
selected: boolean;
|
|
108
165
|
value: string;
|
|
109
166
|
};
|
|
167
|
+
export declare type ITeamType = {
|
|
168
|
+
con: string;
|
|
169
|
+
title: string;
|
|
170
|
+
name: string;
|
|
171
|
+
units?: number;
|
|
172
|
+
};
|
|
173
|
+
export declare type IEvaluateType = {
|
|
174
|
+
label: string;
|
|
175
|
+
value: string;
|
|
176
|
+
isSelect?: boolean;
|
|
177
|
+
};
|
|
110
178
|
export declare type ISaveType = {
|
|
111
179
|
id?: string;
|
|
112
180
|
tableId: string;
|
|
@@ -126,15 +194,26 @@ export declare type ILabelItemListType = {
|
|
|
126
194
|
typeId: string;
|
|
127
195
|
typeName: string;
|
|
128
196
|
};
|
|
197
|
+
export declare type ILabelType = {
|
|
198
|
+
addVal: string;
|
|
199
|
+
isShowBtn: boolean;
|
|
200
|
+
isUnfold: boolean;
|
|
201
|
+
itemList: ILabelItemListType[];
|
|
202
|
+
showAdd: boolean;
|
|
203
|
+
typeId: string;
|
|
204
|
+
typeName: string;
|
|
205
|
+
change_text?: string;
|
|
206
|
+
filter?: any;
|
|
207
|
+
};
|
|
129
208
|
export declare type IClassifyListType = {
|
|
209
|
+
classifyId: string;
|
|
130
210
|
displayCategory: string;
|
|
131
211
|
isDefault: boolean;
|
|
132
212
|
isEdit: boolean;
|
|
213
|
+
isPublic: string;
|
|
133
214
|
isShow: boolean;
|
|
134
215
|
name: string;
|
|
135
216
|
sid: string;
|
|
136
|
-
isPublic?: string;
|
|
137
|
-
classifyId?: string;
|
|
138
217
|
conObj?: any;
|
|
139
218
|
digital?: number;
|
|
140
219
|
checked?: boolean;
|
|
@@ -167,12 +246,70 @@ export declare type ITreeDataType = {
|
|
|
167
246
|
open?: boolean;
|
|
168
247
|
selected?: boolean;
|
|
169
248
|
};
|
|
249
|
+
export declare type IActionType = {
|
|
250
|
+
curKey: number;
|
|
251
|
+
field_key: string;
|
|
252
|
+
fieldId: any;
|
|
253
|
+
fieldType: string;
|
|
254
|
+
con: string;
|
|
255
|
+
searchList: any;
|
|
256
|
+
searchChildList: any;
|
|
257
|
+
dateList: any;
|
|
258
|
+
wordbookData: any;
|
|
259
|
+
relationData: any;
|
|
260
|
+
relationField: string;
|
|
261
|
+
relationFieldList: any;
|
|
262
|
+
quote_con: any;
|
|
263
|
+
title: string;
|
|
264
|
+
unit: string;
|
|
265
|
+
setting: string;
|
|
266
|
+
settingObj: any;
|
|
267
|
+
wordbookValueList: string[];
|
|
268
|
+
isIllegalField: boolean;
|
|
269
|
+
is_compare_field: boolean;
|
|
270
|
+
selectList: any;
|
|
271
|
+
customInput: boolean;
|
|
272
|
+
compare_field: any;
|
|
273
|
+
};
|
|
170
274
|
export declare type IConditionMapType = {
|
|
171
|
-
conditionList
|
|
172
|
-
displayCategoryList
|
|
173
|
-
tabConditionList
|
|
174
|
-
countTabCondition
|
|
175
|
-
settingId
|
|
275
|
+
conditionList: IClassifyListType[];
|
|
276
|
+
displayCategoryList: string[];
|
|
277
|
+
tabConditionList: any;
|
|
278
|
+
countTabCondition: string;
|
|
279
|
+
settingId: string;
|
|
280
|
+
};
|
|
281
|
+
export declare type ILocalObjType = {
|
|
282
|
+
autograph?: string;
|
|
283
|
+
extendParams?: any;
|
|
284
|
+
id?: string;
|
|
285
|
+
menuId?: string;
|
|
286
|
+
name?: string;
|
|
287
|
+
params?: any;
|
|
288
|
+
preConObj?: any;
|
|
289
|
+
preSqlExpression?: any;
|
|
290
|
+
primaryKeyValue?: any;
|
|
291
|
+
reportType?: any;
|
|
292
|
+
triggerObjContentObj?: ITriggerObjType;
|
|
293
|
+
type?: string;
|
|
294
|
+
};
|
|
295
|
+
export declare type ITriggerObjType = Record<'id' | 'name' | 'type', string>;
|
|
296
|
+
export declare type ISelectAllType = Record<'name' | 'sid', string>;
|
|
297
|
+
export declare type IOriginConditionType = {
|
|
298
|
+
checked?: boolean;
|
|
299
|
+
classifyId?: string;
|
|
300
|
+
conObj: ISearchConfigType;
|
|
301
|
+
createdByName: string;
|
|
302
|
+
digital: number;
|
|
303
|
+
displayCategory: string;
|
|
304
|
+
from?: string;
|
|
305
|
+
isDefault: boolean;
|
|
306
|
+
isEdit: boolean;
|
|
307
|
+
isPublic: string;
|
|
308
|
+
isShow: boolean;
|
|
309
|
+
name: string;
|
|
310
|
+
selected?: boolean;
|
|
311
|
+
sid: string;
|
|
312
|
+
sqlExpression?: string;
|
|
176
313
|
};
|
|
177
314
|
export declare type IbtnType = {
|
|
178
315
|
buttonType: string;
|
|
@@ -231,6 +368,9 @@ export declare type IparamsType = Record<'p_name' | 'p_value', string>;
|
|
|
231
368
|
export declare type IsettingsType = {
|
|
232
369
|
hideQuickSearch: number;
|
|
233
370
|
};
|
|
371
|
+
export declare type InjectisShowResetButton = {
|
|
372
|
+
from: '';
|
|
373
|
+
};
|
|
234
374
|
export declare type IeditTableWrapperItem = {
|
|
235
375
|
options?: IeditTableWrapperDetail;
|
|
236
376
|
};
|
|
@@ -238,6 +378,28 @@ export declare type IeditTableWrapperDetail = {
|
|
|
238
378
|
isButtonFolding?: boolean;
|
|
239
379
|
extendParams?: any;
|
|
240
380
|
};
|
|
381
|
+
export declare type IrowBtnListObj = {
|
|
382
|
+
ADD: {
|
|
383
|
+
name: string;
|
|
384
|
+
children: IbtnType[];
|
|
385
|
+
};
|
|
386
|
+
INLINE: {
|
|
387
|
+
name: string;
|
|
388
|
+
children: IbtnType[];
|
|
389
|
+
};
|
|
390
|
+
BATCH: {
|
|
391
|
+
name: string;
|
|
392
|
+
children: IbtnType[];
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
export declare type IPrintType = {
|
|
396
|
+
number: number;
|
|
397
|
+
authorizationKey: string;
|
|
398
|
+
versionType: any;
|
|
399
|
+
port: number;
|
|
400
|
+
id: string;
|
|
401
|
+
};
|
|
402
|
+
export declare type IPrintAboutType = Record<'templateId' | 'formatId' | 'type', string>;
|
|
241
403
|
export declare type ICheckboxType = Record<'label' | 'value', string>;
|
|
242
404
|
export declare type IApiServerType = {
|
|
243
405
|
name: string;
|
|
@@ -309,9 +471,3 @@ export declare type IFormStateType = {
|
|
|
309
471
|
displayCategory: string;
|
|
310
472
|
filterConditions: Record<'condition' | 'key' | 'presetVal' | 'value', string>[];
|
|
311
473
|
};
|
|
312
|
-
export declare type ISearchParamsType = {
|
|
313
|
-
field_key: string;
|
|
314
|
-
con: string;
|
|
315
|
-
value: any;
|
|
316
|
-
unit: string | null;
|
|
317
|
-
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.classification-modal-block .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.classification-modal-block .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex;flex-wrap:wrap}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-action{cursor:pointer;float:right;font-size:16px;margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{align-items:center;display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 12px}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:8px;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree-type-footer{bottom:0;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin-bottom:9px;margin-right:8px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-bottom:15px;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .title:before{color:#409eff;content:"&";font-weight:700;margin:0 5px}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}
|
package/es/shared/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as
|
|
1
|
+
import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as u,gt as c,gte as i,lt as s,lte as f,isNumber as a,isObject as x,isFunction as E}from"lodash-es";import{getCurrentInstance as l}from"vue";function m(t,n,r="children",o){function u(){throw"silence break traverse"}try{h(t).forEach((t=>{n(t,u,o),h(r).forEach((o=>{e(t[o])&&m(t[o],n,r,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function L(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(r?r():t.component(n,e))}function d(t){if(!n(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function h(t){return Array.isArray(t)?t:[t]}function p(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const N=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),w=Object.seal(Object.create(null));function S(t,n){return function t(n,r){return x(n)?e(n)?n.map((e=>t(e,r))):Object.entries(n).reduce(((e,[n,o])=>(r.includes(n)||(x(o)&&!E(o)?e[n]=t(o,r):e[n]=o),e)),{}):n}(t,n)}function v(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function y(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function Q(t,e="px"){if(a(t))return`${t}${e}`;if(n(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function $(t,e){return t.some((t=>e.includes(t)))}const b=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function O(t,e){if(!x(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function U(t){if(!l())throw new Error(t||"can't use this hook out of setup environment")}var C=(t=>(t.EQ="EQ",t.NEQ="NEQ",t.CL="CL",t.NC="NC",t.NULL="NULL",t.NOT_NULL="NOT_NULL",t.BIG="BIG",t.BIGEQ="BIGEQ",t.LESS="LESS",t.LESSEQ="LESSEQ",t))(C||{});const I={EQ:(t,e)=>`${t}`===e,NEQ:(t,e)=>`${t}`!==e,CL:(t,o)=>!(!e(t)&&!n(t))&&r(t,o),NC:(t,o)=>!e(t)&&!n(t)||!r(t,o),NULL:o,NOT_NULL:u(o),BIG:c,BIGEQ:i,LESS:s,LESSEQ:f};function g(t,e){return(I[e.con]||(()=>!1))(t,`${e.value}`)}export{w as DMZ,C as LOW_CODE_VALUE_RELATION,h as arrayed,U as checkInSetupEnv,S as deepOmit,y as findAncestor,d as generateTimeFormat,N as getStringWidth,g as isMatchLowCodeCondition,b as jsonParse,L as safeComponentRegister,v as separateMetaModule,O as shallowOmit,$ as targetStringIncludes,m as traverse,p as uuidGenerator,Q as widthAppend};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.42-
|
|
3
|
+
"version": "3.1.42-release.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"iOS 7",
|
|
62
62
|
"last 3 iOS versions"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "d9efd1bf772d6a90d0a884657e038313e02b772b"
|
|
65
65
|
}
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
-
declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
showSettings: {
|
|
4
|
-
type: import("vue").PropType<import("..").IsettingsType>;
|
|
5
|
-
default: () => {
|
|
6
|
-
hideQuickSearch: number;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
searchFieldList: {
|
|
10
|
-
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
11
|
-
default: () => never[];
|
|
12
|
-
};
|
|
13
|
-
classificationIndex: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
};
|
|
16
|
-
qqConObjCount: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
outQuickSearchFn: {
|
|
22
|
-
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
23
|
-
};
|
|
24
|
-
isRender: (cfg: import("..").ISearchType) => any;
|
|
25
|
-
getRenderSearchConObj: (cfg: import("..").ISearchType) => {
|
|
26
|
-
field_key: string;
|
|
27
|
-
con: string | undefined;
|
|
28
|
-
value: any[] | null;
|
|
29
|
-
unit: null;
|
|
30
|
-
} | null;
|
|
31
|
-
isExistDefValByRenderWidget: (cfg: import("..").ISearchType) => boolean;
|
|
32
|
-
resetRenderWidgetValue: (cfg: import("..").ISearchType) => any;
|
|
33
|
-
transformData: (advancedFilterData: import("..").IApiServerType[]) => {
|
|
34
|
-
fieldType: string;
|
|
35
|
-
columnName: string;
|
|
36
|
-
settingObj: {};
|
|
37
|
-
setting: string;
|
|
38
|
-
widgetCfg: {
|
|
39
|
-
isRender: boolean;
|
|
40
|
-
widgetType: string | null;
|
|
41
|
-
valueList: {
|
|
42
|
-
value: any;
|
|
43
|
-
label: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
defaultValue: any;
|
|
46
|
-
defValueUnit: any;
|
|
47
|
-
multiple: boolean;
|
|
48
|
-
};
|
|
49
|
-
title: string;
|
|
50
|
-
alias: string | undefined;
|
|
51
|
-
isShowSearch: number;
|
|
52
|
-
filterExplicit: number;
|
|
53
|
-
explicitRequired: number;
|
|
54
|
-
advanceOptionSetting: string;
|
|
55
|
-
placeholder: string | undefined;
|
|
56
|
-
advanceColWidth: string;
|
|
57
|
-
}[];
|
|
58
|
-
transformParams: (paramsList: any) => {};
|
|
59
|
-
baseLeft: any;
|
|
60
|
-
quickSearchLi: any;
|
|
61
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
-
showSettings: {
|
|
63
|
-
type: import("vue").PropType<import("..").IsettingsType>;
|
|
64
|
-
default: () => {
|
|
65
|
-
hideQuickSearch: number;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
searchFieldList: {
|
|
69
|
-
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
70
|
-
default: () => never[];
|
|
71
|
-
};
|
|
72
|
-
classificationIndex: {
|
|
73
|
-
type: NumberConstructor;
|
|
74
|
-
};
|
|
75
|
-
qqConObjCount: {
|
|
76
|
-
type: NumberConstructor;
|
|
77
|
-
default: number;
|
|
78
|
-
};
|
|
79
|
-
}>> & {
|
|
80
|
-
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
81
|
-
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
83
|
-
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}>>;
|
|
85
|
-
emit: (event: "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", ...args: any[]) => void;
|
|
86
|
-
baseLeftWidth: import("vue").Ref<number>;
|
|
87
|
-
classificationWidth: import("vue").Ref<number>;
|
|
88
|
-
quickSearchWidth: import("vue").Ref<number>;
|
|
89
|
-
diffWidth: import("vue").Ref<number>;
|
|
90
|
-
curConObj: import("vue").Ref<{
|
|
91
|
-
field_key: string;
|
|
92
|
-
con: string;
|
|
93
|
-
value: any;
|
|
94
|
-
unit: string | null;
|
|
95
|
-
}[]>;
|
|
96
|
-
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
97
|
-
resizeFlag: import("vue").Ref<boolean>;
|
|
98
|
-
outSearchFieldList: import("vue").Ref<{
|
|
99
|
-
columnName: string;
|
|
100
|
-
title: string;
|
|
101
|
-
fieldType?: string | undefined;
|
|
102
|
-
filterExplicit?: number | undefined;
|
|
103
|
-
isShowSearch?: number | undefined;
|
|
104
|
-
setting?: any;
|
|
105
|
-
settingObj?: any;
|
|
106
|
-
placeholder?: string | undefined;
|
|
107
|
-
AGEAttr?: boolean | undefined;
|
|
108
|
-
CL?: string | undefined;
|
|
109
|
-
CONVERT?: any;
|
|
110
|
-
EVALUATEAttr?: boolean | undefined;
|
|
111
|
-
EQ?: string | undefined;
|
|
112
|
-
LABELAttr?: boolean | undefined;
|
|
113
|
-
_isBlock?: boolean | undefined;
|
|
114
|
-
_frontId?: any;
|
|
115
|
-
NUMBERFiled?: boolean | undefined;
|
|
116
|
-
PASSWORDTYPE?: boolean | undefined;
|
|
117
|
-
advanceColWidth?: string | undefined;
|
|
118
|
-
advanceOptionSetting?: string | undefined;
|
|
119
|
-
alias?: string | undefined;
|
|
120
|
-
ageObj?: any;
|
|
121
|
-
attr?: string | undefined;
|
|
122
|
-
bigValue?: string | number | undefined;
|
|
123
|
-
classify?: string | undefined;
|
|
124
|
-
colWidth?: number | undefined;
|
|
125
|
-
columnFullName?: string | undefined;
|
|
126
|
-
com?: string | undefined;
|
|
127
|
-
comType?: string | undefined;
|
|
128
|
-
comAttr?: string | undefined;
|
|
129
|
-
con?: string | undefined;
|
|
130
|
-
dataSource?: any;
|
|
131
|
-
dictionarieObj?: any;
|
|
132
|
-
explicitRequired?: number | undefined;
|
|
133
|
-
explicitDefaultVal?: string | undefined;
|
|
134
|
-
extraField?: boolean | undefined;
|
|
135
|
-
fieldSetting?: string | undefined;
|
|
136
|
-
format?: string | undefined;
|
|
137
|
-
i18n?: string | undefined;
|
|
138
|
-
id?: string | undefined;
|
|
139
|
-
inputVal?: string | undefined;
|
|
140
|
-
inputUnit?: string | undefined;
|
|
141
|
-
isAvg?: number | undefined;
|
|
142
|
-
isEdit?: number | undefined;
|
|
143
|
-
isFixed?: number | undefined;
|
|
144
|
-
isFixedShow?: number | undefined;
|
|
145
|
-
isFontWeight?: number | undefined;
|
|
146
|
-
isMerge?: number | undefined;
|
|
147
|
-
isOrder?: number | undefined;
|
|
148
|
-
isPreciseSearch?: boolean | undefined;
|
|
149
|
-
isRender?: boolean | undefined;
|
|
150
|
-
isSearch?: number | undefined;
|
|
151
|
-
isShow?: number | undefined;
|
|
152
|
-
isSort?: number | undefined;
|
|
153
|
-
isSum?: number | undefined;
|
|
154
|
-
labelObj?: any;
|
|
155
|
-
labelList?: {
|
|
156
|
-
labelId?: string | undefined;
|
|
157
|
-
change_text: string;
|
|
158
|
-
field_key: string;
|
|
159
|
-
filter: {
|
|
160
|
-
con: string;
|
|
161
|
-
conName?: string | undefined;
|
|
162
|
-
field_key: string;
|
|
163
|
-
key?: string | undefined;
|
|
164
|
-
value: string;
|
|
165
|
-
}[];
|
|
166
|
-
label: string;
|
|
167
|
-
labelName: string;
|
|
168
|
-
sqlExpression: string;
|
|
169
|
-
value: string;
|
|
170
|
-
isSelect?: boolean | undefined;
|
|
171
|
-
}[] | undefined;
|
|
172
|
-
labelSelectList?: {
|
|
173
|
-
labelId?: string | undefined;
|
|
174
|
-
change_text: string;
|
|
175
|
-
field_key: string;
|
|
176
|
-
filter: {
|
|
177
|
-
con: string;
|
|
178
|
-
conName?: string | undefined;
|
|
179
|
-
field_key: string;
|
|
180
|
-
key?: string | undefined;
|
|
181
|
-
value: string;
|
|
182
|
-
}[];
|
|
183
|
-
label: string;
|
|
184
|
-
labelName: string;
|
|
185
|
-
sqlExpression: string;
|
|
186
|
-
value: string;
|
|
187
|
-
isSelect?: boolean | undefined;
|
|
188
|
-
}[] | undefined;
|
|
189
|
-
lessValue?: string | number | undefined;
|
|
190
|
-
marginx?: string | undefined;
|
|
191
|
-
notParticipatingSearch?: number | undefined;
|
|
192
|
-
order?: string | undefined;
|
|
193
|
-
QUOTE?: any;
|
|
194
|
-
searchPageConfig?: any;
|
|
195
|
-
selecteds?: any;
|
|
196
|
-
sequence?: number | undefined;
|
|
197
|
-
showDate?: boolean | undefined;
|
|
198
|
-
showFormat?: string | undefined;
|
|
199
|
-
showTime?: boolean | undefined;
|
|
200
|
-
sid?: string | undefined;
|
|
201
|
-
start_val?: number | null | undefined;
|
|
202
|
-
end_val?: number | null | undefined;
|
|
203
|
-
tempCon?: any;
|
|
204
|
-
tableId?: string | undefined;
|
|
205
|
-
value?: any;
|
|
206
|
-
unit?: string | undefined;
|
|
207
|
-
widgetCfg?: any;
|
|
208
|
-
formTitle?: string | undefined;
|
|
209
|
-
random_key?: string | undefined;
|
|
210
|
-
widgetType?: any;
|
|
211
|
-
hasFieldList?: any;
|
|
212
|
-
search_DefaultValue?: any;
|
|
213
|
-
}[]>;
|
|
214
|
-
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
215
|
-
initOutSearchFieldList: (config?: any) => void;
|
|
216
|
-
pageResize: (obj: any) => any;
|
|
217
|
-
handleTileBtnWidth: () => void;
|
|
218
|
-
onResize: () => void;
|
|
219
|
-
isShowSetting: (v: string) => boolean;
|
|
220
|
-
foldQuickSearch: () => void;
|
|
221
|
-
outFilterChange: (config?: {}) => void;
|
|
222
|
-
getConObjParams: () => any;
|
|
223
|
-
getConObj: (arr: any) => any;
|
|
224
|
-
onFilterSearch: (obj: import("..").ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
225
|
-
handleReset: () => void;
|
|
226
|
-
resetFunc: (arr: import("..").ISearchType[]) => void;
|
|
227
|
-
vResize: {
|
|
228
|
-
mounted(el: any, binding: any): void;
|
|
229
|
-
};
|
|
230
|
-
RenderWidget: import("vue").DefineComponent<{
|
|
231
|
-
cfg: {
|
|
232
|
-
type: ObjectConstructor;
|
|
233
|
-
required: true;
|
|
234
|
-
};
|
|
235
|
-
modelValue: {
|
|
236
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
237
|
-
};
|
|
238
|
-
}, any, {
|
|
239
|
-
initialProps: {};
|
|
240
|
-
}, {
|
|
241
|
-
valueCp(): any;
|
|
242
|
-
}, {
|
|
243
|
-
search(): void;
|
|
244
|
-
getEleWidth(cfg: any): string | undefined;
|
|
245
|
-
initComponentProps(cfg: any): void;
|
|
246
|
-
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
247
|
-
[key: string]: any;
|
|
248
|
-
}> | null;
|
|
249
|
-
handleUpdate(val: any, widgetType: any, defValueUnit: any): void;
|
|
250
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange")[], "update:modelValue" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
251
|
-
cfg: {
|
|
252
|
-
type: ObjectConstructor;
|
|
253
|
-
required: true;
|
|
254
|
-
};
|
|
255
|
-
modelValue: {
|
|
256
|
-
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
257
|
-
};
|
|
258
|
-
}>> & {
|
|
259
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
260
|
-
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
261
|
-
}, {}>;
|
|
262
|
-
NIcon: any;
|
|
263
|
-
NButton: any;
|
|
264
|
-
Search: 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<{}>>, {}>;
|
|
265
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam")[], "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
266
|
-
showSettings: {
|
|
267
|
-
type: import("vue").PropType<import("..").IsettingsType>;
|
|
268
|
-
default: () => {
|
|
269
|
-
hideQuickSearch: number;
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
searchFieldList: {
|
|
273
|
-
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
274
|
-
default: () => never[];
|
|
275
|
-
};
|
|
276
|
-
classificationIndex: {
|
|
277
|
-
type: NumberConstructor;
|
|
278
|
-
};
|
|
279
|
-
qqConObjCount: {
|
|
280
|
-
type: NumberConstructor;
|
|
281
|
-
default: number;
|
|
282
|
-
};
|
|
283
|
-
}>> & {
|
|
284
|
-
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
285
|
-
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
286
|
-
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
287
|
-
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
showSettings: import("..").IsettingsType;
|
|
290
|
-
searchFieldList: import("..").IApiServerType[];
|
|
291
|
-
qqConObjCount: number;
|
|
292
|
-
}>>;
|
|
293
|
-
export default CBaseSearch;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as s}from"../../shared/utils/index.js";import a from"./src/index.vue.js";const e=a;e.install=function(a){s(a,e,r+"BaseSearch")};export{e as default};
|