@adaptabletools/adaptable 15.3.2 → 15.3.3-canary.0

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 (151) hide show
  1. package/base.css +57 -2
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +156 -156
  4. package/index.css +83 -2
  5. package/index.css.map +1 -1
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableOptions/ActionOptions.d.ts +5 -0
  10. package/src/AdaptableOptions/EditOptions.d.ts +35 -6
  11. package/src/AdaptableOptions/EntitlementOptions.d.ts +3 -2
  12. package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/FilterOptions.d.ts +9 -3
  14. package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
  15. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -0
  16. package/src/Api/Implementation/StyledColumnApiImpl.js +12 -0
  17. package/src/Api/Internal/StyledColumnInternalApi.d.ts +3 -1
  18. package/src/Api/Internal/StyledColumnInternalApi.js +24 -0
  19. package/src/Api/StyledColumnApi.d.ts +5 -0
  20. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -2
  21. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  22. package/src/PredefinedConfig/Common/AdaptablePredicate.js +5 -5
  23. package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +8 -0
  24. package/src/PredefinedConfig/Common/Enums.js +1 -0
  25. package/src/PredefinedConfig/StyledColumnState.d.ts +37 -5
  26. package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
  27. package/src/Strategy/BulkUpdateModule.js +1 -1
  28. package/src/Strategy/CalculatedColumnModule.js +1 -1
  29. package/src/Strategy/CellSummaryModule.js +1 -1
  30. package/src/Strategy/CustomSortModule.js +1 -1
  31. package/src/Strategy/DashboardModule.js +2 -2
  32. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  33. package/src/Strategy/FilterModule.js +1 -1
  34. package/src/Strategy/FlashingCellModule.js +1 -1
  35. package/src/Strategy/FormatColumnModule.js +42 -3
  36. package/src/Strategy/FreeTextColumnModule.js +1 -1
  37. package/src/Strategy/GridInfoModule.js +2 -2
  38. package/src/Strategy/LayoutModule.js +7 -6
  39. package/src/Strategy/PlusMinusModule.js +1 -1
  40. package/src/Strategy/QueryModule.js +1 -1
  41. package/src/Strategy/QuickSearchModule.js +1 -1
  42. package/src/Strategy/ShortcutModule.js +1 -1
  43. package/src/Strategy/SmartEditModule.js +1 -1
  44. package/src/Strategy/StateManagementModule.js +1 -1
  45. package/src/Strategy/StyledColumnModule.d.ts +2 -0
  46. package/src/Strategy/StyledColumnModule.js +132 -59
  47. package/src/Strategy/SystemStatusModule.js +1 -1
  48. package/src/Strategy/TeamSharingModule.js +1 -1
  49. package/src/Strategy/ToolPanelModule.js +1 -1
  50. package/src/Utilities/Constants/GeneralConstants.d.ts +2 -0
  51. package/src/Utilities/Constants/GeneralConstants.js +4 -2
  52. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
  53. package/src/Utilities/Helpers/StyleHelper.js +19 -0
  54. package/src/Utilities/ObjectFactory.d.ts +3 -1
  55. package/src/Utilities/ObjectFactory.js +14 -1
  56. package/src/Utilities/Services/EntitlementService.js +7 -4
  57. package/src/Utilities/Services/ValidationService.js +13 -2
  58. package/src/View/Alert/Wizard/AlertButtonsEditor.js +1 -1
  59. package/src/View/Charting/ShowChartButton.js +1 -1
  60. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -1
  61. package/src/View/Components/Buttons/ButtonClear.js +1 -1
  62. package/src/View/Components/Buttons/ButtonClose.js +1 -1
  63. package/src/View/Components/Buttons/ButtonConfigure.js +1 -1
  64. package/src/View/Components/Buttons/ButtonDelete.js +1 -1
  65. package/src/View/Components/Buttons/ButtonExpand.js +1 -1
  66. package/src/View/Components/Buttons/ButtonLogin.js +1 -1
  67. package/src/View/Components/Buttons/ButtonPreviewDelete.js +1 -1
  68. package/src/View/Components/FilterForm/QuickFilterForm.js +10 -2
  69. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +1 -1
  70. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +1 -1
  71. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +1 -1
  72. package/src/View/Components/PredicateEditor/PredicateEditor.d.ts +1 -0
  73. package/src/View/Components/PredicateEditor/PredicateEditor.js +24 -16
  74. package/src/View/Components/StyleComponent.d.ts +7 -0
  75. package/src/View/Components/StyleComponent.js +68 -16
  76. package/src/View/Components/ValueSelector/index.js +1 -1
  77. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -6
  78. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +18 -10
  79. package/src/View/Layout/Wizard/sections/ColumnsSection.js +3 -3
  80. package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
  81. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.d.ts +7 -0
  82. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +108 -0
  83. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +15 -14
  84. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +44 -21
  85. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +17 -9
  86. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +1 -1
  87. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.d.ts +5 -0
  88. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +29 -0
  89. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +25 -5
  90. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +15 -4
  91. package/src/View/Theme/ThemeEditor.js +1 -1
  92. package/src/agGrid/Adaptable.d.ts +6 -0
  93. package/src/agGrid/Adaptable.js +63 -26
  94. package/src/agGrid/BadgeRenderer.d.ts +4 -0
  95. package/src/agGrid/BadgeRenderer.js +59 -0
  96. package/src/agGrid/PercentBarRenderer.js +37 -17
  97. package/src/agGrid/agGridHelper.d.ts +1 -0
  98. package/src/agGrid/agGridHelper.js +4 -0
  99. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
  100. package/src/components/Badge/index.d.ts +8 -0
  101. package/src/components/Badge/index.js +18 -0
  102. package/src/components/Dashboard/DashboardToolbar.js +2 -2
  103. package/src/components/Datepicker/index.js +1 -1
  104. package/src/components/DragAndDropContext/TabList.js +1 -1
  105. package/src/components/Dropdown/index.js +1 -1
  106. package/src/components/DropdownButton/index.js +1 -1
  107. package/src/components/FileDroppable/index.js +1 -1
  108. package/src/components/IconSelector/IconSelector.d.ts +7 -0
  109. package/src/components/IconSelector/IconSelector.js +42 -0
  110. package/src/components/IconSelector/index.d.ts +1 -0
  111. package/src/components/IconSelector/index.js +4 -0
  112. package/src/components/OverlayTrigger/index.js +1 -0
  113. package/src/components/Toggle/Toggle.d.ts +8 -0
  114. package/src/components/Toggle/Toggle.js +15 -0
  115. package/src/components/Toggle/ToggleGroup.d.ts +2 -0
  116. package/src/components/Toggle/ToggleGroup.js +10 -0
  117. package/src/components/Toggle/index.d.ts +2 -0
  118. package/src/components/Toggle/index.js +5 -0
  119. package/src/components/icons/DefaultIcon.js +1 -1
  120. package/src/components/icons/align-center.js +7 -0
  121. package/src/components/icons/align-left.d.ts +3 -0
  122. package/src/components/icons/align-left.js +7 -0
  123. package/src/components/icons/align-right.d.ts +3 -0
  124. package/src/components/icons/align-right.js +7 -0
  125. package/src/components/icons/badge.d.ts +3 -0
  126. package/src/components/icons/badge.js +7 -0
  127. package/src/components/icons/bold.d.ts +3 -0
  128. package/src/components/icons/bold.js +7 -0
  129. package/src/components/icons/case-lower.d.ts +3 -0
  130. package/src/components/icons/case-lower.js +7 -0
  131. package/src/components/icons/case-sentence.d.ts +3 -0
  132. package/src/components/icons/case-sentence.js +8 -0
  133. package/src/components/icons/case-upper.d.ts +3 -0
  134. package/src/components/icons/case-upper.js +7 -0
  135. package/src/components/icons/gradient.d.ts +3 -0
  136. package/src/components/icons/gradient.js +7 -0
  137. package/src/components/icons/index.js +76 -70
  138. package/src/components/icons/italic.d.ts +3 -0
  139. package/src/components/icons/{clear.js → italic.js} +2 -2
  140. package/src/components/icons/overline.d.ts +3 -0
  141. package/src/components/icons/overline.js +7 -0
  142. package/src/components/icons/strikethrough.d.ts +3 -0
  143. package/src/components/icons/strikethrough.js +7 -0
  144. package/src/components/icons/underline.d.ts +3 -0
  145. package/src/components/icons/underline.js +7 -0
  146. package/src/metamodel/adaptable.metamodel.d.ts +47 -6
  147. package/src/metamodel/adaptable.metamodel.js +1 -1
  148. package/src/types.d.ts +4 -3
  149. package/version.d.ts +1 -1
  150. package/version.js +1 -1
  151. /package/src/components/icons/{clear.d.ts → align-center.d.ts} +0 -0
