@dartech/arsenal-ui 1.4.84 → 1.4.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/index.d.ts +5 -5
  2. package/index.esm.d.ts +1 -0
  3. package/index.esm.js +1 -0
  4. package/package.json +4 -10
  5. package/src/consts/index.d.ts +14 -14
  6. package/src/interfaces/common.d.ts +24 -24
  7. package/src/interfaces/definition.d.ts +142 -142
  8. package/src/interfaces/index.d.ts +3 -3
  9. package/src/interfaces/ui.d.ts +73 -73
  10. package/src/lib/Alert/Alert.d.ts +55 -55
  11. package/src/lib/Alert/index.d.ts +1 -1
  12. package/src/lib/Breadcrumbs/Breadcrumbs.d.ts +8 -9
  13. package/src/lib/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -2
  14. package/src/lib/Breadcrumbs/index.d.ts +1 -1
  15. package/src/lib/ContentLayout/ContentLayout.d.ts +10 -10
  16. package/src/lib/ContentLayout/index.d.ts +1 -1
  17. package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +26 -26
  18. package/src/lib/Definition/CreateDefinition/index.d.ts +1 -1
  19. package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +21 -21
  20. package/src/lib/Definition/DefinitionFiller/index.d.ts +1 -1
  21. package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +7 -8
  22. package/src/lib/Definition/DefinitionValueView/FileDefinitionValueView.d.ts +7 -8
  23. package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +8 -9
  24. package/src/lib/Definition/DefinitionValueView/index.d.ts +1 -1
  25. package/src/lib/Definition/index.d.ts +3 -3
  26. package/src/lib/Forms/BackButton.d.ts +6 -7
  27. package/src/lib/Forms/ControlAceEditor.d.ts +23 -23
  28. package/src/lib/Forms/ControlArrayInput.d.ts +14 -14
  29. package/src/lib/Forms/ControlAutocomplete/ControlAutocomplete.d.ts +74 -74
  30. package/src/lib/Forms/ControlAutocomplete/ControlQueryAutocomplete.d.ts +20 -20
  31. package/src/lib/Forms/ControlAutocomplete/index.d.ts +2 -2
  32. package/src/lib/Forms/ControlAutocomplete/useAutocomplete.d.ts +9 -10
  33. package/src/lib/Forms/ControlCheckbox.d.ts +51 -51
  34. package/src/lib/Forms/ControlDate.d.ts +26 -26
  35. package/src/lib/Forms/ControlDateTime.d.ts +26 -26
  36. package/src/lib/Forms/ControlDebouncedInput.d.ts +3 -4
  37. package/src/lib/Forms/ControlInput.d.ts +63 -63
  38. package/src/lib/Forms/ControlNumberInput.d.ts +72 -72
  39. package/src/lib/Forms/ControlPeriodInput.d.ts +11 -11
  40. package/src/lib/Forms/ControlPhoneInput.d.ts +17 -17
  41. package/src/lib/Forms/ControlRadio.d.ts +70 -70
  42. package/src/lib/Forms/ControlSelect.d.ts +72 -72
  43. package/src/lib/Forms/ControlSwitch.d.ts +19 -19
  44. package/src/lib/Forms/ControlTime.d.ts +24 -24
  45. package/src/lib/Forms/CopyButton.d.ts +19 -20
  46. package/src/lib/Forms/index.d.ts +17 -17
  47. package/src/lib/InfoItem/InfoItem.d.ts +7 -8
  48. package/src/lib/InfoItem/index.d.ts +1 -1
  49. package/src/lib/JsonPathPicker/JsonPathPicker.d.ts +9 -10
  50. package/src/lib/JsonPathPicker/PropertyStep.d.ts +10 -11
  51. package/src/lib/JsonPathPicker/index.d.ts +1 -1
  52. package/src/lib/JsonView/JsonView.d.ts +9 -9
  53. package/src/lib/JsonView/index.d.ts +1 -1
  54. package/src/lib/Loader/Loader.d.ts +21 -22
  55. package/src/lib/Loader/index.d.ts +1 -1
  56. package/src/lib/Modals/JsonModalView.d.ts +12 -12
  57. package/src/lib/Modals/index.d.ts +1 -1
  58. package/src/lib/OverflowTooltip/OverflowTooltip.d.ts +3 -4
  59. package/src/lib/OverflowTooltip/index.d.ts +1 -1
  60. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyFiller.d.ts +26 -26
  61. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyWidget.d.ts +24 -24
  62. package/src/lib/Property/PropertyFiller/ControlFiller/ControlPropertyFiller.d.ts +26 -26
  63. package/src/lib/Property/PropertyFiller/ControlFiller/index.d.ts +3 -3
  64. package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +9 -9
  65. package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +24 -24
  66. package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +22 -22
  67. package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +24 -24
  68. package/src/lib/Property/PropertyFiller/index.d.ts +2 -2
  69. package/src/lib/Property/PropertyFiller/styled.d.ts +18 -18
  70. package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +26 -26
  71. package/src/lib/Property/PropertyValidator/NodeValidator.d.ts +5 -6
  72. package/src/lib/Property/PropertyValidator/NodesList.d.ts +5 -6
  73. package/src/lib/Property/PropertyValidator/NumericTypeValidator.d.ts +7 -8
  74. package/src/lib/Property/PropertyValidator/PropertyValidator.d.ts +5 -6
  75. package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +3 -3
  76. package/src/lib/Property/PropertyValidator/StringTypeValidator.d.ts +7 -8
  77. package/src/lib/Property/PropertyValidator/ValidationNodeSelector.d.ts +6 -7
  78. package/src/lib/Property/PropertyValidator/index.d.ts +1 -1
  79. package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +23 -23
  80. package/src/lib/Property/PropertyWidget/index.d.ts +1 -1
  81. package/src/lib/Property/UpsertProperty/CreatePropertiesList/CreatePropertiesList.d.ts +36 -36
  82. package/src/lib/Property/UpsertProperty/CreatePropertiesList/ListItem.d.ts +29 -29
  83. package/src/lib/Property/UpsertProperty/CreatePropertiesList/index.d.ts +2 -2
  84. package/src/lib/Property/UpsertProperty/CreatePropertiesListContext.d.ts +30 -30
  85. package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +24 -24
  86. package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +6 -7
  87. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +7 -8
  88. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +8 -9
  89. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +22 -22
  90. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +11 -12
  91. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +23 -23
  92. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +7 -8
  93. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/index.d.ts +1 -1
  94. package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +8 -9
  95. package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +8 -9
  96. package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +8 -9
  97. package/src/lib/Property/UpsertProperty/PropertyValueField/FileValueWidget.d.ts +5 -6
  98. package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +7 -8
  99. package/src/lib/Property/UpsertProperty/PropertyValueField/PropertyValueField.d.ts +23 -23
  100. package/src/lib/Property/UpsertProperty/PropertyValueField/StringValueField.d.ts +13 -14
  101. package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +8 -9
  102. package/src/lib/Property/UpsertProperty/PropertyValueField/index.d.ts +1 -1
  103. package/src/lib/Property/UpsertProperty/index.d.ts +4 -4
  104. package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +6 -6
  105. package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +7 -8
  106. package/src/lib/Property/ViewPropertiesList/index.d.ts +1 -1
  107. package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +6 -7
  108. package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +8 -8
  109. package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +6 -7
  110. package/src/lib/Property/ViewProperty/PropertyItem.d.ts +8 -9
  111. package/src/lib/Property/ViewProperty/ViewProperty.d.ts +8 -9
  112. package/src/lib/Property/ViewProperty/index.d.ts +1 -1
  113. package/src/lib/Property/index.d.ts +4 -4
  114. package/src/lib/Sidebar/Sidebar.d.ts +14 -14
  115. package/src/lib/Sidebar/Sidebar.styled.d.ts +118 -118
  116. package/src/lib/Sidebar/SidebarContext.d.ts +12 -12
  117. package/src/lib/Sidebar/SidebarDrawer.d.ts +13 -13
  118. package/src/lib/Sidebar/SidebarLink/MenuIcon.d.ts +6 -7
  119. package/src/lib/Sidebar/SidebarLink/SidebarLink.d.ts +7 -8
  120. package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.d.ts +8 -9
  121. package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.d.ts +10 -11
  122. package/src/lib/Sidebar/SidebarLink/SidebarRootItem.d.ts +10 -11
  123. package/src/lib/Sidebar/SidebarLink/index.d.ts +2 -2
  124. package/src/lib/Sidebar/index.d.ts +2 -2
  125. package/src/lib/Status/Status.d.ts +7 -8
  126. package/src/lib/Status/index.d.ts +1 -1
  127. package/src/lib/StepperView/StepperView.d.ts +11 -11
  128. package/src/lib/StepperView/index.d.ts +1 -1
  129. package/src/lib/Table/DataGrid/DataGrid.styled.d.ts +4 -4
  130. package/src/lib/Table/DataGrid/JsonTypeCell.d.ts +6 -7
  131. package/src/lib/Table/DataGrid/Table.d.ts +47 -47
  132. package/src/lib/Table/DataGrid/TableAction.d.ts +13 -13
  133. package/src/lib/Table/DataGrid/TableColumnMenu.d.ts +2 -3
  134. package/src/lib/Table/DataGrid/TablePagination.d.ts +2 -3
  135. package/src/lib/Table/DataGrid/index.d.ts +2 -2
  136. package/src/lib/Table/DataGrid/usePagination.d.ts +5 -5
  137. package/src/lib/Table/DataGrid/useTableQueryPagination.d.ts +11 -11
  138. package/src/lib/Table/DataGrid/useTableQuerySorting.d.ts +6 -6
  139. package/src/lib/Table/SimpleTable/SimpleTable.d.ts +19 -19
  140. package/src/lib/Table/SimpleTable/Table.styled.d.ts +30 -30
  141. package/src/lib/Table/SimpleTable/TableActionCell.d.ts +10 -10
  142. package/src/lib/Table/SimpleTable/index.d.ts +2 -2
  143. package/src/lib/Table/SimpleTable/useTablePagination.d.ts +7 -7
  144. package/src/lib/Table/SimpleTable/useTableSorting.d.ts +6 -6
  145. package/src/lib/Table/index.d.ts +2 -2
  146. package/src/lib/Tabs/RouteTabs.d.ts +11 -11
  147. package/src/lib/Tabs/TabPanel.d.ts +25 -25
  148. package/src/lib/Tabs/index.d.ts +2 -2
  149. package/src/lib/index.d.ts +17 -17
  150. package/src/theme/baseTheme.d.ts +2 -2
  151. package/src/theme/index.d.ts +1 -1
  152. package/src/theme/inputThemeOptions.d.ts +200 -201
  153. package/src/theme/stepperThemeOptions.d.ts +16 -16
  154. package/src/theme/tableThemeOptions.d.ts +159 -152
  155. package/src/theme/typographyThemeOptions.d.ts +29 -29
  156. package/src/utils/common.d.ts +7 -7
  157. package/src/utils/dem.d.ts +27 -27
  158. package/src/utils/hooks.d.ts +7 -7
  159. package/src/utils/index.d.ts +5 -5
  160. package/src/utils/test-mocks.d.ts +166 -166
  161. package/src/utils/ui-utils.d.ts +17 -17
  162. package/src/utils/validators.d.ts +6 -6
  163. package/index.js +0 -8479
