@adaptabletools/adaptable 12.0.0-canary.8 → 12.0.1

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.
Files changed (127) hide show
  1. package/base.css +6 -19
  2. package/bundle.cjs.js +125 -125
  3. package/index.css +7 -23
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
  8. package/src/Api/FilterApi.d.ts +7 -2
  9. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -0
  10. package/src/Api/Implementation/FilterApiImpl.js +5 -0
  11. package/src/Api/Implementation/InternalApiImpl.d.ts +4 -1
  12. package/src/Api/Implementation/InternalApiImpl.js +16 -3
  13. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -0
  14. package/src/Api/Implementation/TeamSharingApiImpl.js +5 -0
  15. package/src/Api/InternalApi.d.ts +4 -1
  16. package/src/Api/TeamSharingApi.d.ts +4 -0
  17. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +27 -6
  18. package/src/PredefinedConfig/Common/AdaptablePredicate.js +2 -2
  19. package/src/PredefinedConfig/Selection/GridCellRange.d.ts +19 -0
  20. package/src/PredefinedConfig/StatusBarState.d.ts +1 -1
  21. package/src/Redux/ActionsReducers/LayoutRedux.js +3 -0
  22. package/src/Strategy/AdaptableModuleBase.d.ts +10 -5
  23. package/src/Strategy/AdaptableModuleBase.js +6 -0
  24. package/src/Strategy/AlertModule.d.ts +2 -8
  25. package/src/Strategy/AlertModule.js +3 -0
  26. package/src/Strategy/DashboardModule.js +1 -0
  27. package/src/Strategy/ExportModule.js +1 -0
  28. package/src/Strategy/FormatColumnModule.js +3 -3
  29. package/src/Strategy/GridInfoModule.js +2 -0
  30. package/src/Strategy/Interface/IModule.d.ts +16 -4
  31. package/src/Strategy/LayoutModule.js +2 -0
  32. package/src/Strategy/TeamSharingModule.d.ts +11 -1
  33. package/src/Strategy/TeamSharingModule.js +104 -0
  34. package/src/Utilities/MenuItem.d.ts +4 -4
  35. package/src/Utilities/Services/TeamSharingService.js +0 -2
  36. package/src/View/AdaptableViewFactory.js +0 -2
  37. package/src/View/Alert/ActiveAlertsPanelItemLabel.d.ts +5 -0
  38. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +22 -0
  39. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +2 -2
  40. package/src/View/ColorPicker.d.ts +1 -1
  41. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  42. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +8 -4
  43. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +13 -1
  44. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +23 -15
  45. package/src/View/Components/Buttons/ButtonDelete.js +3 -3
  46. package/src/View/Components/Buttons/ButtonPause.js +11 -1
  47. package/src/View/Components/FilterForm/QuickFilterForm.js +23 -2
  48. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -1
  49. package/src/View/Components/Panels/PanelWithImage.d.ts +3 -2
  50. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -0
  51. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
  52. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -11
  53. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -11
  54. package/src/View/Dashboard/CustomDashboardButton.js +2 -15
  55. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -11
  56. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -0
  57. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  58. package/src/View/Layout/LayoutEditorStandalonePopup.js +3 -1
  59. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  60. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  61. package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +2 -27
  62. package/src/View/TeamSharing/SharedEntityDependencies.d.ts +8 -0
  63. package/src/View/TeamSharing/SharedEntityDependencies.js +27 -0
  64. package/src/View/TeamSharing/SharedEntityObjectView.d.ts +9 -0
  65. package/src/View/TeamSharing/SharedEntityObjectView.js +84 -0
  66. package/src/View/TeamSharing/TeamSharingApplyButton.d.ts +6 -0
  67. package/src/View/TeamSharing/TeamSharingApplyButton.js +15 -0
  68. package/src/View/UIHelper.d.ts +2 -2
  69. package/src/agGrid/ActionColumnRenderer.js +5 -11
  70. package/src/agGrid/Adaptable.d.ts +2 -26
  71. package/src/agGrid/Adaptable.js +51 -52
  72. package/src/agGrid/agGridMenuHelper.d.ts +1 -0
  73. package/src/agGrid/agGridMenuHelper.js +15 -4
  74. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -12
  75. package/src/components/AdaptableIconComponent/index.d.ts +2 -1
  76. package/src/components/AdaptableIconComponent/index.js +36 -3
  77. package/src/components/Datepicker/index.d.ts +1 -1
  78. package/src/components/Input/index.d.ts +1 -1
  79. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  80. package/src/components/PopupWithFooter.d.ts +1 -1
  81. package/src/components/SimpleButton/index.js +1 -1
  82. package/src/components/Textarea/index.d.ts +1 -1
  83. package/src/components/icons/{color-drop.d.ts → ends-with.d.ts} +0 -0
  84. package/src/components/icons/{format-letter-ends-with.js → ends-with.js} +0 -0
  85. package/src/components/icons/{filter-outline.d.ts → filter.d.ts} +0 -0
  86. package/src/components/icons/{filter-outline.js → filter.js} +0 -0
  87. package/src/components/icons/index.d.ts +5 -7
  88. package/src/components/icons/index.js +7 -21
  89. package/src/components/icons/{format-letter-ends-with.d.ts → starts-with.d.ts} +0 -0
  90. package/src/components/icons/{format-letter-starts-with.js → starts-with.js} +0 -0
  91. package/src/metamodel/adaptable.metamodel.d.ts +75 -0
  92. package/src/metamodel/adaptable.metamodel.js +1 -1
  93. package/src/types.d.ts +1 -1
  94. package/version.d.ts +1 -1
  95. package/version.js +1 -1
  96. package/src/View/Alert/AlertSharedEntity.d.ts +0 -5
  97. package/src/View/Alert/AlertSharedEntity.js +0 -19
  98. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.d.ts +0 -5
  99. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +0 -20
  100. package/src/View/ConditionalStyle/ConditionalStyleSharedEntity.d.ts +0 -5
  101. package/src/View/ConditionalStyle/ConditionalStyleSharedEntity.js +0 -23
  102. package/src/View/CustomSort/CustomSortSharedEntity.d.ts +0 -6
  103. package/src/View/CustomSort/CustomSortSharedEntity.js +0 -24
  104. package/src/View/Export/ExportSharedEntity.d.ts +0 -5
  105. package/src/View/Export/ExportSharedEntity.js +0 -16
  106. package/src/View/Filter/FilterSharedEntity.d.ts +0 -5
  107. package/src/View/Filter/FilterSharedEntity.js +0 -15
  108. package/src/View/FormatColumn/FormatColumnSharedEntity.d.ts +0 -5
  109. package/src/View/FormatColumn/FormatColumnSharedEntity.js +0 -18
  110. package/src/View/FreeTextColumn/FreeTextColumnSharedEntity.d.ts +0 -5
  111. package/src/View/FreeTextColumn/FreeTextColumnSharedEntity.js +0 -24
  112. package/src/View/Layout/LayoutSharedEntity.d.ts +0 -5
  113. package/src/View/Layout/LayoutSharedEntity.js +0 -15
  114. package/src/View/PlusMinus/PlusMinusSharedEntity.d.ts +0 -5
  115. package/src/View/PlusMinus/PlusMinusSharedEntity.js +0 -21
  116. package/src/View/Query/NamedQuerySharedEntity.d.ts +0 -5
  117. package/src/View/Query/NamedQuerySharedEntity.js +0 -19
  118. package/src/View/Shortcut/ShortcutSharedEntity.d.ts +0 -5
  119. package/src/View/Shortcut/ShortcutSharedEntity.js +0 -19
  120. package/src/View/TeamSharing/TeamSharingPopup.d.ts +0 -23
  121. package/src/View/TeamSharing/TeamSharingPopup.js +0 -163
  122. package/src/agGrid/rowEditIcons.d.ts +0 -5
  123. package/src/agGrid/rowEditIcons.js +0 -10
  124. package/src/components/icons/color-drop.js +0 -7
  125. package/src/components/icons/format-letter-starts-with.d.ts +0 -3
  126. package/src/components/icons/pause-red.d.ts +0 -3
  127. package/src/components/icons/pause-red.js +0 -7