package/src/types.d.ts CHANGED
@@ -12,7 +12,7 @@ export type { FlashingCellOptions } from './AdaptableOptions/FlashingCellOptions
12
12
  export type { TOAST_POSITIONS, NotificationsOptions, } from './AdaptableOptions/NotificationsOptions';
13
13
  export type { AlertOptions, ActionHandler, AlertForm, AlertFormContext, AlertMessageContext, } from './AdaptableOptions/AlertOptions';
14
14
  export type { DashboardOptions, CustomToolbar, DashboardButtonContext, CustomToolbarButtonContext, } from './AdaptableOptions/DashboardOptions';
15
- export type { EditOptions, ValidationResult, SmartEditCustomOperation, SmartEditOperation, SmartEditOperationContext, } from './AdaptableOptions/EditOptions';
15
+ export type { EditOptions, ValidationResult, SmartEditCustomOperation, SmartEditOperation, SmartEditOperationContext, ServerValidationContext, CellEditableContext } from './AdaptableOptions/EditOptions';
16
16
  export type { ActionRowButtonOptions, ActionRowFormOptions, ActionRowParamContext, ActionRowParamFieldContext, CreateActionRowFormContext, EditActionRowFormContext, ActionColumnContext, ActionColumn, ActionColumnSettings, ActionOptions, ActionRowFormContext, ActionRowButtonType, ActionRowButtonConfigurationContext, ActionRowButtonsContext, } from './AdaptableOptions/ActionOptions';
