cnhis-design-vue 3.1.44-beta.5 → 3.1.44-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +4 -2
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +4 -2
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +4 -2
- package/es/components/classification/src/index.vue.d.ts +4 -2
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
- package/es/components/iho-select-label/index.d.ts +10 -4
- package/es/components/iho-select-label/src/LabelFormContent.vue.d.ts +5 -2
- package/es/components/iho-select-label/src/SelectLabel.vue.d.ts +5 -2
- package/es/components/iho-select-label/src/components/label-classify.vue.d.ts +5 -2
- package/es/components/iho-select-label/src/components/label-classify.vue.js +1 -1
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
- package/es/components/index.css +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/render-widget/basicData.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/{DateRange.vue.d.ts → DateRangeInner.vue.d.ts} +1 -14
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +141 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -2
- 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 +28 -7
- 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 +1 -0
- 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 +152 -14
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- 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/types/enums.d.ts +4 -2
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRange.vue.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.n-base-select-option__content{width:100%}.n-base-select-option__content .select-widget-dynamic-option{display:flex;flex-wrap:nowrap;width:100%}.n-base-select-option__content .select-widget-dynamic-option .select-widget-dynamic-item{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.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:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
1
|
+
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.n-base-select-option__content{width:100%}.n-base-select-option__content .select-widget-dynamic-option{display:flex;flex-wrap:nowrap;width:100%}.n-base-select-option__content .select-widget-dynamic-option .select-widget-dynamic-item{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;min-width:720px}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.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:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
@@ -767,8 +767,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
767
767
|
DATE_TIME: string;
|
|
768
768
|
CHECKBOX_GROUP: string;
|
|
769
769
|
INPUTNUMBER_RANGE: string;
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
DATE_RANGE_OUT: string;
|
|
771
|
+
DATE_RANGE_INNER: string;
|
|
772
|
+
DATETIME_RANGE_OUT: string;
|
|
773
|
+
DATETIME_RANGE_INNER: string;
|
|
772
774
|
};
|
|
773
775
|
WidgetValEnums: {
|
|
774
776
|
CUSTOM: string;
|
|
@@ -237,8 +237,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
DATE_TIME: string;
|
|
238
238
|
CHECKBOX_GROUP: string;
|
|
239
239
|
INPUTNUMBER_RANGE: string;
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
DATE_RANGE_OUT: string;
|
|
241
|
+
DATE_RANGE_INNER: string;
|
|
242
|
+
DATETIME_RANGE_OUT: string;
|
|
243
|
+
DATETIME_RANGE_INNER: string;
|
|
242
244
|
};
|
|
243
245
|
WidgetValEnums: {
|
|
244
246
|
CUSTOM: string;
|
|
@@ -554,8 +554,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
554
554
|
DATE_TIME: string;
|
|
555
555
|
CHECKBOX_GROUP: string;
|
|
556
556
|
INPUTNUMBER_RANGE: string;
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
DATE_RANGE_OUT: string;
|
|
558
|
+
DATE_RANGE_INNER: string;
|
|
559
|
+
DATETIME_RANGE_OUT: string;
|
|
560
|
+
DATETIME_RANGE_INNER: string;
|
|
559
561
|
};
|
|
560
562
|
WidgetValEnums: {
|
|
561
563
|
CUSTOM: string;
|
|
@@ -768,8 +768,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
768
768
|
DATE_TIME: string;
|
|
769
769
|
CHECKBOX_GROUP: string;
|
|
770
770
|
INPUTNUMBER_RANGE: string;
|
|
771
|
-
|
|
772
|
-
|
|
771
|
+
DATE_RANGE_OUT: string;
|
|
772
|
+
DATE_RANGE_INNER: string;
|
|
773
|
+
DATETIME_RANGE_OUT: string;
|
|
774
|
+
DATETIME_RANGE_INNER: string;
|
|
773
775
|
};
|
|
774
776
|
WidgetValEnums: {
|
|
775
777
|
CUSTOM: string;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export const __esModule: true;
|
|
2
|
+
export const LEVEL_SEARCH_CASCADER: vue_2.DefineComponent<{
|
|
3
|
+
options: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
labelField: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
valueField: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
autograph: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
lazyRequest: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
requestCache: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
wordbook: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
onChange: {};
|
|
32
|
+
value: {
|
|
33
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
34
|
+
};
|
|
35
|
+
}, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
|
|
36
|
+
options: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
default: () => never[];
|
|
39
|
+
};
|
|
40
|
+
labelField: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
valueField: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
autograph: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
lazyRequest: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
requestCache: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
wordbook: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
onChange: {};
|
|
65
|
+
value: {
|
|
66
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
67
|
+
};
|
|
68
|
+
}>> & {
|
|
69
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
options: unknown[];
|
|
72
|
+
labelField: string;
|
|
73
|
+
valueField: string;
|
|
74
|
+
lazyRequest: boolean;
|
|
75
|
+
requestCache: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
import vue_2 = require("vue");
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const __esModule: true;
|
|
2
|
+
export const SEARCH_CASCADER: vue_2.DefineComponent<{
|
|
3
|
+
options: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
depth: {
|
|
8
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
9
|
+
};
|
|
10
|
+
urlConfig: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
};
|
|
13
|
+
lazyRequest: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
requestCache: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
onFocus: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
};
|
|
24
|
+
filterable: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
checkStrategy: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
labelField: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
valueField: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
onChange: {};
|
|
41
|
+
value: {};
|
|
42
|
+
}, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
|
|
43
|
+
options: {
|
|
44
|
+
type: ArrayConstructor;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
depth: {
|
|
48
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
49
|
+
};
|
|
50
|
+
urlConfig: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
};
|
|
53
|
+
lazyRequest: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
requestCache: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
onFocus: {
|
|
62
|
+
type: FunctionConstructor;
|
|
63
|
+
};
|
|
64
|
+
filterable: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
checkStrategy: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
labelField: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
valueField: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
onChange: {};
|
|
81
|
+
value: {};
|
|
82
|
+
}>> & {
|
|
83
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
options: unknown[];
|
|
86
|
+
checkStrategy: string;
|
|
87
|
+
labelField: string;
|
|
88
|
+
valueField: string;
|
|
89
|
+
lazyRequest: boolean;
|
|
90
|
+
requestCache: boolean;
|
|
91
|
+
filterable: boolean;
|
|
92
|
+
}>;
|
|
93
|
+
import vue_2 = require("vue");
|
|
@@ -119,6 +119,7 @@ declare const IhoSelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
119
119
|
default: () => {};
|
|
120
120
|
};
|
|
121
121
|
}, {
|
|
122
|
+
baseActiveColor: string;
|
|
122
123
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
123
124
|
categoryItem: {
|
|
124
125
|
type: import("vue").PropType<import("./src/types").ICategoryLabelItemType>;
|
|
@@ -141,9 +142,11 @@ declare const IhoSelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
141
142
|
showCheck: (label: import("./src/types").IhoTabLabelItemType) => boolean;
|
|
142
143
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("./src/types").IhoTabLabelItemType | undefined, categoryItem?: import("./src/types").ICategoryLabelItemType | undefined) => void;
|
|
143
144
|
formatStyle: (item: any) => {
|
|
144
|
-
background?: undefined;
|
|
145
|
-
} | {
|
|
146
145
|
background: any;
|
|
146
|
+
borderColor: any;
|
|
147
|
+
} | {
|
|
148
|
+
background?: undefined;
|
|
149
|
+
borderColor?: undefined;
|
|
147
150
|
};
|
|
148
151
|
NTag: any;
|
|
149
152
|
NTooltip: any;
|
|
@@ -277,6 +280,7 @@ declare const IhoLabelFormContent: SFCWithInstall<import("vue").DefineComponent<
|
|
|
277
280
|
default: () => {};
|
|
278
281
|
};
|
|
279
282
|
}, {
|
|
283
|
+
baseActiveColor: string;
|
|
280
284
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
281
285
|
categoryItem: {
|
|
282
286
|
type: import("vue").PropType<import("./src/types").ICategoryLabelItemType>;
|
|
@@ -299,9 +303,11 @@ declare const IhoLabelFormContent: SFCWithInstall<import("vue").DefineComponent<
|
|
|
299
303
|
showCheck: (label: import("./src/types").IhoTabLabelItemType) => boolean;
|
|
300
304
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("./src/types").IhoTabLabelItemType | undefined, categoryItem?: import("./src/types").ICategoryLabelItemType | undefined) => void;
|
|
301
305
|
formatStyle: (item: any) => {
|
|
302
|
-
background?: undefined;
|
|
303
|
-
} | {
|
|
304
306
|
background: any;
|
|
307
|
+
borderColor: any;
|
|
308
|
+
} | {
|
|
309
|
+
background?: undefined;
|
|
310
|
+
borderColor?: undefined;
|
|
305
311
|
};
|
|
306
312
|
NTag: any;
|
|
307
313
|
NTooltip: any;
|
|
@@ -67,6 +67,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
default: () => {};
|
|
68
68
|
};
|
|
69
69
|
}, {
|
|
70
|
+
baseActiveColor: string;
|
|
70
71
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
71
72
|
categoryItem: {
|
|
72
73
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -89,9 +90,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
90
|
showCheck: (label: import("../../../../es/components/iho-select-label/src/types").IhoTabLabelItemType) => boolean;
|
|
90
91
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../es/components/iho-select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
|
91
92
|
formatStyle: (item: any) => {
|
|
92
|
-
background?: undefined;
|
|
93
|
-
} | {
|
|
94
93
|
background: any;
|
|
94
|
+
borderColor: any;
|
|
95
|
+
} | {
|
|
96
|
+
background?: undefined;
|
|
97
|
+
borderColor?: undefined;
|
|
95
98
|
};
|
|
96
99
|
NTag: any;
|
|
97
100
|
NTooltip: any;
|
|
@@ -119,6 +119,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
119
|
default: () => {};
|
|
120
120
|
};
|
|
121
121
|
}, {
|
|
122
|
+
baseActiveColor: string;
|
|
122
123
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
123
124
|
categoryItem: {
|
|
124
125
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -141,9 +142,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
142
|
showCheck: (label: import("../../../../es/components/iho-select-label/src/types").IhoTabLabelItemType) => boolean;
|
|
142
143
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../es/components/iho-select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
|
143
144
|
formatStyle: (item: any) => {
|
|
144
|
-
background?: undefined;
|
|
145
|
-
} | {
|
|
146
145
|
background: any;
|
|
146
|
+
borderColor: any;
|
|
147
|
+
} | {
|
|
148
|
+
background?: undefined;
|
|
149
|
+
borderColor?: undefined;
|
|
147
150
|
};
|
|
148
151
|
NTag: any;
|
|
149
152
|
NTooltip: any;
|
|
@@ -14,6 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
default: () => {};
|
|
15
15
|
};
|
|
16
16
|
}, {
|
|
17
|
+
baseActiveColor: string;
|
|
17
18
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
19
|
categoryItem: {
|
|
19
20
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -36,9 +37,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
37
|
showCheck: (label: IhoTabLabelItemType) => boolean;
|
|
37
38
|
onHandleLabelChange: (isSelect?: boolean, item?: IhoTabLabelItemType, categoryItem?: ICategoryLabelItemType) => void;
|
|
38
39
|
formatStyle: (item: any) => {
|
|
39
|
-
background?: undefined;
|
|
40
|
-
} | {
|
|
41
40
|
background: any;
|
|
41
|
+
borderColor: any;
|
|
42
|
+
} | {
|
|
43
|
+
background?: undefined;
|
|
44
|
+
borderColor?: undefined;
|
|
42
45
|
};
|
|
43
46
|
NTag: any;
|
|
44
47
|
NTooltip: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,openBlock as a,createElementBlock as t,unref as
|
|
1
|
+
import{defineComponent as e,ref as l,openBlock as a,createElementBlock as t,unref as o,Fragment as s,renderList as c,createBlock as d,normalizeStyle as r,withCtx as n,createVNode as i,createElementVNode as b,toDisplayString as u}from"vue";import{NTag as p,NTooltip as y}from"naive-ui";import f from"../../../../_virtual/plugin-vue_export-helper.js";const g={class:"edit-content"},h={key:0,class:"label-disable-wrap"},m=[b("p",{class:"label-disable-title"},"无可选标签",-1),b("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],k={key:1,class:"label-content"};var v=f(e({__name:"label-classify",props:{categoryItem:{type:Object,default:()=>({})},selectedList:{type:Array,default:()=>[]},handleLabelChange:{type:Function,default:()=>({})}},setup(e){var f;const v=e,C="rgb(85, 133, 245)";let _=l((null==(f=v.categoryItem)?void 0:f.labelList)||[]);const I=e=>v.selectedList.findIndex((l=>l.classifyId===v.categoryItem.classifyId&&l.labelCode===e.labelCode))>-1;function x(e){return I(e)?{background:e.backgroundColor||C,borderColor:e.backgroundColor||C}:{}}return(l,f)=>(a(),t("div",g,[o(_)&&0!==o(_).length?(a(),t("div",k,[(a(!0),t(s,null,c(o(_),(l=>(a(),d(o(p),{checkable:"",checked:I(l),"onUpdate:checked":a=>((e,l,a)=>{v.handleLabelChange(e,l,a)})(a,l,e.categoryItem),key:l.labelCode,style:r(x(l))},{default:n((()=>[i(o(y),{placement:"top-start"},{trigger:n((()=>[b("span",null,u(l.labelShowText),1)])),default:n((()=>[b("span",null,u(l.labelShowText),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])):(a(),t("div",h,m))]))}}),[["__file","label-classify.vue"]]);export{v as default};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const __esModule: true;
|
|
2
|
+
export const IhoTableUtils: Readonly<{
|
|
3
|
+
getCellType: (lowCodeField: any) => any;
|
|
4
|
+
}>;
|
|
5
|
+
export const IhoTableRenderHelper: Readonly<{
|
|
6
|
+
createDefaultRenderCell: typeof createDefaultRenderCell;
|
|
7
|
+
createRenderEdit: typeof createRenderEdit;
|
|
8
|
+
isEditableColumn: (config: any, column: any) => any;
|
|
9
|
+
hasFilter: (lowCodeField: any) => boolean;
|
|
10
|
+
hasDateFiler: (lowCodeField: any) => any;
|
|
11
|
+
}>;
|
|
12
|
+
export const IhoTableStatusHelper: Readonly<{
|
|
13
|
+
isPositive: (value: any) => boolean;
|
|
14
|
+
isNegative: (value: any) => boolean;
|
|
15
|
+
notPositive: (value: any) => boolean;
|
|
16
|
+
notNegative: (value: any) => boolean;
|
|
17
|
+
}>;
|
|
18
|
+
export function createIhoTableClearActivedInterceptor(type: any, solution: any): (_a: any) => boolean;
|
|
19
|
+
export function IhoTableLog(message: any): void;
|
|
20
|
+
export function IhoTableWarn(message: any): void;
|
|
21
|
+
export function getRowHeight(): number;
|
|
22
|
+
export function eventListener2EventName(eventListenerName: any): string;
|
|
23
|
+
export function eventName2EventListener(eventName: any): string;
|
|
24
|
+
export function useUUIDMap(creator: any, isReactive: any): {
|
|
25
|
+
getItemFromUUID: (uuid: any) => any;
|
|
26
|
+
setItemFromUUID: (uuid: any, value: any) => void;
|
|
27
|
+
removeItemFromUUID: (uuid: any) => void;
|
|
28
|
+
};
|
|
29
|
+
export function getColumnRenderWidth(column: any, $table: any): any;
|
|
30
|
+
export function useIhoTableFormEvent(payload: any): {
|
|
31
|
+
emitFormChange: () => void;
|
|
32
|
+
emitFormClick: () => void;
|
|
33
|
+
emitFormChangeWithParams: (params: any) => void;
|
|
34
|
+
emitFormClickWithParams: (params: any) => void;
|
|
35
|
+
};
|
|
36
|
+
export function getLowCodeFieldFromField(field: any): any;
|
|
37
|
+
declare function createDefaultRenderCell(): (_: any, _a: any) => any[];
|
|
38
|
+
declare function createRenderEdit(renderer: any): (_a: any, params: any) => any;
|
|
39
|
+
export function isTransformTreeType(config: any): boolean;
|
|
40
|
+
export function isRichContent(content: any): boolean;
|
|
41
|
+
export function parseRichContent(richContent: any): any;
|
|
42
|
+
export function parseMergeField(row: any, column: any): any;
|
|
43
|
+
export function isCompatibleColumn(field: any): any;
|
|
44
|
+
export {};
|