@erxes/ui 4.0.0-v2.14 → 4.0.0-v2.15
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/CATALOG.md +12 -6
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -2
- package/dist/modules/conditions/ValueEditor.js +9 -4
- package/dist/modules/conditions/conditions.d.ts +7 -3
- package/dist/modules/conditions/conditions.js +8 -1
- package/dist/modules/conditions/fieldIcons.js +3 -1
- package/dist/modules/conditions/fieldOptions.d.ts +7 -5
- package/dist/modules/conditions/fieldOptions.js +22 -10
- package/dist/modules/conditions/filterRule.js +3 -1
- package/dist/modules/list/ListFilter.d.ts +6 -5
- package/dist/modules/list/ListFilter.js +3 -3
- package/dist/modules/list/filter/ListFilterBar.js +8 -3
- package/dist/modules/pickers/LookupPicker.d.ts +6 -0
- package/dist/modules/pickers/LookupPicker.js +32 -1
- package/dist/modules/record-list/RecordList.d.ts +2 -1
- package/dist/modules/record-list/RecordList.js +2 -1
- package/dist/modules/record-list/RecordListRoot.d.ts +3 -1
- package/dist/modules/record-list/RecordListRoot.js +53 -37
- package/dist/modules/record-table/components/RecordTableHead.d.ts +7 -2
- package/dist/modules/record-table/components/RecordTableHead.js +73 -6
- package/dist/modules/record-table/components/RecordTableProvider.d.ts +22 -1
- package/dist/modules/record-table/components/RecordTableProvider.js +12 -1
- package/dist/modules/records/contacts.d.ts +18 -0
- package/dist/modules/records/openRecord.d.ts +35 -1
- package/dist/modules/records/openRecord.js +27 -4
- package/dist/types/UIConfig.d.ts +47 -100
- package/dist/types/UIConfig.js +14 -0
- package/exports.txt +9 -3
- package/package.json +1 -1
package/dist/types/UIConfig.js
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/types/UIConfig.ts
|
|
2
|
+
/** Every schematic the widget catalog can draw for a dashboard widget. */
|
|
3
|
+
const DASHBOARD_WIDGET_PREVIEWS = [
|
|
4
|
+
"bar",
|
|
5
|
+
"line",
|
|
6
|
+
"area",
|
|
7
|
+
"pie",
|
|
8
|
+
"table",
|
|
9
|
+
"list",
|
|
10
|
+
"kpi",
|
|
11
|
+
"heatmap",
|
|
12
|
+
"progress"
|
|
13
|
+
];
|
|
14
|
+
export { DASHBOARD_WIDGET_PREVIEWS };
|
package/exports.txt
CHANGED
|
@@ -21,6 +21,8 @@ type CalendarProps
|
|
|
21
21
|
type ChartConfig
|
|
22
22
|
type CompanyContact
|
|
23
23
|
type ContactQueries
|
|
24
|
+
type ContactSearch
|
|
25
|
+
type ContactSearchQueries
|
|
24
26
|
type CustomerContact
|
|
25
27
|
type FileStorageAdapter
|
|
26
28
|
type IUIConfig
|
|
@@ -31,15 +33,16 @@ type PluginLiveMessage
|
|
|
31
33
|
type PluginRuntime
|
|
32
34
|
type PluginSession
|
|
33
35
|
type RecordListGroup
|
|
36
|
+
type RecordPanelControls
|
|
34
37
|
type RecordRef
|
|
35
38
|
type RecordTableColumnDef
|
|
36
39
|
type RecordTimelineProps
|
|
37
|
-
type TActivityRowProps
|
|
38
40
|
type TConditionField
|
|
39
41
|
type TConditionGroup
|
|
40
42
|
type TConditionLookups
|
|
41
43
|
type TConditionRule
|
|
42
44
|
type TContactContentType
|
|
45
|
+
type TDashboardWidget
|
|
43
46
|
type TDashboardWidgetPreview
|
|
44
47
|
type TListDisplay
|
|
45
48
|
type TListFilterField
|
|
@@ -47,14 +50,14 @@ type TListFilterProps
|
|
|
47
50
|
type TListViews
|
|
48
51
|
type TPanelRecordType
|
|
49
52
|
type TPluginListType
|
|
50
|
-
type
|
|
51
|
-
type TPropertyInputProps
|
|
53
|
+
type TPluginSettingsPage
|
|
52
54
|
type TRecordContacts
|
|
53
55
|
type TRecordDraftProps
|
|
54
56
|
type TRecordSection
|
|
55
57
|
type TRecordSectionProps
|
|
56
58
|
type TRecordSlotProps
|
|
57
59
|
type TRecordTab
|
|
60
|
+
type TRecordTableSort
|
|
58
61
|
type TRelationTab
|
|
59
62
|
type TRelationTabProps
|
|
60
63
|
type TViewTabsProps
|
|
@@ -86,6 +89,7 @@ value ConditionsEditor
|
|
|
86
89
|
value ContactLink
|
|
87
90
|
value ContextMenu
|
|
88
91
|
value CopyText
|
|
92
|
+
value DASHBOARD_WIDGET_PREVIEWS
|
|
89
93
|
value DateInput
|
|
90
94
|
value DatePicker
|
|
91
95
|
value Dialog
|
|
@@ -142,6 +146,7 @@ value RadioGroup
|
|
|
142
146
|
value RecordList
|
|
143
147
|
value RecordOpenerProvider
|
|
144
148
|
value RecordPage
|
|
149
|
+
value RecordPanelProvider
|
|
145
150
|
value RecordTable
|
|
146
151
|
value RecordTableInlineCell
|
|
147
152
|
value RecordTimeline
|
|
@@ -227,6 +232,7 @@ value useOpenRecord
|
|
|
227
232
|
value usePageHotkey
|
|
228
233
|
value usePanelExpanded
|
|
229
234
|
value usePreviousHotkeyScope
|
|
235
|
+
value useRecordPanel
|
|
230
236
|
value useScopedHotkeys
|
|
231
237
|
value useTagOptions
|
|
232
238
|
value useToast
|