17
17
  export type { ExportOptions, SystemExportDestination, SystemExportDestinations, CustomDestination, ServerReport, PreProcessExportContext, AdaptableReportColumn, DataFormatType, ExportFormContext, ReportContext, ExportableColumnContext, } from './AdaptableOptions/ExportOptions';
18
18
  export type { GeneralOptions, ColumnValuesComparer, DataSet, DataSetFormContext, UnbalancedGroupsKeyContext, Holidays, HolidayContext, } from './AdaptableOptions/GeneralOptions';
@@ -26,7 +26,7 @@ export type { MasterDetailPluginOptions, DetailInitContext, } from './AdaptableO
26
26
  export type { FinsemblePluginOptions, FinsemblePluginStateOptions, } from './AdaptableOptions/FinsemblePluginOptions';
27
27
  export type { FinancePluginOptions, FDC3Column, InstrumentColumn, PositionColumn, CountryColumn, InstrumentIntent, InstrumentIntents, PositionIntent, PositionIntents, ContactIntent, ContactIntents, CountryIntent, CountryIntents, ContactColumn, OrganizationColumn, OrganizationIntent, OrganizationIntents, FDC3Intent, RaiseFDC3IntentContext, FDC3DesktopAgent, CustomFDC3Column, CustomFDC3Intent, } from './AdaptableOptions/FinancePluginOptions';
28
28
  export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
29
- export type { FilterOptions } from './AdaptableOptions/FilterOptions';
29
+ export type { FilterOptions, FilterContext } from './AdaptableOptions/FilterOptions';
30
30
  export type { SearchOptions } from './AdaptableOptions/SearchOptions';
31
31
  export type { ColumnOptions, ColumnFriendlyNameContext } from './AdaptableOptions/ColumnOptions';
32
32
  export type { AdaptablePersistStateFunction, AdaptableStateFunctionConfig, AdaptableLoadStateFunction, AdaptableSaveStateFunction, AdaptableClearStateFunction, StateOptions, } from './AdaptableOptions/StateOptions';
@@ -94,6 +94,7 @@ export type { ThemeApi } from './Api/ThemeApi';
94
94
  export type { ToolPanelApi } from './Api/ToolPanelApi';
95
95
  export type { UserInterfaceApi } from './Api/UserInterfaceApi';
96
96
  export type { EventApi } from './Api/EventApi';
97
+ export type { BaseEventInfo } from './Api/Events/BaseEventInfo';
97
98
  export type { AdaptableReadyInfo } from './Api/Events/AdaptableReady';
98
99
  export type { AlertFiredInfo } from './Api/Events/AlertFired';
99
100
  export type { FlashingCellDisplayedInfo } from './Api/Events/FlashingCellDisplayed';
@@ -162,7 +163,7 @@ export type { DashboardState, DashboardTab, AdaptableCoordinate, } from './Prede
162
163
  export type { ExportState, Report, ReportData, ReportSchedule, SystemReportName, SystemReportNames, ReportRowScope, ReportColumnScope, } from './PredefinedConfig/ExportState';
163
164
  export type { ColumnFilter, ColumnFilterPredicate, SystemFilterPredicateIds, SystemFilterPredicateId, } from './PredefinedConfig/Common/ColumnFilter';
164
165
  export type { FormatColumn, FormatColumnState, FormatColumnRule, FormatColumnPredicate, SystemFormatColumnPredicateId, SystemFormatColumnPredicateIds, } from './PredefinedConfig/FormatColumnState';
165
- export type { StyledColumn, StyledColumnState, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, NumericStyledColumn, RangeValueType, SparkLineStyle, } from './PredefinedConfig/StyledColumnState';
166
+ export type { StyledColumn, StyledColumnState, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, NumericStyledColumn, RangeValueType, SparkLineStyle, BadgeStyle, BadgeStyleDefinition, BadgeStylePredicate, } from './PredefinedConfig/StyledColumnState';
166
167
  export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './PredefinedConfig/FreeTextColumnState';
167
168
  export type { StatusBarState, AdaptableStatusBar } from './PredefinedConfig/StatusBarState';
168
169
  export type { Glue42Report, Glue42Schedule, Glue42State } from './PredefinedConfig/Glue42State';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "15.3.2";
1
+ declare const _default: "15.3.3-canary.0";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '15.3.2'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '15.3.3-canary.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version