@adaptabletools/adaptable-angular-aggrid 11.0.0-canary.4 → 11.0.0-canary.5
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/adaptabletools-adaptable-angular-aggrid.metadata.json +1 -1
- package/base.css +130 -67
- package/bundles/adaptabletools-adaptable-angular-aggrid.umd.js +9 -112
- package/bundles/adaptabletools-adaptable-angular-aggrid.umd.js.map +1 -1
- package/bundles/adaptabletools-adaptable-angular-aggrid.umd.min.js +2 -2
- package/bundles/adaptabletools-adaptable-angular-aggrid.umd.min.js.map +1 -1
- package/index.css +130 -67
- package/package.json +4 -4
- package/public-api.d.ts +0 -1
- package/themes/dark.css +4 -4
- package/lib/adaptable-angular-ag-grid-component-deprecated.component.d.ts +0 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"@adaptabletools/adaptable/src/types"},{"export":[{"name":"AdaptableToolPanelAgGridComponent","as":"AdaptableToolPanelAgGridComponent"}],"from":"@adaptabletools/adaptable/src/AdaptableComponents"}],"metadata":{"
|
|
1
|
+
{"__symbolic":"module","version":4,"exports":[{"from":"@adaptabletools/adaptable/src/types"},{"export":[{"name":"AdaptableToolPanelAgGridComponent","as":"AdaptableToolPanelAgGridComponent"}],"from":"@adaptabletools/adaptable/src/AdaptableComponents"}],"metadata":{"AdaptableAngularAgGridComponentDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":23,"character":1},"arguments":[{"selector":"ag-grid-angular[adaptableOptions]","providers":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{"adaptableOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"gridOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"adaptableReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":33,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":39,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":40,"character":16},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"createAngularWrapperContainer":[{"__symbolic":"method"}]}},"AdaptableAngularAgGridModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AdaptableAngularAgGridComponentDirective"}],"imports":[],"exports":[{"__symbolic":"reference","name":"AdaptableAngularAgGridComponentDirective"}],"providers":[]}]}],"members":{}},"ADAPTABLE_API":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["ADAPTABLE_API"]},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":16,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":23,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":24,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":25,"character":20}]}],"createFrameworkComponent":[{"__symbolic":"method"}],"destroyFrameworkComponent":[{"__symbolic":"method"}],"createAngularComponent":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}},"origins":{"AdaptableAngularAgGridComponentDirective":"./lib/adaptable-angular-ag-grid-component.directive","AdaptableAngularAgGridModule":"./lib/adaptable-angular-aggrid.module","ADAPTABLE_API":"./lib/adaptable-angular-aggrid.token","ɵa":"./lib/adaptable-angular-framework-component.service"},"importAs":"@adaptabletools/adaptable-angular-aggrid"}
|
package/base.css
CHANGED
|
@@ -1255,7 +1255,7 @@
|
|
|
1255
1255
|
--ab-color-text-on-error: white;
|
|
1256
1256
|
--ab-color-text-on-info: white;
|
|
1257
1257
|
--ab-color-text-on-warn: white;
|
|
1258
|
-
--ab-color-action-add: #
|
|
1258
|
+
--ab-color-action-add: #2966a8;
|
|
1259
1259
|
--ab-color-action-edit: #17a2b8;
|
|
1260
1260
|
--ab-color-action-share: #eb9316;
|
|
1261
1261
|
--ab-color-action-delete: #dc3545;
|
|
@@ -1272,12 +1272,12 @@
|
|
|
1272
1272
|
--ab-color-primarylight: #f5f5f5;
|
|
1273
1273
|
--ab-color-text-on-primary: #656565;
|
|
1274
1274
|
--ab-color-text-on-primarydark: var(--ab-color-text-on-primary);
|
|
1275
|
-
--ab-color-secondary: #
|
|
1275
|
+
--ab-color-secondary: #2966a8;
|
|
1276
1276
|
--ab-color-secondarydark: #015a9a;
|
|
1277
1277
|
--ab-color-secondarylight: #a9ddff;
|
|
1278
|
-
--ab-color-text-on-secondary: #
|
|
1278
|
+
--ab-color-text-on-secondary: #e2e2e2;
|
|
1279
1279
|
--ab-color-text-on-secondarylight: #000000;
|
|
1280
|
-
--ab-color-blue:
|
|
1280
|
+
--ab-color-blue: #419641;
|
|
1281
1281
|
--ab-color-focus: var(--ab-color-accent);
|
|
1282
1282
|
--ab-gridheader--filtered__background: var(--ab-color-primary);
|
|
1283
1283
|
--ab-focus__box-shadow: 0 0 5px 1px var(--ab-color-accent);
|
|
@@ -1288,16 +1288,16 @@
|
|
|
1288
1288
|
--ab-grid-row-height: 40px;
|
|
1289
1289
|
--ab-loaded: 777; }
|
|
1290
1290
|
:root {
|
|
1291
|
-
--ITableHeader__color:var(--ab-color-text-on-primary);
|
|
1291
|
+
--ITableHeader__color: var(--ab-color-text-on-primary);
|
|
1292
1292
|
--ITableHeaderCell__background: var(--ab-color-primary);
|
|
1293
1293
|
--ITableHeader__background: var(--ITableHeaderCell__background);
|
|
1294
|
-
--ITableRow__color:var(--ab-color-text-on-primary);
|
|
1294
|
+
--ITableRow__color: var(--ab-color-text-on-primary);
|
|
1295
1295
|
--ITable__background: var(--ab-color-primarylight);
|
|
1296
1296
|
--ITableRow__background: var(--ab-color-defaultbackground);
|
|
1297
1297
|
--ITableRow--odd__background: var(--ab-color-primarylight); }
|
|
1298
|
-
.ab-style__list-group-item:nth-child(2n+1) {
|
|
1298
|
+
.ab-style__list-group-item:nth-child(2n + 1) {
|
|
1299
1299
|
background: var(--ab-color-primarylight); }
|
|
1300
|
-
.ab-Grid .ag-header-cell input[type=
|
|
1300
|
+
.ab-Grid .ag-header-cell input[type='date' i]::-webkit-calendar-picker-indicator {
|
|
1301
1301
|
margin-inline-start: 0px; }
|
|
1302
1302
|
.ab-Grid.ab-Grid--indicate-filtered-columns .ag-header-cell-filtered {
|
|
1303
1303
|
font-weight: bolder;
|
|
@@ -1311,12 +1311,18 @@
|
|
|
1311
1311
|
--ab-cmp-checkbox--check-indeterminate__color: var(--ab-color-focus);
|
|
1312
1312
|
--ab-cmp-checkbox--check-indeterminate-radius: 2px; }
|
|
1313
1313
|
.ab-CheckBox--variant-agGrid {
|
|
1314
|
-
--ab-cmp-checkbox--check__color: var(
|
|
1314
|
+
--ab-cmp-checkbox--check__color: var(
|
|
1315
|
+
--ag-checkbox-checked-color,
|
|
1316
|
+
var(--ag-balham-active-color, #0091ea)
|
|
1317
|
+
);
|
|
1315
1318
|
--ab-cmp-checkbox--checked__background: var(--ag-background-color);
|
|
1316
1319
|
--ab-cmp-checkbox__border-color: var(--ab-cmp-checkbox--check__color);
|
|
1317
1320
|
--ab-cmp-checkbox--check-indeterminate__color: var(--ab-cmp-checkbox__border-color); }
|
|
1318
1321
|
.ab-CheckBox--variant-agGrid.ab-CheckBox--indeterminate {
|
|
1319
|
-
--ab-cmp-checkbox--check__color: var(
|
|
1322
|
+
--ab-cmp-checkbox--check__color: var(
|
|
1323
|
+
--ag-checkbox-checked-color,
|
|
1324
|
+
var(--ag-balham-active-color, #0091ea)
|
|
1325
|
+
); }
|
|
1320
1326
|
.ab-CheckBox--variant-agGrid.ab-CheckBox--unchecked {
|
|
1321
1327
|
--ab-cmp-checkbox__border-color: var(--ag-checkbox-unchecked-color); }
|
|
1322
1328
|
:root {
|
|
@@ -1343,7 +1349,8 @@
|
|
|
1343
1349
|
--ab-cmp-dropdownbutton-list-item__color: var(--ab-color-text-on-primary);
|
|
1344
1350
|
--ab-cmp-dropdownbutton-list__z-index: 1000;
|
|
1345
1351
|
--ab-cmp-dropdownbutton-list__border-radius: var(--ab__border-radius);
|
|
1346
|
-
--ab-cmp-dropdownbutton-list__box-shadow: 4px 5px 11px -5px rgba(0, 0, 0, .2),
|
|
1352
|
+
--ab-cmp-dropdownbutton-list__box-shadow: 4px 5px 11px -5px rgba(0, 0, 0, 0.2),
|
|
1353
|
+
-4px 6px 5px 0 rgba(0, 0, 0, 0.14), 5px 3px 5px 0 rgba(0, 0, 0, 0.12);
|
|
1347
1354
|
--ab-cmp-dropdownbutton-list-separator__border: 1px solid var(--ab-color-primarydark); }
|
|
1348
1355
|
:root {
|
|
1349
1356
|
--ab-cmp-error-box__padding: var(--ab-space-3);
|
|
@@ -1389,7 +1396,7 @@
|
|
|
1389
1396
|
background: var(--ab-cmp-listgroupitem__background);
|
|
1390
1397
|
color: var(--ab-cmp-listgroupitem__color);
|
|
1391
1398
|
border-radius: var(--ab-cmp-listgroupitem__border-radius); }
|
|
1392
|
-
.ab-ListGroupItem:nth-child(2n+1) {
|
|
1399
|
+
.ab-ListGroupItem:nth-child(2n + 1) {
|
|
1393
1400
|
background: var(--ab-cmp-listgroupitem--odd__background);
|
|
1394
1401
|
color: var(--ab-cmp-listgroupitem--odd__color); }
|
|
1395
1402
|
.ab-ListGroupItem.ab-ListGroupItem--no-zebra {
|
|
@@ -1458,7 +1465,8 @@
|
|
|
1458
1465
|
--ab-cmp-file-droppable--drag-over__background: var(--ab-color-secondary);
|
|
1459
1466
|
--ab-cmp-file-droppable--drag-over__color: var(--ab-color-text-on-secondary);
|
|
1460
1467
|
--ab-cmp-file-droppable--drag-over__outline-offset: -20px;
|
|
1461
|
-
--ab-cmp-file-droppable--drag-over__outline: 2px dashed
|
|
1468
|
+
--ab-cmp-file-droppable--drag-over__outline: 2px dashed
|
|
1469
|
+
var(--ab-cmp-file-droppable--drag-over__color); }
|
|
1462
1470
|
:root {
|
|
1463
1471
|
--ab-dashboard__background: var(--ab-color-primary);
|
|
1464
1472
|
--ab-dashboard__font-family: var(--ab__font-family);
|
|
@@ -1506,7 +1514,7 @@
|
|
|
1506
1514
|
--ab-cmp-button-border-radius: 0px;
|
|
1507
1515
|
--ab-cmp-button-disabled-opacity: 0.5;
|
|
1508
1516
|
--ab-cmp-button-background: var(--ab-color-primary);
|
|
1509
|
-
--ab-cmp-button-disabled-background:var(--ab-color-primarydark); }
|
|
1517
|
+
--ab-cmp-button-disabled-background: var(--ab-color-primarydark); }
|
|
1510
1518
|
:root {
|
|
1511
1519
|
--ab-cmp-dashboardpanel_body__background: var(--ab-color-primarylight);
|
|
1512
1520
|
--ab-cmp-dashboardpanel_header__background: var(--ab-color-primary);
|
|
@@ -1531,12 +1539,13 @@
|
|
|
1531
1539
|
overflow: auto;
|
|
1532
1540
|
display: grid;
|
|
1533
1541
|
padding: var(--ab-space-2);
|
|
1534
|
-
grid-template-rows: 1fr
|
|
1542
|
+
grid-template-rows: 1fr 1fr;
|
|
1535
1543
|
grid-template-columns: 28rem 1fr 1fr;
|
|
1536
1544
|
row-gap: var(--ab-space-2);
|
|
1537
1545
|
column-gap: var(--ab-space-2);
|
|
1538
1546
|
grid-gap: var(--ab-space-2); }
|
|
1539
|
-
.ab-LayoutEditor,
|
|
1547
|
+
.ab-LayoutEditor,
|
|
1548
|
+
.ab-LayoutEditor * {
|
|
1540
1549
|
box-sizing: border-box; }
|
|
1541
1550
|
.ab-LayoutEditor__ColumnList {
|
|
1542
1551
|
overflow: auto; }
|
|
@@ -1616,17 +1625,22 @@
|
|
|
1616
1625
|
--ab-cmp-adaptable-popup__max-height: 1200px;
|
|
1617
1626
|
--ab-cmp-adaptable-popup__box-shadow: 2px 2px 14px 0px rgb(0 0 0 / 26%);
|
|
1618
1627
|
--ab-cmp-adaptable-popup-navigation-list__padding: var(--ab-space-1) var(--ab-space-2);
|
|
1619
|
-
--ab-cmp-adaptable-popup-navigation-list__border-right: 2px solid
|
|
1628
|
+
--ab-cmp-adaptable-popup-navigation-list__border-right: 2px solid
|
|
1629
|
+
var(--ab-color-defaultbackground);
|
|
1620
1630
|
--ab-cmp-adaptable-popup-navigation-list__font-size: var(--ab-font-size-3);
|
|
1621
1631
|
--ab-cmp-adaptable-popup-navigation-list-item__padding: var(--ab-space-0) var(--ab-space-1);
|
|
1622
1632
|
--ab-cmp-adaptable-popup-navigation-list-item__margin-bottom: var(--ab-space-2) var(--ab-space-2);
|
|
1623
|
-
--ab-cmp-adaptable-popup-navigation-list-item-separator__border: 1px solid
|
|
1624
|
-
|
|
1633
|
+
--ab-cmp-adaptable-popup-navigation-list-item-separator__border: 1px solid
|
|
1634
|
+
var(--ab-color-primarydark);
|
|
1635
|
+
--ab-cmp-adaptable-popup-navigation-list-item-separator__margin: var(--ab-space-2)
|
|
1636
|
+
var(--ab-space-2);
|
|
1625
1637
|
--ab-cmp-adaptable-popup-navigation-list-item-button__padding: var(--ab-space-2) var(--ab-space-2);
|
|
1626
1638
|
--ab-cmp-adaptable-popup-navigation-list-item-button__border-radius: var(--ab__border-radius);
|
|
1627
1639
|
--ab-cmp-adaptable-popup-navigation-list-item-button__color: var(--ab-color-text-on-primary);
|
|
1628
1640
|
--ab-cmp-adaptable-popup-navigation-list-item-button__background--active: var(--ab-color-focus);
|
|
1629
|
-
--ab-cmp-adaptable-popup-navigation-list-item-button__background--color: var(
|
|
1641
|
+
--ab-cmp-adaptable-popup-navigation-list-item-button__background--color: var(
|
|
1642
|
+
--ab-color-accentlight
|
|
1643
|
+
);
|
|
1630
1644
|
--ab-cmp-adaptable-popup-navigation-list-item-icon__margin-right: var(--ab-space-2);
|
|
1631
1645
|
--ab-cmp-adaptable-popup-topbar__background: var(--ab-color-secondary);
|
|
1632
1646
|
--ab-cmp-adaptable-popup-topbar__height: 45px;
|
|
@@ -1682,7 +1696,10 @@
|
|
|
1682
1696
|
border-bottom: 2px solid var(--ab-color-primarydark); }
|
|
1683
1697
|
.ab-Table tr:not(last-child) td {
|
|
1684
1698
|
border-bottom: 1px solid var(--ab-color-primarylight); }
|
|
1685
|
-
.ab-CheckBox,
|
|
1699
|
+
.ab-CheckBox,
|
|
1700
|
+
.ab-CheckBox *,
|
|
1701
|
+
.ab-CheckBox *:before,
|
|
1702
|
+
.ab-CheckBox *:after {
|
|
1686
1703
|
box-sizing: border-box; }
|
|
1687
1704
|
.ab-CheckBox--checked {
|
|
1688
1705
|
--ab-cmp-checkbox__background: var(--ab-cmp-checkbox--checked__background); }
|
|
@@ -1857,10 +1874,14 @@
|
|
|
1857
1874
|
fill: var(--ab-cmp-field-wrap__fill); }
|
|
1858
1875
|
.ab-FieldWrap:focus-within {
|
|
1859
1876
|
box-shadow: var(--ab-focus__box-shadow); }
|
|
1860
|
-
.ab-FieldWrap input,
|
|
1877
|
+
.ab-FieldWrap input,
|
|
1878
|
+
.ab-FieldWrap select,
|
|
1879
|
+
.ab-FieldWrap > * {
|
|
1861
1880
|
border: none;
|
|
1862
1881
|
flex: 1; }
|
|
1863
|
-
.ab-FieldWrap input,
|
|
1882
|
+
.ab-FieldWrap input,
|
|
1883
|
+
.ab-FieldWrap select,
|
|
1884
|
+
.ab-FieldWrap .ab-Dropdown {
|
|
1864
1885
|
outline: none !important;
|
|
1865
1886
|
box-shadow: none !important; }
|
|
1866
1887
|
.ab-FormLayout {
|
|
@@ -1918,8 +1939,8 @@ input.ab-Input[disabled] {
|
|
|
1918
1939
|
color: var(--ab-cmp-input--placeholder__color);
|
|
1919
1940
|
opacity: var(--ab-cmp-input--placeholder__opacity); }
|
|
1920
1941
|
/* Spin Buttons modified */
|
|
1921
|
-
input[type=
|
|
1922
|
-
input[type=
|
|
1942
|
+
input[type='number'].ab-Input::-webkit-outer-spin-button,
|
|
1943
|
+
input[type='number'].ab-Input::-webkit-inner-spin-button {
|
|
1923
1944
|
-webkit-appearance: none;
|
|
1924
1945
|
width: 1em;
|
|
1925
1946
|
opacity: 0;
|
|
@@ -1928,9 +1949,9 @@ input[type="number"].ab-Input::-webkit-inner-spin-button {
|
|
|
1928
1949
|
right: 0;
|
|
1929
1950
|
bottom: 0;
|
|
1930
1951
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" viewBox="4 0 18 18" version="1.1"><path fill="%23656565" d="M7 10l5 5 5-5z" transform="translate(0, 2)"/><path fill="%23656565" d="M7 14l5-5 5 5z" transform="translate(0, -6)"/></svg>') no-repeat center center; }
|
|
1931
|
-
input[type=
|
|
1932
|
-
input[type=
|
|
1933
|
-
input[type=
|
|
1952
|
+
input[type='number'].ab-Input:focus::-webkit-inner-spin-button, input[type='number'].ab-Input:focus::-webkit-inner-spin-button:active,
|
|
1953
|
+
input[type='number'].ab-Input:hover::-webkit-inner-spin-button,
|
|
1954
|
+
input[type='number'].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
1934
1955
|
opacity: 1; }
|
|
1935
1956
|
.ab-ListGroup {
|
|
1936
1957
|
display: flex;
|
|
@@ -1966,7 +1987,7 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
1966
1987
|
.ab-Tabs {
|
|
1967
1988
|
display: flex;
|
|
1968
1989
|
flex-direction: column; }
|
|
1969
|
-
.ab-Tabs[data-selected-index=
|
|
1990
|
+
.ab-Tabs[data-selected-index='0'] .ab-Tabs__Filler:first-child,
|
|
1970
1991
|
.ab-Tabs__Tab--before-active {
|
|
1971
1992
|
border-bottom-right-radius: var(--ab__border-radius); }
|
|
1972
1993
|
.ab-Tabs__Strip {
|
|
@@ -2019,7 +2040,7 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2019
2040
|
overflow: auto;
|
|
2020
2041
|
display: flex;
|
|
2021
2042
|
flex-flow: column; }
|
|
2022
|
-
.ab-Tabs[data-selected-index=
|
|
2043
|
+
.ab-Tabs[data-selected-index='0'] .ab-Tabs__Body {
|
|
2023
2044
|
border-top-left-radius: 0; }
|
|
2024
2045
|
.ab-Panel {
|
|
2025
2046
|
display: flex;
|
|
@@ -2031,8 +2052,7 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2031
2052
|
-webkit-text-fill-color: var(--ab-cmp-panel-icon__fill);
|
|
2032
2053
|
fill: var(--ab-cmp-panel-icon__fill); }
|
|
2033
2054
|
.ab-Panel--variant-modern {
|
|
2034
|
-
--ab-cmp-panel__border-radius: var(--ab-space-1)
|
|
2035
|
-
; }
|
|
2055
|
+
--ab-cmp-panel__border-radius: var(--ab-space-1); }
|
|
2036
2056
|
.ab-Panel__header {
|
|
2037
2057
|
flex: none;
|
|
2038
2058
|
background: var(--ab-cmp-panel_header__background);
|
|
@@ -2226,10 +2246,15 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2226
2246
|
outline: var(--ab-cmp-file-droppable__outline);
|
|
2227
2247
|
outline-offset: var(--ab-cmp-file-droppable__outline-offset);
|
|
2228
2248
|
background: var(--ab-cmp-file-droppable__background); }
|
|
2229
|
-
.ab-FileDroppable,
|
|
2249
|
+
.ab-FileDroppable,
|
|
2250
|
+
.ab-FileDroppable input,
|
|
2251
|
+
.ab-FileDroppable button,
|
|
2252
|
+
.ab-FileDroppable .ab-SimpleButton {
|
|
2230
2253
|
transition: fill 0.15s ease-in-out, color 0.15s ease-in-out, outline-offset 0.15s ease-in-out, background-color 0.15s linear;
|
|
2231
2254
|
fill: currentColor; }
|
|
2232
|
-
.ab-FileDroppable,
|
|
2255
|
+
.ab-FileDroppable,
|
|
2256
|
+
.ab-FileDroppable input,
|
|
2257
|
+
.ab-FileDroppable button {
|
|
2233
2258
|
color: var(--ab-cmp-file-droppable__color); }
|
|
2234
2259
|
.ab-FileDroppable.ab-FileDroppable--drag-over {
|
|
2235
2260
|
outline-offset: var(--ab-cmp-file-droppable--drag-over__outline-offset);
|
|
@@ -2238,7 +2263,10 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2238
2263
|
color: var(--ab-cmp-file-droppable--drag-over__color); }
|
|
2239
2264
|
.ab-FileDroppable.ab-FileDroppable--drag-over * {
|
|
2240
2265
|
pointer-events: none; }
|
|
2241
|
-
.ab-FileDroppable,
|
|
2266
|
+
.ab-FileDroppable,
|
|
2267
|
+
.ab-FileDroppable *,
|
|
2268
|
+
.ab-FileDroppable *:before,
|
|
2269
|
+
.ab-FileDroppable *:after {
|
|
2242
2270
|
box-sizing: border-box; }
|
|
2243
2271
|
.ab-WizardPanel > .ab-Panel__body {
|
|
2244
2272
|
display: flex;
|
|
@@ -2334,11 +2362,15 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2334
2362
|
white-space: nowrap; }
|
|
2335
2363
|
.ab-Dashboard .ab-DashboardToolbar__QuickSearch__text .ab-Input {
|
|
2336
2364
|
padding: var(--ab-space-1); }
|
|
2337
|
-
.ab-Dashboard .ab-StateManagement__Clear-Button,
|
|
2365
|
+
.ab-Dashboard .ab-StateManagement__Clear-Button,
|
|
2366
|
+
.ab-Dashboard .ab-StateManagement__Load-Button,
|
|
2367
|
+
.ab-Dashboard .ab-StateManagement__Export-Dropdown {
|
|
2338
2368
|
margin-left: var(--ab-space-1); }
|
|
2339
2369
|
.ab-GridList {
|
|
2340
2370
|
--at-grid__background: transparent; }
|
|
2341
|
-
.ab-GridList .AT-GridCell_content,
|
|
2371
|
+
.ab-GridList .AT-GridCell_content,
|
|
2372
|
+
.ab-GridList .ab-ListGroupItem,
|
|
2373
|
+
.ab-GridList .AT-GridColumnCell {
|
|
2342
2374
|
width: 100%; }
|
|
2343
2375
|
.ab-GridList .AT-GridHeader {
|
|
2344
2376
|
display: none; }
|
|
@@ -2429,7 +2461,7 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2429
2461
|
border-radius: var(--ab__border-radius); }
|
|
2430
2462
|
.ab-ToggleButton__slider:before {
|
|
2431
2463
|
position: absolute;
|
|
2432
|
-
content:
|
|
2464
|
+
content: '';
|
|
2433
2465
|
width: 24px;
|
|
2434
2466
|
height: 24px;
|
|
2435
2467
|
left: 4px;
|
|
@@ -2458,7 +2490,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2458
2490
|
font-size: var(--ab-cmp-loader__font-size);
|
|
2459
2491
|
margin-top: 8px;
|
|
2460
2492
|
font-style: italic; }
|
|
2461
|
-
.ab-Loader__text,
|
|
2493
|
+
.ab-Loader__text,
|
|
2494
|
+
.ab-Loader__Spinner {
|
|
2462
2495
|
vertical-align: middle; }
|
|
2463
2496
|
.ab-Loader .ab-Loader__Spinner {
|
|
2464
2497
|
margin-right: 5px; }
|
|
@@ -2536,7 +2569,7 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2536
2569
|
overflow-y: auto;
|
|
2537
2570
|
overflow-x: hidden;
|
|
2538
2571
|
--ab-grid-row-height: 26px;
|
|
2539
|
-
margin-
|
|
2572
|
+
margin-bottom: 0; }
|
|
2540
2573
|
.ab-ListBoxFilterForm .ab-GridList .AT-VirtualScrollContainer {
|
|
2541
2574
|
overflow-x: hidden; }
|
|
2542
2575
|
.ag-theme-balham-dark .ab-ListBoxFilterForm--aggrid-style,
|
|
@@ -2584,7 +2617,10 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2584
2617
|
background: var(--ab-cmp-wizard__background);
|
|
2585
2618
|
color: var(--ab-cmp-wizard__color);
|
|
2586
2619
|
height: 100%; }
|
|
2587
|
-
.ab-nocode-wizard,
|
|
2620
|
+
.ab-nocode-wizard,
|
|
2621
|
+
.ab-nocode-wizard *,
|
|
2622
|
+
.ab-nocode-wizard *:before,
|
|
2623
|
+
.ab-nocode-wizard *:after {
|
|
2588
2624
|
box-sizing: border-box; }
|
|
2589
2625
|
.ab-AvailableDropZone .placeholder,
|
|
2590
2626
|
.ab-SelectedDropZone .placeholder {
|
|
@@ -2629,10 +2665,13 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2629
2665
|
flex-direction: row;
|
|
2630
2666
|
flex-wrap: wrap;
|
|
2631
2667
|
grid-gap: var(--ab-cmp-toolpanel-header__grid-gap); }
|
|
2632
|
-
.ab-ToolPanel .ab-StateManagement__Clear-Button,
|
|
2668
|
+
.ab-ToolPanel .ab-StateManagement__Clear-Button,
|
|
2669
|
+
.ab-ToolPanel .ab-StateManagement__Load-Button {
|
|
2633
2670
|
justify-content: center;
|
|
2634
2671
|
flex: 1; }
|
|
2635
|
-
.ab-ToolPanel .ab-StateManagement__Clear-Button,
|
|
2672
|
+
.ab-ToolPanel .ab-StateManagement__Clear-Button,
|
|
2673
|
+
.ab-ToolPanel .ab-StateManagement__Load-Button,
|
|
2674
|
+
.ab-ToolPanel .ab-StateManagement__Export-Dropdown {
|
|
2636
2675
|
margin-bottom: var(--ab-space-1); }
|
|
2637
2676
|
.ab-CustomSortWizard__SortOrder .ab-Loader__text {
|
|
2638
2677
|
font-size: var(--ab-cmp-custom-sort-wizard-loader__font-size); }
|
|
@@ -2805,55 +2844,79 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2805
2844
|
--ab-toast-cmp__shadow-color: var(--ab-color-error); }
|
|
2806
2845
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar,
|
|
2807
2846
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar,
|
|
2808
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar,
|
|
2809
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2810
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2847
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar,
|
|
2848
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar,
|
|
2849
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar,
|
|
2850
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar,
|
|
2851
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar,
|
|
2852
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar {
|
|
2811
2853
|
background-color: rgba(0, 0, 0, 0);
|
|
2812
2854
|
border-radius: 100px; }
|
|
2813
2855
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar:vertical,
|
|
2814
2856
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar:vertical,
|
|
2815
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:vertical,
|
|
2816
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2817
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2857
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:vertical,
|
|
2858
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar:vertical,
|
|
2859
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar:vertical,
|
|
2860
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar:vertical,
|
|
2861
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar:vertical,
|
|
2862
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar:vertical {
|
|
2818
2863
|
width: var(--ab-custom-scrollbar-size); }
|
|
2819
2864
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar:horizontal,
|
|
2820
2865
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar:horizontal,
|
|
2821
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:horizontal,
|
|
2822
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2823
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2866
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:horizontal,
|
|
2867
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar:horizontal,
|
|
2868
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar:horizontal,
|
|
2869
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar:horizontal,
|
|
2870
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar:horizontal,
|
|
2871
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar:horizontal {
|
|
2824
2872
|
height: var(--ab-custom-scrollbar-size); }
|
|
2825
2873
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar:hover,
|
|
2826
2874
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar:hover,
|
|
2827
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:hover,
|
|
2828
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2829
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2875
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar:hover,
|
|
2876
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar:hover,
|
|
2877
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar:hover,
|
|
2878
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar:hover,
|
|
2879
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar:hover,
|
|
2880
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar:hover {
|
|
2830
2881
|
background-color: rgba(0, 0, 0, 0.09); }
|
|
2831
2882
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar-thumb,
|
|
2832
2883
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar-thumb,
|
|
2833
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb,
|
|
2834
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2835
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2884
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb,
|
|
2885
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar-thumb,
|
|
2886
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar-thumb,
|
|
2887
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar-thumb,
|
|
2888
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar-thumb,
|
|
2889
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar-thumb {
|
|
2836
2890
|
background: rgba(0, 0, 0, 0.5);
|
|
2837
2891
|
border-radius: 100px;
|
|
2838
2892
|
background-clip: padding-box;
|
|
2839
2893
|
border: 2px solid rgba(0, 0, 0, 0); }
|
|
2840
2894
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar-thumb:vertical,
|
|
2841
2895
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar-thumb:vertical,
|
|
2842
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:vertical,
|
|
2843
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2844
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2896
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:vertical,
|
|
2897
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar-thumb:vertical,
|
|
2898
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar-thumb:vertical,
|
|
2899
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar-thumb:vertical,
|
|
2900
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar-thumb:vertical,
|
|
2901
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar-thumb:vertical {
|
|
2845
2902
|
min-height: var(--ab-custom-scrollbar-size); }
|
|
2846
2903
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar-thumb:horizontal,
|
|
2847
2904
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar-thumb:horizontal,
|
|
2848
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:horizontal,
|
|
2849
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2850
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2905
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:horizontal,
|
|
2906
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar-thumb:horizontal,
|
|
2907
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar-thumb:horizontal,
|
|
2908
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar-thumb:horizontal,
|
|
2909
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar-thumb:horizontal,
|
|
2910
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar-thumb:horizontal {
|
|
2851
2911
|
min-width: var(--ab-custom-scrollbar-size); }
|
|
2852
2912
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar-thumb:active,
|
|
2853
2913
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar-thumb:active,
|
|
2854
|
-
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:active,
|
|
2855
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2856
|
-
.ab--custom-mac-like-scrollbars .ab-
|
|
2914
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar-thumb:active,
|
|
2915
|
+
.ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar-thumb:active,
|
|
2916
|
+
.ab--custom-mac-like-scrollbars .ab-Panel ::-webkit-scrollbar-thumb:active,
|
|
2917
|
+
.ab--custom-mac-like-scrollbars .ab-Panel * ::-webkit-scrollbar-thumb:active,
|
|
2918
|
+
.ab--custom-mac-like-scrollbars .ab-Modal ::-webkit-scrollbar-thumb:active,
|
|
2919
|
+
.ab--custom-mac-like-scrollbars .ab-Modal * ::-webkit-scrollbar-thumb:active {
|
|
2857
2920
|
background: rgba(0, 0, 0, 0.61);
|
|
2858
2921
|
border-radius: 100px; }
|
|
2859
2922
|
.ag-details-row {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@adaptabletools/adaptable/agGrid'), require('@adaptabletools/adaptable/src/Utilities/Helpers/LoggingHelper'), require('@adaptabletools/adaptable/src/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@adaptabletools/adaptable-angular-aggrid', ['exports', '@angular/core', '@adaptabletools/adaptable/agGrid', '@adaptabletools/adaptable/src/Utilities/Helpers/LoggingHelper', '@adaptabletools/adaptable/src/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.adaptabletools = global.adaptabletools || {}, global.adaptabletools['adaptable-angular-aggrid'] = {}), global.ng.core, global.Adaptable, global.LoggingHelper, global.
|
|
5
|
-
}(this, (function (exports, i0, Adaptable, LoggingHelper,
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var Adaptable__default = /*#__PURE__*/_interopDefaultLegacy(Adaptable);
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@adaptabletools/adaptable/src/agGrid/Adaptable'), require('@adaptabletools/adaptable/src/Utilities/Helpers/LoggingHelper'), require('@adaptabletools/adaptable/src/types'), require('@adaptabletools/adaptable/src/AdaptableComponents')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@adaptabletools/adaptable-angular-aggrid', ['exports', '@angular/core', '@adaptabletools/adaptable/src/agGrid/Adaptable', '@adaptabletools/adaptable/src/Utilities/Helpers/LoggingHelper', '@adaptabletools/adaptable/src/types', '@adaptabletools/adaptable/src/AdaptableComponents'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.adaptabletools = global.adaptabletools || {}, global.adaptabletools['adaptable-angular-aggrid'] = {}), global.ng.core, global.Adaptable, global.LoggingHelper, global.types, global.AdaptableComponents));
|
|
5
|
+
}(this, (function (exports, i0, Adaptable, LoggingHelper, types, AdaptableComponents) { 'use strict';
|
|
10
6
|
|
|
11
7
|
/*! *****************************************************************************
|
|
12
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -405,104 +401,13 @@
|
|
|
405
401
|
function getRandomInt(max) {
|
|
406
402
|
return Math.floor(Math.random() * Math.floor(max));
|
|
407
403
|
}
|
|
408
|
-
var AdaptableAngularAgGridComponentDeprecated = /** @class */ (function () {
|
|
409
|
-
function AdaptableAngularAgGridComponentDeprecated(frameworkComponentService) {
|
|
410
|
-
this.frameworkComponentService = frameworkComponentService;
|
|
411
|
-
this.adaptableReady = new i0.EventEmitter();
|
|
412
|
-
var seedId = getRandomInt(1000) + "-" + Date.now();
|
|
413
|
-
this.adaptableContainerId = "adaptable-" + seedId;
|
|
414
|
-
}
|
|
415
|
-
Object.defineProperty(AdaptableAngularAgGridComponentDeprecated.prototype, "id", {
|
|
416
|
-
get: function () {
|
|
417
|
-
return this.adaptableContainerId;
|
|
418
|
-
},
|
|
419
|
-
enumerable: false,
|
|
420
|
-
configurable: true
|
|
421
|
-
});
|
|
422
|
-
AdaptableAngularAgGridComponentDeprecated.prototype.ngOnInit = function () {
|
|
423
|
-
if (this.modules == null) {
|
|
424
|
-
throw new Error("Attribute 'modules' is required. Please pass the ag-grid modules you use into AdapTable.\n If you don't have extra modules, pass an empty array.");
|
|
425
|
-
}
|
|
426
|
-
LoggingHelper.ConsoleLogWarning("\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!! This Angular Wrapper usage was deprecated in v9 and will be removed in v11!\n!!!!!!!\n!!!!!!! Use the new usage format documented here:\n!!!!!!! https://docs.adaptabletools.com/docs/angular-wrapper/angular-wrapper-usage\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
|
|
427
|
-
};
|
|
428
|
-
AdaptableAngularAgGridComponentDeprecated.prototype.ngAfterViewInit = function () {
|
|
429
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
430
|
-
var adaptableApi;
|
|
431
|
-
var _this = this;
|
|
432
|
-
return __generator(this, function (_a) {
|
|
433
|
-
switch (_a.label) {
|
|
434
|
-
case 0:
|
|
435
|
-
this.adaptableOptions.gridOptions = this.gridOptions;
|
|
436
|
-
this.adaptableOptions.containerOptions =
|
|
437
|
-
this.adaptableOptions.containerOptions || {};
|
|
438
|
-
this.adaptableOptions.containerOptions.adaptableContainer = this.adaptableContainerId;
|
|
439
|
-
return [4 /*yield*/, Adaptable__default['default'].initInternal(this.adaptableOptions, {
|
|
440
|
-
waitForAgGrid: true,
|
|
441
|
-
modules: this.modules,
|
|
442
|
-
})];
|
|
443
|
-
case 1:
|
|
444
|
-
adaptableApi = _a.sent();
|
|
445
|
-
adaptableApi.eventApi.on('AdaptableReady', function (adaptableReadyInfo) { return _this.adaptableReady.emit(adaptableReadyInfo); });
|
|
446
|
-
adaptableApi.internalApi
|
|
447
|
-
.getAdaptableInstance()
|
|
448
|
-
._onIncludeFired('FrameworkComponentChange', function (_a) {
|
|
449
|
-
var command = _a.command, frameworkComponent = _a.frameworkComponent, containerDomNode = _a.containerDomNode, componentType = _a.componentType;
|
|
450
|
-
if (command === 'create') {
|
|
451
|
-
_this.frameworkComponentService.createFrameworkComponent(frameworkComponent, containerDomNode, componentType, adaptableApi);
|
|
452
|
-
}
|
|
453
|
-
else {
|
|
454
|
-
_this.frameworkComponentService.destroyFrameworkComponent(frameworkComponent, componentType);
|
|
455
|
-
}
|
|
456
|
-
});
|
|
457
|
-
this.adaptableApi = adaptableApi;
|
|
458
|
-
return [2 /*return*/];
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
});
|
|
462
|
-
};
|
|
463
|
-
AdaptableAngularAgGridComponentDeprecated.prototype.ngOnDestroy = function () {
|
|
464
|
-
if (!this.adaptableApi) {
|
|
465
|
-
return;
|
|
466
|
-
}
|
|
467
|
-
this.adaptableApi.destroy({
|
|
468
|
-
unmount: true,
|
|
469
|
-
destroyApi: false,
|
|
470
|
-
});
|
|
471
|
-
this.adaptableApi = null;
|
|
472
|
-
};
|
|
473
|
-
return AdaptableAngularAgGridComponentDeprecated;
|
|
474
|
-
}());
|
|
475
|
-
AdaptableAngularAgGridComponentDeprecated.decorators = [
|
|
476
|
-
{ type: i0.Component, args: [{
|
|
477
|
-
entryComponents: [],
|
|
478
|
-
selector: 'adaptable-angular-aggrid',
|
|
479
|
-
template: '',
|
|
480
|
-
// ensures each AG Grid instance has it's own copy of the service (incl. the framework component references)
|
|
481
|
-
providers: [AdaptableAngularFrameworkComponentService],
|
|
482
|
-
styles: ["\n :host {\n display: flex;\n flex-flow: var(--ab_flex-direction, column);\n }\n "]
|
|
483
|
-
},] }
|
|
484
|
-
];
|
|
485
|
-
AdaptableAngularAgGridComponentDeprecated.ctorParameters = function () { return [
|
|
486
|
-
{ type: AdaptableAngularFrameworkComponentService }
|
|
487
|
-
]; };
|
|
488
|
-
AdaptableAngularAgGridComponentDeprecated.propDecorators = {
|
|
489
|
-
id: [{ type: i0.HostBinding, args: ['id',] }],
|
|
490
|
-
adaptableOptions: [{ type: i0.Input }],
|
|
491
|
-
modules: [{ type: i0.Input }],
|
|
492
|
-
gridOptions: [{ type: i0.Input }],
|
|
493
|
-
adaptableReady: [{ type: i0.Output }]
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
function getRandomInt$1(max) {
|
|
497
|
-
return Math.floor(Math.random() * Math.floor(max));
|
|
498
|
-
}
|
|
499
404
|
var AdaptableAngularAgGridComponentDirective = /** @class */ (function () {
|
|
500
405
|
function AdaptableAngularAgGridComponentDirective(renderer, el, frameworkComponentService) {
|
|
501
406
|
this.renderer = renderer;
|
|
502
407
|
this.el = el;
|
|
503
408
|
this.frameworkComponentService = frameworkComponentService;
|
|
504
409
|
this.adaptableReady = new i0.EventEmitter();
|
|
505
|
-
var seedId = getRandomInt
|
|
410
|
+
var seedId = getRandomInt(1000) + "-" + Date.now();
|
|
506
411
|
this.adaptableContainerId = "adaptable-" + seedId;
|
|
507
412
|
}
|
|
508
413
|
AdaptableAngularAgGridComponentDirective.prototype.ngOnInit = function () {
|
|
@@ -524,10 +429,9 @@
|
|
|
524
429
|
case 0:
|
|
525
430
|
this.createAngularWrapperContainer();
|
|
526
431
|
this.adaptableOptions.gridOptions = this.gridOptions;
|
|
527
|
-
this.adaptableOptions.containerOptions =
|
|
528
|
-
this.adaptableOptions.containerOptions || {};
|
|
432
|
+
this.adaptableOptions.containerOptions = this.adaptableOptions.containerOptions || {};
|
|
529
433
|
this.adaptableOptions.containerOptions.adaptableContainer = this.adaptableContainerId;
|
|
530
|
-
return [4 /*yield*/, Adaptable
|
|
434
|
+
return [4 /*yield*/, Adaptable.Adaptable.initInternal(this.adaptableOptions, {
|
|
531
435
|
waitForAgGrid: true,
|
|
532
436
|
modules: this.modules,
|
|
533
437
|
})];
|
|
@@ -597,15 +501,9 @@
|
|
|
597
501
|
}());
|
|
598
502
|
AdaptableAngularAgGridModule.decorators = [
|
|
599
503
|
{ type: i0.NgModule, args: [{
|
|
600
|
-
declarations: [
|
|
601
|
-
AdaptableAngularAgGridComponentDeprecated,
|
|
602
|
-
AdaptableAngularAgGridComponentDirective,
|
|
603
|
-
],
|
|
504
|
+
declarations: [AdaptableAngularAgGridComponentDirective],
|
|
604
505
|
imports: [],
|
|
605
|
-
exports: [
|
|
606
|
-
AdaptableAngularAgGridComponentDeprecated,
|
|
607
|
-
AdaptableAngularAgGridComponentDirective,
|
|
608
|
-
],
|
|
506
|
+
exports: [AdaptableAngularAgGridComponentDirective],
|
|
609
507
|
providers: [],
|
|
610
508
|
},] }
|
|
611
509
|
];
|
|
@@ -633,7 +531,6 @@
|
|
|
633
531
|
}
|
|
634
532
|
});
|
|
635
533
|
exports.ADAPTABLE_API = ADAPTABLE_API;
|
|
636
|
-
exports.AdaptableAngularAgGridComponentDeprecated = AdaptableAngularAgGridComponentDeprecated;
|
|
637
534
|
exports.AdaptableAngularAgGridComponentDirective = AdaptableAngularAgGridComponentDirective;
|
|
638
535
|
exports.AdaptableAngularAgGridModule = AdaptableAngularAgGridModule;
|
|
639
536
|
exports.ɵa = AdaptableAngularFrameworkComponentService;
|