@@ -1,152 +1,159 @@
1
- declare const tableThemeOptions: {
2
- components: {
3
- MuiTableContainer: {
4
- styleOverrides: {
5
- root: {
6
- borderRadius: string;
7
- border: string;
8
- overflow: string;
9
- };
10
- };
11
- };
12
- MuiTableHead: {
13
- styleOverrides: {
14
- root: {
15
- backgroundColor: string;
16
- };
17
- };
18
- };
19
- MuiTableRow: {
20
- styleOverrides: {
21
- root: {
22
- '&.MuiTableRow-hover': {
23
- '&:hover': {
24
- backgroundColor: string;
25
- };
26
- '&:active, &:focus': {
27
- backgroundColor: string;
28
- };
29
- };
30
- '&:active, &:focus': {
31
- backgroundColor: string;
32
- };
33
- };
34
- };
35
- };
36
- MuiTableCell: {
37
- styleOverrides: {
38
- root: {
39
- padding: string;
40
- borderColor: string;
41
- '&:first-of-type': {
42
- paddingLeft: string;
43
- };
44
- };
45
- head: {
46
- padding: string;
47
- color: string;
48
- };
49
- body: {
50
- wordBreak: string;
51
- };
52
- };
53
- };
54
- MuiTableSortLabel: {
55
- styleOverrides: {
56
- root: {
57
- maxHeight: string;
58
- lineHeight: number;
59
- };
60
- };
61
- };
62
- MuiTablePagination: {
63
- styleOverrides: {
64
- root: {
65
- '& .MuiInputBase-root': {
66
- border: string;
67
- borderRadius: number;
68
- minWidth: number;
69
- height: number;
70
- paddingRight: string;
71
- '& .MuiSelect-select': {
72
- paddingRight: string;
73
- color: string;
74
- '&:focus': {
75
- backgroundColor: string;
76
- };
77
- };
78
- };
79
- };
80
- };
81
- };
82
- MuiPaginationItem: {
83
- styleOverrides: {
84
- root: {
85
- height: number;
86
- minWidth: number;
87
- borderRadius: number;
88
- border: string;
89
- margin: string;
90
- '&.Mui-selected': {
91
- borderColor: string;
92
- backgroundColor: string;
93
- };
94
- };
95
- };
96
- };
97
- MuiDataGrid: {
98
- defaultProps: {
99
- headerHeight: number;
100
- getRowHeight: () => string;
101
- };
102
- styleOverrides: {
103
- root: {
104
- borderRadius: string;
105
- width: string;
106
- color: string;
107
- border: string;
108
- };
109
- columnHeaders: {
110
- backgroundColor: string;
111
- borderTopLeftRadius: string;
112
- borderTopRightRadius: string;
113
- };
114
- columnHeader: {
115
- '&:focus': {
116
- outline: string;
117
- };
118
- };
119
- columnHeaderTitle: {
120
- color: string;
121
- fontWeight: number;
122
- };
123
- row: {
124
- '&:hover': {
125
- backgroundColor: string;
126
- };
127
- '&:active, &:focus': {
128
- backgroundColor: string;
129
- };
130
- };
131
- columnSeparator: {
132
- display: string;
133
- };
134
- withBorder: {
135
- borderColor: string;
136
- };
137
- cell: {
138
- minHeight: string;
139
- textOverflow: string;
140
- wordBreak: string;
141
- lineHeight: string;
142
- padding: string;
143
- borderColor: string;
144
- '&:focus': {
145
- outline: string;
146
- };
147
- };
148
- };
149
- };
150
- };
151
- };
152
- export default tableThemeOptions;
1
+ declare const tableThemeOptions: {
2
+ components: {
3
+ MuiTableContainer: {
4
+ styleOverrides: {
5
+ root: {
6
+ borderRadius: string;
7
+ border: string;
8
+ overflow: string;
9
+ };
10
+ };
11
+ };
12
+ MuiTableHead: {
13
+ styleOverrides: {
14
+ root: {
15
+ backgroundColor: string;
16
+ };
17
+ };
18
+ };
19
+ MuiTableRow: {
20
+ styleOverrides: {
21
+ root: {
22
+ '&.MuiTableRow-hover': {
23
+ '&:hover': {
24
+ backgroundColor: string;
25
+ };
26
+ '&:active, &:focus': {
27
+ backgroundColor: string;
28
+ };
29
+ };
30
+ '&:active, &:focus': {
31
+ backgroundColor: string;
32
+ };
33
+ };
34
+ };
35
+ };
36
+ MuiTableCell: {
37
+ styleOverrides: {
38
+ root: {
39
+ padding: string;
40
+ borderColor: string;
41
+ '&:first-of-type': {
42
+ paddingLeft: string;
43
+ };
44
+ };
45
+ head: {
46
+ padding: string;
47
+ color: string;
48
+ };
49
+ body: {
50
+ wordBreak: string;
51
+ };
52
+ };
53
+ };
54
+ MuiTableSortLabel: {
55
+ styleOverrides: {
56
+ root: {
57
+ maxHeight: string;
58
+ lineHeight: number;
59
+ };
60
+ };
61
+ };
62
+ MuiTablePagination: {
63
+ styleOverrides: {
64
+ root: {
65
+ '& .MuiInputBase-root': {
66
+ border: string;
67
+ borderRadius: number;
68
+ minWidth: number;
69
+ height: number;
70
+ paddingRight: string;
71
+ '& .MuiSelect-select': {
72
+ paddingRight: string;
73
+ color: string;
74
+ '&:focus': {
75
+ backgroundColor: string;
76
+ };
77
+ };
78
+ };
79
+ };
80
+ };
81
+ };
82
+ MuiPaginationItem: {
83
+ styleOverrides: {
84
+ root: {
85
+ height: number;
86
+ minWidth: number;
87
+ borderRadius: number;
88
+ border: string;
89
+ margin: string;
90
+ '&.Mui-selected': {
91
+ borderColor: string;
92
+ backgroundColor: string;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ MuiDataGrid: {
98
+ defaultProps: {
99
+ headerHeight: number;
100
+ getRowHeight: () => string;
101
+ };
102
+ styleOverrides: {
103
+ root: {
104
+ borderRadius: string;
105
+ width: string;
106
+ color: string;
107
+ border: string;
108
+ '& .MuiDataGrid-actionsCell': {
109
+ flexWrap: string;
110
+ width: string;
111
+ '& > button[aria-label="more"]': {
112
+ marginLeft: string;
113
+ };
114
+ };
115
+ };
116
+ columnHeaders: {
117
+ backgroundColor: string;
118
+ borderTopLeftRadius: string;
119
+ borderTopRightRadius: string;
120
+ };
121
+ columnHeader: {
122
+ '&:focus': {
123
+ outline: string;
124
+ };
125
+ };
126
+ columnHeaderTitle: {
127
+ color: string;
128
+ fontWeight: number;
129
+ };
130
+ row: {
131
+ '&:hover': {
132
+ backgroundColor: string;
133
+ };
134
+ '&:active, &:focus': {
135
+ backgroundColor: string;
136
+ };
137
+ };
138
+ columnSeparator: {
139
+ display: string;
140
+ };
141
+ withBorder: {
142
+ borderColor: string;
143
+ };
144
+ cell: {
145
+ minHeight: string;
146
+ textOverflow: string;
147
+ wordBreak: string;
148
+ lineHeight: string;
149
+ padding: string;
150
+ borderColor: string;
151
+ '&:focus': {
152
+ outline: string;
153
+ };
154
+ };
155
+ };
156
+ };
157
+ };
158
+ };
159
+ export default tableThemeOptions;
@@ -1,29 +1,29 @@
1
- declare const typographyThemeOptions: {
2
- components: {
3
- MuiTypography: {
4
- styleOverrides: {
5
- h1: {
6
- [x: string]: {
7
- fontSize: string;
8
- };
9
- };
10
- h3: {
11
- [x: string]: string | {
12
- fontSize: string;
13
- };
14
- fontSize: string;
15
- };
16
- h4: {
17
- [x: string]: string | {
18
- fontSize: string;
19
- };
20
- fontSize: string;
21
- };
22
- subtitle2: {
23
- color: string;
24
- };
25
- };
26
- };
27
- };
28
- };
29
- export default typographyThemeOptions;
1
+ declare const typographyThemeOptions: {
2
+ components: {
3
+ MuiTypography: {
4
+ styleOverrides: {
5
+ h1: {
6
+ [x: string]: {
7
+ fontSize: string;
8
+ };
9
+ };
10
+ h3: {
11
+ [x: string]: string | {
12
+ fontSize: string;
13
+ };
14
+ fontSize: string;
15
+ };
16
+ h4: {
17
+ [x: string]: string | {
18
+ fontSize: string;
19
+ };
20
+ fontSize: string;
21
+ };
22
+ subtitle2: {
23
+ color: string;
24
+ };
25
+ };
26
+ };
27
+ };
28
+ };
29
+ export default typographyThemeOptions;
@@ -1,7 +1,7 @@
1
- export declare const removeArrayItem: (arr: Array<unknown>, index: number) => unknown[];
2
- export declare const validateJson: (value: string) => boolean;
3
- export declare function capitalize(str: string): string;
4
- export declare const sortArrayOfObjects: (a: Record<string, unknown>, b: Record<string, unknown>, key: string, order?: string) => 1 | -1 | 0;
5
- export declare const getJsonStringValue: (value: unknown) => string;
6
- export declare const safeParseJson: (value: string) => any;
7
- export declare const deepParseJson: (value: string) => any;
1
+ export declare const removeArrayItem: (arr: Array<unknown>, index: number) => unknown[];
2
+ export declare const validateJson: (value: string) => boolean;
3
+ export declare function capitalize(str: string): string;
4
+ export declare const sortArrayOfObjects: (a: Record<string, unknown>, b: Record<string, unknown>, key: string, order?: string) => 1 | -1 | 0;
5
+ export declare const getJsonStringValue: (value: unknown) => string;
6
+ export declare const safeParseJson: (value: string) => any;
7
+ export declare const deepParseJson: (value: string) => any;
@@ -1,27 +1,27 @@
1
- import { PropertyType, EntityTypeProperty, PropertiesArrayType, PropertiesObjectType, PropertyFillType } from '../interfaces';
2
- export declare const isPropertyValueEmpty: (value: unknown) => boolean;
3
- export declare const formatDefinitionData: (properties: PropertiesArrayType<unknown>, data: unknown) => {};
4
- export declare const propertiesArrayToObject: (properties: any, isGlobalParameter?: boolean) => PropertiesObjectType<any>;
5
- export declare function propertiesObjectToArray(properties: any, fields?: {
6
- [key: string]: unknown;
7
- }): any[];
8
- export declare const getDemPropertyDateFormat: (defaultFormat: string, propertyFormat: string) => string;
9
- export declare const getEntityStarterValue: (property: EntityTypeProperty) => any;
10
- export declare const getMultiplePropertyFillOptions: ({ propertyType, useExpression, required, }: {
11
- propertyType: PropertyType;
12
- required: boolean;
13
- useExpression?: boolean;
14
- }) => {
15
- value: PropertyFillType;
16
- label: string;
17
- sortOrder: number;
18
- }[];
19
- export declare const getSinglePropertyFillOptions: ({ propertyType, useExpression, required, }: {
20
- propertyType: PropertyType;
21
- required: boolean;
22
- useExpression?: boolean;
23
- }) => {
24
- value: PropertyFillType;
25
- label: string;
26
- sortOrder: number;
27
- }[];
1
+ import { PropertyType, EntityTypeProperty, PropertiesArrayType, PropertiesObjectType, PropertyFillType } from '../interfaces';
2
+ export declare const isPropertyValueEmpty: (value: unknown) => boolean;
3
+ export declare const formatDefinitionData: (properties: PropertiesArrayType<unknown>, data: unknown) => {};
4
+ export declare const propertiesArrayToObject: (properties: any, isGlobalParameter?: boolean) => PropertiesObjectType<any>;
5
+ export declare function propertiesObjectToArray(properties: any, fields?: {
6
+ [key: string]: unknown;
7
+ }): any[];
8
+ export declare const getDemPropertyDateFormat: (defaultFormat: string, propertyFormat: string) => string;
9
+ export declare const getEntityStarterValue: (property: EntityTypeProperty) => any;
10
+ export declare const getMultiplePropertyFillOptions: ({ propertyType, useExpression, required, }: {
11
+ propertyType: PropertyType;
12
+ required: boolean;
13
+ useExpression?: boolean;
14
+ }) => {
15
+ value: PropertyFillType;
16
+ label: string;
17
+ sortOrder: number;
18
+ }[];
19
+ export declare const getSinglePropertyFillOptions: ({ propertyType, useExpression, required, }: {
20
+ propertyType: PropertyType;
21
+ required: boolean;
22
+ useExpression?: boolean;
23
+ }) => {
24
+ value: PropertyFillType;
25
+ label: string;
26
+ sortOrder: number;
27
+ }[];
@@ -1,7 +1,7 @@
1
- export declare function useDebounce(func: (args?: any) => void, delay: number): (...args: any[]) => void;
2
- export declare const useToggle: () => {
3
- open: boolean;
4
- toggle: () => void;
5
- onClose: () => void;
6
- onOpen: () => void;
7
- };
1
+ export declare function useDebounce(func: (args?: any) => void, delay: number): (...args: any[]) => void;
2
+ export declare const useToggle: () => {
3
+ open: boolean;
4
+ toggle: () => void;
5
+ onClose: () => void;
6
+ onOpen: () => void;
7
+ };
@@ -1,5 +1,5 @@
1
- export * from './common';
2
- export * from './ui-utils';
3
- export * from './hooks';
4
- export * from './validators';
5
- export * from './dem';
1
+ export * from './common';
2
+ export * from './ui-utils';
3
+ export * from './hooks';
4
+ export * from './validators';
5
+ export * from './dem';