@@ -1,16 +1,14 @@
1
1
  import * as React from 'react';
2
- import { CSSProperties } from 'react';
3
- import { AdaptableIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
4
- declare const allIcons: {
5
- [key: string]: React.ReactNode;
6
- };
2
+ import { CSSProperties, ReactNode } from 'react';
3
+ import { AdaptableExternalIcon, AdaptableInternalIcon, AdaptableInternalIconName } from '../../PredefinedConfig/Common/AdaptableIcon';
4
+ declare const allIcons: Record<AdaptableInternalIconName, ReactNode>;
7
5
  export declare const Icon: ({ name, style, className, tabIndex, ...props }: {
8
6
  style?: React.CSSProperties;
9
- name: string;
7
+ name: AdaptableInternalIconName;
10
8
  size?: number;
11
9
  className?: string;
12
10
  tabIndex?: number;
13
11
  props?: React.SVGProps<SVGElement>;
14
12
  }) => JSX.Element;
15
- export declare const iconToString: (icon: AdaptableIcon, style?: CSSProperties) => string;
13
+ export declare const iconToString: (icon: AdaptableInternalIcon | AdaptableExternalIcon, style?: CSSProperties) => string;
16
14
  export default allIcons;
@@ -39,7 +39,6 @@ const sort_asc_1 = tslib_1.__importDefault(require("./sort-asc"));
39
39
  const sort_desc_1 = tslib_1.__importDefault(require("./sort-desc"));
40
40
  const calendar_1 = tslib_1.__importDefault(require("./calendar"));
41
41
  const delete_1 = tslib_1.__importDefault(require("./delete"));
42
- const color_drop_1 = tslib_1.__importDefault(require("./color-drop"));
43
42
  const check_circle_1 = tslib_1.__importDefault(require("./check-circle"));
44
43
  const refresh_1 = tslib_1.__importDefault(require("./refresh"));
45
44
  const save_1 = tslib_1.__importDefault(require("./save"));
@@ -53,7 +52,6 @@ const column_chooser_1 = tslib_1.__importDefault(require("./column-chooser"));
53
52
  const column_add_1 = tslib_1.__importDefault(require("./column-add"));
54
53
  const cell_validation_1 = tslib_1.__importDefault(require("./cell-validation"));
55
54
  const column_filter_1 = tslib_1.__importDefault(require("./column-filter"));
56
- const column_info_1 = tslib_1.__importDefault(require("./column-info"));
57
55
  const custom_sort_1 = tslib_1.__importDefault(require("./custom-sort"));
58
56
  const system_status_1 = tslib_1.__importDefault(require("./system-status"));
59
57
  const data_set_1 = tslib_1.__importDefault(require("./data-set"));
@@ -95,7 +93,6 @@ const folder_shared_1 = tslib_1.__importDefault(require("./folder-shared"));
95
93
  const play_1 = tslib_1.__importDefault(require("./play"));
96
94
  const stop_1 = tslib_1.__importDefault(require("./stop"));
97
95
  const pause_1 = tslib_1.__importDefault(require("./pause"));
98
- const pause_red_1 = tslib_1.__importDefault(require("./pause-red"));
99
96
  const newpage_1 = tslib_1.__importDefault(require("./newpage"));
100
97
  const drag_1 = tslib_1.__importDefault(require("./drag"));
101
98
  const hide_column_1 = tslib_1.__importDefault(require("./hide-column"));
@@ -108,7 +105,7 @@ const expand_1 = tslib_1.__importDefault(require("./expand"));
108
105
  const arrow_expand_1 = tslib_1.__importDefault(require("./arrow-expand"));
109
106
  const invalid_1 = tslib_1.__importDefault(require("./invalid"));
110
107
  const history_1 = tslib_1.__importDefault(require("./history"));
111
- const filter_outline_1 = tslib_1.__importDefault(require("./filter-outline"));
108
+ const filter_1 = tslib_1.__importDefault(require("./filter"));
112
109
  const close_1 = tslib_1.__importDefault(require("./close"));
113
110
  const function_1 = tslib_1.__importDefault(require("./function"));
114
111
  const greater_than_or_equal_1 = tslib_1.__importDefault(require("./greater-than-or-equal"));
@@ -122,8 +119,8 @@ const percent_1 = tslib_1.__importDefault(require("./percent"));
122
119
  const exponent_1 = tslib_1.__importDefault(require("./exponent"));
123
120
  const equal_1 = tslib_1.__importDefault(require("./equal"));
124
121
  const not_equal_1 = tslib_1.__importDefault(require("./not-equal"));
125
- const format_letter_ends_with_1 = tslib_1.__importDefault(require("./format-letter-ends-with"));
126
- const format_letter_starts_with_1 = tslib_1.__importDefault(require("./format-letter-starts-with"));
122
+ const ends_with_1 = tslib_1.__importDefault(require("./ends-with"));
123
+ const starts_with_1 = tslib_1.__importDefault(require("./starts-with"));
127
124
  const blanks_1 = tslib_1.__importDefault(require("./blanks"));
128
125
  const non_blanks_1 = tslib_1.__importDefault(require("./non-blanks"));
129
126
  const contains_1 = tslib_1.__importDefault(require("./contains"));
@@ -170,7 +167,6 @@ const allIcons = {
170
167
  'cell-validation': cell_validation_1.default,
171
168
  'conditional-style': conditional_style_1.default,
172
169
  chat: chat_1.default,
173
- 'column-info': column_info_1.default,
174
170
  'custom-sort': custom_sort_1.default,
175
171
  dashboard: dashboard_1.default,
176
172
  'flashing-cell': flashing_cell_1.default,
@@ -193,8 +189,6 @@ const allIcons = {
193
189
  // others
194
190
  edit: edit_1.default,
195
191
  'tab-unselected': tab_unselected_1.default,
196
- 'check-box': check_box_1.default,
197
- 'check-box-outline': check_box_outline_1.default,
198
192
  unchecked: check_box_outline_1.default,
199
193
  checked: check_box_1.default,
200
194
  'boolean-list': boolean_list_1.default,
@@ -204,7 +198,6 @@ const allIcons = {
204
198
  'arrow-down': arrow_down_1.default,
205
199
  'triangle-down': triangle_down_1.default,
206
200
  'arrow-left': arrow_left_1.default,
207
- 'color-drop': color_drop_1.default,
208
201
  'check-circle': check_circle_1.default,
209
202
  comment: comment_1.default,
210
203
  list: list_1.default,
@@ -216,17 +209,12 @@ const allIcons = {
216
209
  trash: delete_1.default,
217
210
  refresh: refresh_1.default,
218
211
  error: error_1.default,
219
- exclamation: error_1.default,
220
- 'exclamation-sign': error_1.default,
221
212
  'fast-forward': fast_forward_1.default,
222
213
  'fast-backward': fast_backward_1.default,
223
214
  warning: warning_1.default,
224
- 'notification-important': alert_1.default,
225
- 'warning-sign': warning_1.default,
226
215
  justify: justify_1.default,
227
216
  check: check_1.default,
228
217
  ok: check_1.default,
229
- 'ok-sign': check_1.default,
230
218
  plus: plus_1.default,
231
219
  home: home_1.default,
232
220
  'sort-asc': sort_asc_1.default,
@@ -238,7 +226,6 @@ const allIcons = {
238
226
  'import-export': import_export_1.default,
239
227
  'attach-file': attach_file_1.default,
240
228
  info: info_1.default,
241
- 'info-sign': info_1.default,
242
229
  add: plus_1.default,
243
230
  'cloud-upload': cloud_upload_1.default,
244
231
  upload: upload_1.default,
@@ -248,7 +235,6 @@ const allIcons = {
248
235
  play: play_1.default,
249
236
  stop: stop_1.default,
250
237
  pause: pause_1.default,
251
- 'pause-red': pause_red_1.default,
252
238
  folder: folder_1.default,
253
239
  newpage: newpage_1.default,
254
240
  drag: drag_1.default,
@@ -262,7 +248,7 @@ const allIcons = {
262
248
  arrowexpand: arrow_expand_1.default,
263
249
  invalid: invalid_1.default,
264
250
  history: history_1.default,
265
- 'filter-outline': filter_outline_1.default,
251
+ filter: filter_1.default,
266
252
  close: close_1.default,
267
253
  function: function_1.default,
268
254
  equation: equation_1.default,
@@ -277,8 +263,8 @@ const allIcons = {
277
263
  exponent: exponent_1.default,
278
264
  equal: equal_1.default,
279
265
  'not-equal': not_equal_1.default,
280
- 'format-letter-ends-with': format_letter_ends_with_1.default,
281
- 'format-letter-starts-with': format_letter_starts_with_1.default,
266
+ 'ends-with': ends_with_1.default,
267
+ 'starts-with': starts_with_1.default,
282
268
  blanks: blanks_1.default,
283
269
  'non-blanks': non_blanks_1.default,
284
270
  'not-contains': not_contains_1.default,
@@ -298,7 +284,7 @@ const Icon = (_a) => {
298
284
  const IconCmp = (allIcons[name] || null);
299
285
  if (!IconCmp) {
300
286
  LoggingHelper_1.LogAdaptableWarning('NO icon found for ' + name);
301
- return React.createElement("svg", null);
287
+ return React.createElement("svg", { height: "17", width: "17" });
302
288
  }
303
289
  return React.createElement(IconCmp, Object.assign({ tabIndex: tabIndex }, props, { style: style, name: name, className: className }));
304
290
  };
@@ -196,6 +196,26 @@ export declare const ADAPTABLE_METAMODEL: {
196
196
  reference?: undefined;
197
197
  })[];
198
198
  };
199
+ AdaptableBaseIcon: {
200
+ name: string;
201
+ kind: string;
202
+ description: string;
203
+ properties: ({
204
+ name: string;
205
+ kind: string;
206
+ description: string;
207
+ uiLabel: string;
208
+ isOptional: boolean;
209
+ reference?: undefined;
210
+ } | {
211
+ name: string;
212
+ kind: string;
213
+ description: string;
214
+ uiLabel: string;
215
+ isOptional: boolean;
216
+ reference: string;
217
+ })[];
218
+ };
199
219
  AdaptableButton: {
200
220
  name: string;
201
221
  kind: string;
@@ -301,10 +321,27 @@ export declare const ADAPTABLE_METAMODEL: {
301
321
  kind: string;
302
322
  description: string;
303
323
  };
324
+ AdaptableElementIcon: {
325
+ name: string;
326
+ kind: string;
327
+ description: string;
328
+ properties: {
329
+ name: string;
330
+ kind: string;
331
+ description: string;
332
+ uiLabel: string;
333
+ }[];
334
+ };
304
335
  AdaptableExternalIcon: {
305
336
  name: string;
306
337
  kind: string;
307
338
  description: string;
339
+ properties: {
340
+ name: string;
341
+ kind: string;
342
+ description: string;
343
+ uiLabel: string;
344
+ }[];
308
345
  };
309
346
  AdaptableFDC3EventInfo: {
310
347
  name: string;
@@ -413,6 +450,26 @@ export declare const ADAPTABLE_METAMODEL: {
413
450
  name: string;
414
451
  kind: string;
415
452
  description: string;
453
+ properties: ({
454
+ name: string;
455
+ kind: string;
456
+ description: string;
457
+ uiLabel: string;
458
+ reference: string;
459
+ isOptional?: undefined;
460
+ } | {
461
+ name: string;
462
+ kind: string;
463
+ description: string;
464
+ uiLabel: string;
465
+ isOptional: boolean;
466
+ reference?: undefined;
467
+ })[];
468
+ };
469
+ AdaptableInternalIconName: {
470
+ name: string;
471
+ kind: string;
472
+ description: string;
416
473
  };
417
474
  AdaptableLoadStateFunction: {
418
475
  name: string;
@@ -3022,6 +3079,24 @@ export declare const ADAPTABLE_METAMODEL: {
3022
3079
  reference?: undefined;
3023
3080
  })[];
3024
3081
  };
3082
+ GridCellRange: {
3083
+ name: string;
3084
+ kind: string;
3085
+ description: string;
3086
+ properties: ({
3087
+ name: string;
3088
+ kind: string;
3089
+ description: string;
3090
+ uiLabel: string;
3091
+ isOptional?: undefined;
3092
+ } | {
3093
+ name: string;
3094
+ kind: string;
3095
+ description: string;
3096
+ uiLabel: string;
3097
+ isOptional: boolean;
3098
+ })[];
3099
+ };
3025
3100
  GridDataChangedInfo: {
3026
3101
  name: string;
3027
3102
  kind: string;