cnhis-design-vue 3.1.40-beta.1 → 3.1.40-beta.10
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 +12 -48
- package/es/components/form-config/index.d.ts +66 -148
- package/es/components/form-config/src/FormConfig.vue.d.ts +66 -148
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +33 -74
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +33 -74
- package/es/components/form-render/index.d.ts +33 -74
- package/es/components/form-render/src/FormRender.vue.d.ts +33 -74
- package/es/components/form-render/src/FormRender.vue.js +36 -20
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +33 -74
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -0
- package/es/components/form-render/src/hooks/useAnchor.d.ts +6 -3
- package/es/components/form-render/src/hooks/useAnchor.js +26 -26
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +4 -0
- package/es/components/form-render/src/hooks/useAutoHidden.js +43 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +7 -10
- package/es/components/form-render/src/hooks/useBusinessBinding.js +38 -36
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +2 -6
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -2
- package/es/components/form-render/src/hooks/useFormContext.js +2 -2
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -1
- package/es/components/form-render/test/basic-config.spec.d.ts +1 -0
- package/es/components/form-render/test/renderer.spec.d.ts +1 -0
- package/es/components/iho-table/index.d.ts +121 -121
- package/es/components/iho-table/src/IhoTable.vue.d.ts +121 -121
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +59 -59
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +6 -0
- package/es/components/info-header/index.d.ts +18 -3
- package/es/components/info-header/src/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -3
- package/es/components/info-header/src/InfoHeader.vue.js +33 -19
- package/es/components/keyboard/index.d.ts +20 -2
- package/es/components/keyboard/src/Keyboard.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +19 -2
- package/es/components/keyboard/src/components/InputNumber.vue.js +15 -5
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/NumberPanel.vue.js +14 -10
- package/es/components/recommend-search/index.d.ts +14 -14
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +14 -14
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/index.d.ts +4 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +7 -2
- package/es/components/scale-view/src/ScaleView.vue.js +2 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +15 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +15 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +7 -2
- package/es/components/shortcut-setter/index.d.ts +33 -74
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +33 -74
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +8933 -0
- package/es/components/table-filter/index.js +21 -0
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +3841 -0
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +2272 -0
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +3198 -0
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1315 -0
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +71 -0
- package/es/components/table-filter/src/classification/search-class-name.vue.js +195 -0
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +1119 -0
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +594 -0
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +119 -0
- package/es/components/table-filter/src/components/age-com/index.vue.js +185 -0
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +199 -0
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +86 -0
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +2 -0
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +30 -0
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +90 -0
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +253 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +112 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +114 -0
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +4 -0
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +14 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +87 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +59 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +147 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +278 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +304 -0
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +113 -0
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +153 -0
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +266 -0
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +310 -0
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +248 -0
- package/es/components/table-filter/src/components/range-age/index.vue.js +137 -0
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +104 -0
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +64 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +34 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +45 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -0
- package/es/components/table-filter/src/components/render-widget/components/index.js +2 -0
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +25 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +27 -0
- 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 +70 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +32 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.js +107 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +199 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +152 -0
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +789 -0
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1520 -0
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +18 -0
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +171 -0
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +1217 -0
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +199 -0
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +1624 -0
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +241 -0
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.d.ts +292 -0
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +526 -0
- package/es/components/table-filter/src/const/dataOptions.d.ts +36 -0
- package/es/components/table-filter/src/const/dataOptions.js +107 -0
- package/es/components/table-filter/src/const/index.d.ts +5 -0
- package/es/components/table-filter/src/const/index.js +5 -0
- package/es/components/table-filter/src/directive/flexibleResize.d.ts +28 -0
- package/es/components/table-filter/src/directive/flexibleResize.js +157 -0
- package/es/components/table-filter/src/directive/preventReClick.d.ts +4 -0
- package/es/components/table-filter/src/directive/preventReClick.js +14 -0
- package/es/components/table-filter/src/directive/resize.d.ts +4 -0
- package/es/components/table-filter/src/directive/resize.js +12 -0
- package/es/components/table-filter/src/hooks/export.d.ts +1 -0
- package/es/components/table-filter/src/hooks/export.js +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +28 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +64 -0
- package/es/components/table-filter/src/hooks/useMixins.d.ts +60 -0
- package/es/components/table-filter/src/hooks/useMixins.js +532 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +15 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.js +94 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +131 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.js +91 -0
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +1942 -0
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +2038 -0
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +14 -0
- package/es/components/table-filter/src/tool/generateDefOptions.js +65 -0
- package/es/components/table-filter/src/tool/getWidgetType.d.ts +1 -0
- package/es/components/table-filter/src/tool/getWidgetType.js +27 -0
- package/es/components/table-filter/src/tool/options.d.ts +18 -0
- package/es/components/table-filter/src/tool/options.js +200 -0
- package/es/components/table-filter/src/tool/resizeSensor.d.ts +16 -0
- package/es/components/table-filter/src/tool/resizeSensor.js +123 -0
- package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
- package/es/components/table-filter/src/tool/time-domain.js +100 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +92 -0
- package/es/components/table-filter/src/tool/transformData.js +169 -0
- package/es/components/table-filter/src/tool/utils.d.ts +4 -0
- package/es/components/table-filter/src/tool/utils.js +29 -0
- package/es/components/table-filter/src/types/enums.d.ts +65 -0
- package/es/components/table-filter/src/types/enums.js +67 -0
- package/es/components/table-filter/src/types/index.d.ts +483 -0
- package/es/components/table-filter/src/types/index.js +1 -0
- package/es/components/table-filter/src/types/tool.d.ts +7 -0
- package/es/components/table-filter/src/types/tool.js +1 -0
- package/es/components/table-filter/style/index.css +1 -0
- package/es/shared/assets/img/failure.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- package/es/shared/assets/img/no-permission.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- package/es/shared/assets/img/xb_big.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/utils/utilExpand.js +66 -0
- package/package.json +3 -3
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
value: ObjectConstructor;
|
|
4
|
+
default: () => {
|
|
5
|
+
star_val: string;
|
|
6
|
+
end_val: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
options: {
|
|
10
|
+
type: ArrayConstructor;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
item: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
17
|
+
defaultValue: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
|
+
format: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
dataName: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
valueObj: any;
|
|
34
|
+
startValue: any;
|
|
35
|
+
endValue: any;
|
|
36
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
value: {
|
|
38
|
+
value: ObjectConstructor;
|
|
39
|
+
default: () => {
|
|
40
|
+
star_val: string;
|
|
41
|
+
end_val: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
options: {
|
|
45
|
+
type: ArrayConstructor;
|
|
46
|
+
default: () => never[];
|
|
47
|
+
};
|
|
48
|
+
item: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
default: () => {};
|
|
51
|
+
};
|
|
52
|
+
defaultValue: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
format: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
dataName: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
};
|
|
67
|
+
}>> & {
|
|
68
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}>>;
|
|
70
|
+
emits: (event: "change", ...args: any[]) => void;
|
|
71
|
+
initDefaultValue: () => void;
|
|
72
|
+
diffTime: (days: number) => {
|
|
73
|
+
year?: undefined;
|
|
74
|
+
month?: undefined;
|
|
75
|
+
day?: undefined;
|
|
76
|
+
days?: undefined;
|
|
77
|
+
} | {
|
|
78
|
+
year: string | number;
|
|
79
|
+
month: string | number;
|
|
80
|
+
day: string | number;
|
|
81
|
+
days: string | number;
|
|
82
|
+
};
|
|
83
|
+
ageStartOnChange: (obj: any) => void;
|
|
84
|
+
ageEndOnChange: (obj: any) => void;
|
|
85
|
+
reset: () => void;
|
|
86
|
+
ageCom: import("vue").DefineComponent<{
|
|
87
|
+
value: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
default: () => void;
|
|
90
|
+
};
|
|
91
|
+
format: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
isDetail: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
defaultValue: {
|
|
104
|
+
type: ObjectConstructor;
|
|
105
|
+
default: () => {};
|
|
106
|
+
};
|
|
107
|
+
itemData: {
|
|
108
|
+
type: ObjectConstructor;
|
|
109
|
+
default: () => {};
|
|
110
|
+
};
|
|
111
|
+
shortcutFieldsList: {
|
|
112
|
+
type: ArrayConstructor;
|
|
113
|
+
default: () => never[];
|
|
114
|
+
};
|
|
115
|
+
}, {
|
|
116
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
+
value: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => void;
|
|
120
|
+
};
|
|
121
|
+
format: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
disabled: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
isDetail: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
defaultValue: {
|
|
134
|
+
type: ObjectConstructor;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
itemData: {
|
|
138
|
+
type: ObjectConstructor;
|
|
139
|
+
default: () => {};
|
|
140
|
+
};
|
|
141
|
+
shortcutFieldsList: {
|
|
142
|
+
type: ArrayConstructor;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
145
|
+
}>> & {
|
|
146
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}>>;
|
|
148
|
+
emits: (event: "change", ...args: any[]) => void;
|
|
149
|
+
ageValue: any;
|
|
150
|
+
showType: import("vue").ComputedRef<string>;
|
|
151
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
152
|
+
handleInitDefaultValue: () => void;
|
|
153
|
+
checkType: (val: any) => string;
|
|
154
|
+
handlefillVal: (val?: any) => void;
|
|
155
|
+
handleYearChange: (e: any) => void;
|
|
156
|
+
handleMonthChange: (e: any) => void;
|
|
157
|
+
handleDayChange: (e: any) => void;
|
|
158
|
+
getvalue: (e: any) => any;
|
|
159
|
+
valueChange: (val: string, key: string) => void;
|
|
160
|
+
checkVal: (val: string, key: string) => boolean;
|
|
161
|
+
handleProrate: () => void;
|
|
162
|
+
triggerChange: (changedValue: any) => void;
|
|
163
|
+
NInputNumber: any;
|
|
164
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
165
|
+
value: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
default: () => void;
|
|
168
|
+
};
|
|
169
|
+
format: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
disabled: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
isDetail: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
defaultValue: {
|
|
182
|
+
type: ObjectConstructor;
|
|
183
|
+
default: () => {};
|
|
184
|
+
};
|
|
185
|
+
itemData: {
|
|
186
|
+
type: ObjectConstructor;
|
|
187
|
+
default: () => {};
|
|
188
|
+
};
|
|
189
|
+
shortcutFieldsList: {
|
|
190
|
+
type: ArrayConstructor;
|
|
191
|
+
default: () => never[];
|
|
192
|
+
};
|
|
193
|
+
}>> & {
|
|
194
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
value: Record<string, any>;
|
|
197
|
+
disabled: boolean;
|
|
198
|
+
isDetail: boolean;
|
|
199
|
+
defaultValue: Record<string, any>;
|
|
200
|
+
format: string;
|
|
201
|
+
itemData: Record<string, any>;
|
|
202
|
+
shortcutFieldsList: unknown[];
|
|
203
|
+
}>;
|
|
204
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
+
value: {
|
|
206
|
+
value: ObjectConstructor;
|
|
207
|
+
default: () => {
|
|
208
|
+
star_val: string;
|
|
209
|
+
end_val: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
options: {
|
|
213
|
+
type: ArrayConstructor;
|
|
214
|
+
default: () => never[];
|
|
215
|
+
};
|
|
216
|
+
item: {
|
|
217
|
+
type: ObjectConstructor;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
220
|
+
defaultValue: {
|
|
221
|
+
type: ObjectConstructor;
|
|
222
|
+
default: () => {};
|
|
223
|
+
};
|
|
224
|
+
format: {
|
|
225
|
+
type: StringConstructor;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
disabled: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
dataName: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
};
|
|
235
|
+
}>> & {
|
|
236
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
value: {
|
|
239
|
+
star_val: string;
|
|
240
|
+
end_val: string;
|
|
241
|
+
};
|
|
242
|
+
disabled: boolean;
|
|
243
|
+
options: unknown[];
|
|
244
|
+
item: Record<string, any>;
|
|
245
|
+
defaultValue: Record<string, any>;
|
|
246
|
+
format: string;
|
|
247
|
+
}>;
|
|
248
|
+
export default _default;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, createElementVNode, createVNode, unref } from 'vue';
|
|
2
|
+
import ageCom from '../age-com/index.vue.js';
|
|
3
|
+
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
4
|
+
|
|
5
|
+
const _hoisted_1 = { class: "range-grid-con-block" };
|
|
6
|
+
const _hoisted_2 = { class: "grid-item" };
|
|
7
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "middle-tips" }, "\u2014", -1);
|
|
8
|
+
const _hoisted_4 = { class: "grid-item" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: {
|
|
12
|
+
value: {
|
|
13
|
+
value: Object,
|
|
14
|
+
default: () => ({ star_val: "", end_val: "" })
|
|
15
|
+
},
|
|
16
|
+
options: {
|
|
17
|
+
type: Array,
|
|
18
|
+
default: () => []
|
|
19
|
+
},
|
|
20
|
+
item: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: () => ({})
|
|
23
|
+
},
|
|
24
|
+
defaultValue: {
|
|
25
|
+
type: Object,
|
|
26
|
+
default: () => ({})
|
|
27
|
+
},
|
|
28
|
+
format: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "YYYY-MM-DD"
|
|
31
|
+
},
|
|
32
|
+
disabled: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
dataName: {
|
|
37
|
+
type: String
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
emits: [
|
|
41
|
+
"change"
|
|
42
|
+
],
|
|
43
|
+
setup(__props, { expose, emit: emits }) {
|
|
44
|
+
const props = __props;
|
|
45
|
+
let valueObj = ref({
|
|
46
|
+
star_val: 0,
|
|
47
|
+
end_val: 0
|
|
48
|
+
});
|
|
49
|
+
let startValue = ref({});
|
|
50
|
+
let endValue = ref({});
|
|
51
|
+
onMounted(() => {
|
|
52
|
+
initDefaultValue();
|
|
53
|
+
});
|
|
54
|
+
function initDefaultValue() {
|
|
55
|
+
const { star_val, end_val } = props.defaultValue || {};
|
|
56
|
+
let startObj = diffTime(+star_val);
|
|
57
|
+
let endObj = diffTime(+end_val);
|
|
58
|
+
startValue.value = startObj;
|
|
59
|
+
endValue.value = endObj;
|
|
60
|
+
}
|
|
61
|
+
function diffTime(days) {
|
|
62
|
+
if (isNaN(days))
|
|
63
|
+
return {};
|
|
64
|
+
if (typeof days == "number") {
|
|
65
|
+
let next = 0;
|
|
66
|
+
let year = Math.floor(days / 365);
|
|
67
|
+
next = days % 365;
|
|
68
|
+
let month = Math.floor(next / 30);
|
|
69
|
+
next = next % 30;
|
|
70
|
+
let day = next;
|
|
71
|
+
return {
|
|
72
|
+
year: year || "",
|
|
73
|
+
month: month || "",
|
|
74
|
+
day: day || "",
|
|
75
|
+
days: days || ""
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
return {};
|
|
79
|
+
}
|
|
80
|
+
function ageStartOnChange(obj) {
|
|
81
|
+
emits("change", Object.assign(valueObj.value, { star_val: obj.days }));
|
|
82
|
+
}
|
|
83
|
+
function ageEndOnChange(obj) {
|
|
84
|
+
emits("change", Object.assign(valueObj.value, { end_val: obj.days }));
|
|
85
|
+
}
|
|
86
|
+
function reset() {
|
|
87
|
+
let obj = { year: null, month: null, day: null, days: null };
|
|
88
|
+
startValue.value = { ...obj };
|
|
89
|
+
endValue.value = { ...obj };
|
|
90
|
+
}
|
|
91
|
+
watch(
|
|
92
|
+
() => props.value,
|
|
93
|
+
(val) => {
|
|
94
|
+
if (typeof val === "object" && Object.keys(val).length > 0) {
|
|
95
|
+
const { star_val, end_val } = props.value || {};
|
|
96
|
+
if (+star_val) {
|
|
97
|
+
let startObj = diffTime(+star_val);
|
|
98
|
+
startValue.value = startObj;
|
|
99
|
+
}
|
|
100
|
+
if (+end_val) {
|
|
101
|
+
let endObj = diffTime(+end_val);
|
|
102
|
+
endValue.value = endObj;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{ immediate: true }
|
|
107
|
+
);
|
|
108
|
+
expose({
|
|
109
|
+
reset,
|
|
110
|
+
dataName: props.dataName
|
|
111
|
+
});
|
|
112
|
+
return (_ctx, _cache) => {
|
|
113
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
114
|
+
createElementVNode("div", _hoisted_2, [
|
|
115
|
+
createVNode(ageCom, {
|
|
116
|
+
disabled: __props.disabled,
|
|
117
|
+
format: __props.format,
|
|
118
|
+
onChange: ageStartOnChange,
|
|
119
|
+
defaultValue: unref(startValue)
|
|
120
|
+
}, null, 8, ["disabled", "format", "defaultValue"])
|
|
121
|
+
]),
|
|
122
|
+
_hoisted_3,
|
|
123
|
+
createElementVNode("div", _hoisted_4, [
|
|
124
|
+
createVNode(ageCom, {
|
|
125
|
+
disabled: __props.disabled,
|
|
126
|
+
format: __props.format,
|
|
127
|
+
onChange: ageEndOnChange,
|
|
128
|
+
defaultValue: unref(endValue)
|
|
129
|
+
}, null, 8, ["disabled", "format", "defaultValue"])
|
|
130
|
+
])
|
|
131
|
+
]);
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
var rangeAge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "index.vue"]]);
|
|
136
|
+
|
|
137
|
+
export { rangeAge as default };
|
package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ICheckboxType } from '../../../../../../../es/components/table-filter/src/types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
options: {
|
|
5
|
+
type: PropType<ICheckboxType[]>;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
9
|
+
default: string[];
|
|
10
|
+
};
|
|
11
|
+
multiple: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
options: {
|
|
18
|
+
type: PropType<ICheckboxType[]>;
|
|
19
|
+
};
|
|
20
|
+
value: {
|
|
21
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
22
|
+
default: string[];
|
|
23
|
+
};
|
|
24
|
+
multiple: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}>>;
|
|
31
|
+
emit: (event: "update:value", ...args: any[]) => void;
|
|
32
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
33
|
+
filterNewVal: (val: any) => any;
|
|
34
|
+
onChange: (val: any) => void;
|
|
35
|
+
NCheckboxGroup: import("vue").DefineComponent<{
|
|
36
|
+
readonly min: NumberConstructor;
|
|
37
|
+
readonly max: NumberConstructor;
|
|
38
|
+
readonly size: PropType<"small" | "medium" | "large">;
|
|
39
|
+
readonly value: PropType<(string | number)[] | null>;
|
|
40
|
+
readonly defaultValue: {
|
|
41
|
+
readonly type: PropType<(string | number)[] | null>;
|
|
42
|
+
readonly default: null;
|
|
43
|
+
};
|
|
44
|
+
readonly disabled: {
|
|
45
|
+
readonly type: PropType<boolean | undefined>;
|
|
46
|
+
readonly default: undefined;
|
|
47
|
+
};
|
|
48
|
+
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
49
|
+
actionType: "check" | "uncheck";
|
|
50
|
+
value: string | number;
|
|
51
|
+
}) => void>>;
|
|
52
|
+
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
53
|
+
actionType: "check" | "uncheck";
|
|
54
|
+
value: string | number;
|
|
55
|
+
}) => void>>;
|
|
56
|
+
readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
|
|
57
|
+
}, {
|
|
58
|
+
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
readonly min: NumberConstructor;
|
|
61
|
+
readonly max: NumberConstructor;
|
|
62
|
+
readonly size: PropType<"small" | "medium" | "large">;
|
|
63
|
+
readonly value: PropType<(string | number)[] | null>;
|
|
64
|
+
readonly defaultValue: {
|
|
65
|
+
readonly type: PropType<(string | number)[] | null>;
|
|
66
|
+
readonly default: null;
|
|
67
|
+
};
|
|
68
|
+
readonly disabled: {
|
|
69
|
+
readonly type: PropType<boolean | undefined>;
|
|
70
|
+
readonly default: undefined;
|
|
71
|
+
};
|
|
72
|
+
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
73
|
+
actionType: "check" | "uncheck";
|
|
74
|
+
value: string | number;
|
|
75
|
+
}) => void>>;
|
|
76
|
+
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
77
|
+
actionType: "check" | "uncheck";
|
|
78
|
+
value: string | number;
|
|
79
|
+
}) => void>>;
|
|
80
|
+
readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
|
|
81
|
+
}>>, {
|
|
82
|
+
readonly disabled: boolean | undefined;
|
|
83
|
+
readonly defaultValue: (string | number)[] | null;
|
|
84
|
+
}>;
|
|
85
|
+
NCheckbox: any;
|
|
86
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
options: {
|
|
88
|
+
type: PropType<ICheckboxType[]>;
|
|
89
|
+
};
|
|
90
|
+
value: {
|
|
91
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
92
|
+
default: string[];
|
|
93
|
+
};
|
|
94
|
+
multiple: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>> & {
|
|
99
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
value: string | number | unknown[];
|
|
102
|
+
multiple: boolean;
|
|
103
|
+
}>;
|
|
104
|
+
export default _default;
|
package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, Fragment, renderList } from 'vue';
|
|
2
|
+
import { NCheckboxGroup, NCheckbox } from 'naive-ui';
|
|
3
|
+
import _export_sfc from '../../../../../../_virtual/plugin-vue_export-helper.js';
|
|
4
|
+
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "CheckboxGroup",
|
|
7
|
+
props: {
|
|
8
|
+
options: {
|
|
9
|
+
type: [Array, String, Number]
|
|
10
|
+
},
|
|
11
|
+
value: {
|
|
12
|
+
type: [Array, String, Number],
|
|
13
|
+
default: [""]
|
|
14
|
+
},
|
|
15
|
+
multiple: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: false
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
emits: [
|
|
21
|
+
"update:value"
|
|
22
|
+
],
|
|
23
|
+
setup(__props, { emit }) {
|
|
24
|
+
const props = __props;
|
|
25
|
+
const valueCp = computed({
|
|
26
|
+
set(val) {
|
|
27
|
+
emit("update:value", val);
|
|
28
|
+
},
|
|
29
|
+
get() {
|
|
30
|
+
return Array.isArray(props.value) ? props.value : props.value ? [props.value] : [];
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
function filterNewVal(val) {
|
|
34
|
+
return val.filter((v) => !valueCp.value.includes(v));
|
|
35
|
+
}
|
|
36
|
+
function onChange(val) {
|
|
37
|
+
if (!props.multiple && Array.isArray(val)) {
|
|
38
|
+
valueCp.value = filterNewVal(val)[0];
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
valueCp.value = val;
|
|
42
|
+
}
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return openBlock(), createBlock(unref(NCheckboxGroup), mergeProps(_ctx.$attrs, {
|
|
45
|
+
value: unref(valueCp),
|
|
46
|
+
"onUpdate:value": onChange
|
|
47
|
+
}), {
|
|
48
|
+
default: withCtx(() => [
|
|
49
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
|
|
50
|
+
return openBlock(), createBlock(unref(NCheckbox), {
|
|
51
|
+
key: option.value,
|
|
52
|
+
value: option.value,
|
|
53
|
+
label: option.label
|
|
54
|
+
}, null, 8, ["value", "label"]);
|
|
55
|
+
}), 128))
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 16, ["value"]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "CheckboxGroup.vue"]]);
|
|
63
|
+
|
|
64
|
+
export { CheckboxGroup as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
4
|
+
};
|
|
5
|
+
componentCfg: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
value: {
|
|
11
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
12
|
+
};
|
|
13
|
+
componentCfg: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
};
|
|
16
|
+
}>> & {
|
|
17
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>>;
|
|
19
|
+
emit: (event: "update:value", ...args: any[]) => void;
|
|
20
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
21
|
+
maxTagCount: import("vue").ComputedRef<0 | 1 | undefined>;
|
|
22
|
+
maxTagPlaceholder: () => string | undefined;
|
|
23
|
+
NSelect: any;
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
value: {
|
|
26
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
27
|
+
};
|
|
28
|
+
componentCfg: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
};
|
|
31
|
+
}>> & {
|
|
32
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, isRef } from 'vue';
|
|
2
|
+
import { NSelect } from 'naive-ui';
|
|
3
|
+
import _export_sfc from '../../../../../../_virtual/plugin-vue_export-helper.js';
|
|
4
|
+
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Select",
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: [Array, String, Number]
|
|
10
|
+
},
|
|
11
|
+
componentCfg: {
|
|
12
|
+
type: Object
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
emits: [
|
|
16
|
+
"update:value"
|
|
17
|
+
],
|
|
18
|
+
setup(__props, { emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const valueCp = computed({
|
|
21
|
+
set(val) {
|
|
22
|
+
emit("update:value", val);
|
|
23
|
+
},
|
|
24
|
+
get() {
|
|
25
|
+
return props.value;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const maxTagCount = computed(() => {
|
|
29
|
+
if (!Array.isArray(props.value))
|
|
30
|
+
return void 0;
|
|
31
|
+
const len = props.value.length || 0;
|
|
32
|
+
return len > 1 ? 0 : 1;
|
|
33
|
+
});
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return openBlock(), createBlock(unref(NSelect), mergeProps(_ctx.$attrs, {
|
|
36
|
+
value: unref(valueCp),
|
|
37
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
|
38
|
+
"max-tag-count": unref(maxTagCount)
|
|
39
|
+
}), null, 16, ["value", "max-tag-count"]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
var Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "Select.vue"]]);
|
|
44
|
+
|
|
45
|
+
export { Select as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const WidgetTypeEnums: {
|
|
2
|
+
INPUT_NUMBER: string;
|
|
3
|
+
INPUT: string;
|
|
4
|
+
SELECT: string;
|
|
5
|
+
DATE: string;
|
|
6
|
+
DATE_TIME: string;
|
|
7
|
+
CHECKBOX_GROUP: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const DatePresetValEnums: {
|
|
10
|
+
CUSTOM: string;
|
|
11
|
+
NOW: string;
|
|
12
|
+
TODAY: string;
|
|
13
|
+
TODAY_START: string;
|
|
14
|
+
TODAY_END: string;
|
|
15
|
+
TOMORROW: string;
|
|
16
|
+
TOMORROW_START: string;
|
|
17
|
+
TOMORROW_END: string;
|
|
18
|
+
YESTERDAY: string;
|
|
19
|
+
YESTERDAY_START: string;
|
|
20
|
+
YESTERDAY_END: string;
|
|
21
|
+
WEEK_START: string;
|
|
22
|
+
WEEK_END: string;
|
|
23
|
+
MONTH_START: string;
|
|
24
|
+
MONTH_END: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const WidgetTypeEnums = {
|
|
2
|
+
INPUT_NUMBER: "NUMBER",
|
|
3
|
+
INPUT: "TEXT",
|
|
4
|
+
SELECT: "SELECT",
|
|
5
|
+
DATE: "DATE",
|
|
6
|
+
DATE_TIME: "DATETIME",
|
|
7
|
+
CHECKBOX_GROUP: "CHECKBOX_GROUP"
|
|
8
|
+
};
|
|
9
|
+
const DatePresetValEnums = {
|
|
10
|
+
CUSTOM: "CUSTOM",
|
|
11
|
+
NOW: "NOW",
|
|
12
|
+
TODAY: "TODAY",
|
|
13
|
+
TODAY_START: "TODAY_START",
|
|
14
|
+
TODAY_END: "TODAY_END",
|
|
15
|
+
TOMORROW: "TOMORROW",
|
|
16
|
+
TOMORROW_START: "TOMORROW_START",
|
|
17
|
+
TOMORROW_END: "TOMORROW_END",
|
|
18
|
+
YESTERDAY: "YESTERDAY",
|
|
19
|
+
YESTERDAY_START: "YESTERDAY_START",
|
|
20
|
+
YESTERDAY_END: "YESTERDAY_END",
|
|
21
|
+
WEEK_START: "THIS_WEEK_START",
|
|
22
|
+
WEEK_END: "THIS_WEEK_END",
|
|
23
|
+
MONTH_START: "THIS_MONTH_START",
|
|
24
|
+
MONTH_END: "THIS_MONTH_END"
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { DatePresetValEnums, WidgetTypeEnums };
|