@skyux/action-bars 5.0.2 → 5.5.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 (70) hide show
  1. package/README.md +6 -4
  2. package/bundles/skyux-action-bars.umd.js +16 -7
  3. package/documentation.json +58 -7
  4. package/esm2015/index.js +11 -0
  5. package/esm2015/index.js.map +1 -0
  6. package/esm2015/lib/modules/shared/sky-action-bars-resources.module.js +50 -0
  7. package/esm2015/lib/modules/shared/sky-action-bars-resources.module.js.map +1 -0
  8. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.js +19 -0
  9. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.js.map +1 -0
  10. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.js +36 -0
  11. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.js.map +1 -0
  12. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.js +37 -0
  13. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.js.map +1 -0
  14. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.js +48 -0
  15. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.js.map +1 -0
  16. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.js +73 -0
  17. package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.js.map +1 -0
  18. package/esm2015/lib/modules/summary-action-bar/summary/summary-action-bar-summary.component.js +18 -0
  19. package/esm2015/lib/modules/summary-action-bar/summary/summary-action-bar-summary.component.js.map +1 -0
  20. package/esm2015/lib/modules/summary-action-bar/summary-action-bar-adapter.service.js +81 -0
  21. package/esm2015/lib/modules/summary-action-bar/summary-action-bar-adapter.service.js.map +1 -0
  22. package/esm2015/lib/modules/summary-action-bar/summary-action-bar.component.js +179 -0
  23. package/esm2015/lib/modules/summary-action-bar/summary-action-bar.component.js.map +1 -0
  24. package/esm2015/lib/modules/summary-action-bar/summary-action-bar.module.js +79 -0
  25. package/esm2015/lib/modules/summary-action-bar/summary-action-bar.module.js.map +1 -0
  26. package/esm2015/lib/modules/summary-action-bar/types/summary-action-bar-type.js +12 -0
  27. package/esm2015/lib/modules/summary-action-bar/types/summary-action-bar-type.js.map +1 -0
  28. package/esm2015/skyux-action-bars.js +2 -2
  29. package/esm2015/skyux-action-bars.js.map +1 -0
  30. package/esm2015/testing/public-api.js +1 -1
  31. package/esm2015/testing/public-api.js.map +1 -0
  32. package/esm2015/testing/skyux-action-bars-testing.js +1 -1
  33. package/esm2015/testing/skyux-action-bars-testing.js.map +1 -0
  34. package/esm2015/testing/summary-action-bar/summary-action-bar-fixture-action.js +1 -1
  35. package/esm2015/testing/summary-action-bar/summary-action-bar-fixture-action.js.map +1 -0
  36. package/esm2015/testing/summary-action-bar/summary-action-bar-fixture.js +1 -1
  37. package/esm2015/testing/summary-action-bar/summary-action-bar-fixture.js.map +1 -0
  38. package/esm2015/testing/summary-action-bar/summary-action-bar.module.js +1 -1
  39. package/esm2015/testing/summary-action-bar/summary-action-bar.module.js.map +1 -0
  40. package/fesm2015/skyux-action-bars-testing.js.map +1 -1
  41. package/fesm2015/skyux-action-bars.js +16 -7
  42. package/fesm2015/skyux-action-bars.js.map +1 -1
  43. package/index.d.ts +8 -0
  44. package/{modules → lib/modules}/shared/sky-action-bars-resources.module.d.ts +0 -0
  45. package/{modules → lib/modules}/summary-action-bar/actions/summary-action-bar-actions.component.d.ts +0 -0
  46. package/{modules → lib/modules}/summary-action-bar/actions/summary-action-bar-cancel.component.d.ts +0 -0
  47. package/{modules → lib/modules}/summary-action-bar/actions/summary-action-bar-primary-action.component.d.ts +0 -0
  48. package/{modules → lib/modules}/summary-action-bar/actions/summary-action-bar-secondary-action.component.d.ts +0 -0
  49. package/{modules → lib/modules}/summary-action-bar/actions/summary-action-bar-secondary-actions.component.d.ts +0 -0
  50. package/{modules → lib/modules}/summary-action-bar/summary/summary-action-bar-summary.component.d.ts +0 -0
  51. package/{modules → lib/modules}/summary-action-bar/summary-action-bar-adapter.service.d.ts +0 -0
  52. package/{modules → lib/modules}/summary-action-bar/summary-action-bar.component.d.ts +0 -0
  53. package/{modules → lib/modules}/summary-action-bar/summary-action-bar.module.d.ts +0 -0
  54. package/{modules → lib/modules}/summary-action-bar/types/summary-action-bar-type.d.ts +0 -0
  55. package/package.json +20 -6
  56. package/skyux-action-bars.d.ts +1 -1
  57. package/LICENSE +0 -21
  58. package/esm2015/modules/shared/sky-action-bars-resources.module.js +0 -41
  59. package/esm2015/modules/summary-action-bar/actions/summary-action-bar-actions.component.js +0 -19
  60. package/esm2015/modules/summary-action-bar/actions/summary-action-bar-cancel.component.js +0 -36
  61. package/esm2015/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.js +0 -37
  62. package/esm2015/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.js +0 -48
  63. package/esm2015/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.js +0 -73
  64. package/esm2015/modules/summary-action-bar/summary/summary-action-bar-summary.component.js +0 -18
  65. package/esm2015/modules/summary-action-bar/summary-action-bar-adapter.service.js +0 -80
  66. package/esm2015/modules/summary-action-bar/summary-action-bar.component.js +0 -179
  67. package/esm2015/modules/summary-action-bar/summary-action-bar.module.js +0 -79
  68. package/esm2015/modules/summary-action-bar/types/summary-action-bar-type.js +0 -12
  69. package/esm2015/public-api.js +0 -11
  70. package/public-api.d.ts +0 -8
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
- # @skyux/action-bars
1
+ # action-bars
2
2
 
3
- [![npm](https://img.shields.io/npm/v/@skyux/action-bars.svg)](https://www.npmjs.com/package/@skyux/action-bars)
4
- ![SKY UX CI](https://github.com/blackbaud/skyux-action-bars/workflows/SKY%20UX%20CI/badge.svg)
5
- [![coverage](https://codecov.io/gh/blackbaud/skyux-action-bars/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/gh/blackbaud/skyux-action-bars/branch/master)
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test action-bars` to execute the unit tests.
@@ -37,7 +37,12 @@
37
37
  * To update this file, simply rerun the command.
38
38
  */
39
39
  var RESOURCES = {
40
- 'EN-US': { "skyux_summary_action_bar_open_secondary": { "message": "Show secondary actions" }, "skyux_summary_action_bar_expand": { "message": "Expand or collapse summary" } },
40
+ 'EN-US': {
41
+ skyux_summary_action_bar_open_secondary: {
42
+ message: 'Show secondary actions',
43
+ },
44
+ skyux_summary_action_bar_expand: { message: 'Expand or collapse summary' },
45
+ },
41
46
  };
42
47
  var SkyActionBarsResourcesProvider = /** @class */ (function () {
43
48
  function SkyActionBarsResourcesProvider() {
@@ -57,20 +62,24 @@
57
62
  }());
58
63
  SkyActionBarsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
59
64
  SkyActionBarsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, exports: [i6.SkyI18nModule] });
60
- SkyActionBarsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, providers: [{
65
+ SkyActionBarsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, providers: [
66
+ {
61
67
  provide: i6.SKY_LIB_RESOURCES_PROVIDERS,
62
68
  useClass: SkyActionBarsResourcesProvider,
63
- multi: true
64
- }], imports: [i6.SkyI18nModule] });
69
+ multi: true,
70
+ },
71
+ ], imports: [i6.SkyI18nModule] });
65
72
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, decorators: [{
66
73
  type: i0.NgModule,
67
74
  args: [{
68
75
  exports: [i6.SkyI18nModule],
69
- providers: [{
76
+ providers: [
77
+ {
70
78
  provide: i6.SKY_LIB_RESOURCES_PROVIDERS,
71
79
  useClass: SkyActionBarsResourcesProvider,
72
- multi: true
73
- }]
80
+ multi: true,
81
+ },
82
+ ],
74
83
  }]
75
84
  }] });
76
85
 
@@ -28,6 +28,8 @@
28
28
  "name": "NgModule",
29
29
  "type": {
30
30
  "type": "reference",
31
+ "qualifiedName": "NgModuleDecorator",
32
+ "package": "@angular/core",
31
33
  "name": "NgModule"
32
34
  },
33
35
  "arguments": {
@@ -89,6 +91,8 @@
89
91
  "name": "Component",
90
92
  "type": {
91
93
  "type": "reference",
94
+ "qualifiedName": "ComponentDecorator",
95
+ "package": "@angular/core",
92
96
  "name": "Component"
93
97
  },
94
98
  "arguments": {
@@ -150,6 +154,8 @@
150
154
  "name": "Component",
151
155
  "type": {
152
156
  "type": "reference",
157
+ "qualifiedName": "ComponentDecorator",
158
+ "package": "@angular/core",
153
159
  "name": "Component"
154
160
  },
155
161
  "arguments": {
@@ -198,6 +204,8 @@
198
204
  "flags": {},
199
205
  "type": {
200
206
  "type": "reference",
207
+ "qualifiedName": "ChangeDetectorRef",
208
+ "package": "@angular/core",
201
209
  "name": "ChangeDetectorRef"
202
210
  }
203
211
  },
@@ -215,6 +223,8 @@
215
223
  "name": "any"
216
224
  }
217
225
  ],
226
+ "qualifiedName": "ElementRef",
227
+ "package": "@angular/core",
218
228
  "name": "ElementRef"
219
229
  }
220
230
  },
@@ -624,10 +634,14 @@
624
634
  "implementedTypes": [
625
635
  {
626
636
  "type": "reference",
637
+ "qualifiedName": "AfterViewInit",
638
+ "package": "@angular/core",
627
639
  "name": "AfterViewInit"
628
640
  },
629
641
  {
630
642
  "type": "reference",
643
+ "qualifiedName": "OnDestroy",
644
+ "package": "@angular/core",
631
645
  "name": "OnDestroy"
632
646
  }
633
647
  ]
@@ -646,6 +660,8 @@
646
660
  "name": "Component",
647
661
  "type": {
648
662
  "type": "reference",
663
+ "qualifiedName": "ComponentDecorator",
664
+ "package": "@angular/core",
649
665
  "name": "Component"
650
666
  },
651
667
  "arguments": {
@@ -707,6 +723,8 @@
707
723
  "name": "Component",
708
724
  "type": {
709
725
  "type": "reference",
726
+ "qualifiedName": "ComponentDecorator",
727
+ "package": "@angular/core",
710
728
  "name": "Component"
711
729
  },
712
730
  "arguments": {
@@ -752,6 +770,8 @@
752
770
  "name": "Output",
753
771
  "type": {
754
772
  "type": "reference",
773
+ "qualifiedName": "OutputDecorator",
774
+ "package": "@angular/core",
755
775
  "name": "Output"
756
776
  },
757
777
  "arguments": {}
@@ -772,6 +792,8 @@
772
792
  "name": "void"
773
793
  }
774
794
  ],
795
+ "qualifiedName": "EventEmitter",
796
+ "package": "@angular/core",
775
797
  "name": "EventEmitter"
776
798
  },
777
799
  "defaultValue": "..."
@@ -792,6 +814,8 @@
792
814
  "name": "Input",
793
815
  "type": {
794
816
  "type": "reference",
817
+ "qualifiedName": "InputDecorator",
818
+ "package": "@angular/core",
795
819
  "name": "Input"
796
820
  },
797
821
  "arguments": {}
@@ -886,6 +910,8 @@
886
910
  "name": "Component",
887
911
  "type": {
888
912
  "type": "reference",
913
+ "qualifiedName": "ComponentDecorator",
914
+ "package": "@angular/core",
889
915
  "name": "Component"
890
916
  },
891
917
  "arguments": {
@@ -931,6 +957,8 @@
931
957
  "name": "Output",
932
958
  "type": {
933
959
  "type": "reference",
960
+ "qualifiedName": "OutputDecorator",
961
+ "package": "@angular/core",
934
962
  "name": "Output"
935
963
  },
936
964
  "arguments": {}
@@ -951,6 +979,8 @@
951
979
  "name": "void"
952
980
  }
953
981
  ],
982
+ "qualifiedName": "EventEmitter",
983
+ "package": "@angular/core",
954
984
  "name": "EventEmitter"
955
985
  },
956
986
  "defaultValue": "..."
@@ -977,6 +1007,8 @@
977
1007
  "name": "Input",
978
1008
  "type": {
979
1009
  "type": "reference",
1010
+ "qualifiedName": "InputDecorator",
1011
+ "package": "@angular/core",
980
1012
  "name": "Input"
981
1013
  },
982
1014
  "arguments": {}
@@ -1071,6 +1103,8 @@
1071
1103
  "name": "Component",
1072
1104
  "type": {
1073
1105
  "type": "reference",
1106
+ "qualifiedName": "ComponentDecorator",
1107
+ "package": "@angular/core",
1074
1108
  "name": "Component"
1075
1109
  },
1076
1110
  "arguments": {
@@ -1108,6 +1142,8 @@
1108
1142
  "flags": {},
1109
1143
  "type": {
1110
1144
  "type": "reference",
1145
+ "qualifiedName": "ChangeDetectorRef",
1146
+ "package": "@angular/core",
1111
1147
  "name": "ChangeDetectorRef"
1112
1148
  }
1113
1149
  }
@@ -1136,6 +1172,8 @@
1136
1172
  "name": "Output",
1137
1173
  "type": {
1138
1174
  "type": "reference",
1175
+ "qualifiedName": "OutputDecorator",
1176
+ "package": "@angular/core",
1139
1177
  "name": "Output"
1140
1178
  },
1141
1179
  "arguments": {}
@@ -1156,6 +1194,8 @@
1156
1194
  "name": "void"
1157
1195
  }
1158
1196
  ],
1197
+ "qualifiedName": "EventEmitter",
1198
+ "package": "@angular/core",
1159
1199
  "name": "EventEmitter"
1160
1200
  },
1161
1201
  "defaultValue": "..."
@@ -1182,6 +1222,8 @@
1182
1222
  "name": "Input",
1183
1223
  "type": {
1184
1224
  "type": "reference",
1225
+ "qualifiedName": "InputDecorator",
1226
+ "package": "@angular/core",
1185
1227
  "name": "Input"
1186
1228
  },
1187
1229
  "arguments": {}
@@ -1338,6 +1380,8 @@
1338
1380
  "name": "Component",
1339
1381
  "type": {
1340
1382
  "type": "reference",
1383
+ "qualifiedName": "ComponentDecorator",
1384
+ "package": "@angular/core",
1341
1385
  "name": "Component"
1342
1386
  },
1343
1387
  "arguments": {
@@ -1375,6 +1419,8 @@
1375
1419
  "flags": {},
1376
1420
  "type": {
1377
1421
  "type": "reference",
1422
+ "qualifiedName": "ChangeDetectorRef",
1423
+ "package": "@angular/core",
1378
1424
  "name": "ChangeDetectorRef"
1379
1425
  }
1380
1426
  },
@@ -1421,6 +1467,8 @@
1421
1467
  "name": "SkyDropdownMessage"
1422
1468
  }
1423
1469
  ],
1470
+ "qualifiedName": "Subject",
1471
+ "package": "rxjs",
1424
1472
  "name": "Subject"
1425
1473
  },
1426
1474
  "defaultValue": "..."
@@ -1459,6 +1507,8 @@
1459
1507
  "name": "ContentChildren",
1460
1508
  "type": {
1461
1509
  "type": "reference",
1510
+ "qualifiedName": "ContentChildrenDecorator",
1511
+ "package": "@angular/core",
1462
1512
  "name": "ContentChildren"
1463
1513
  },
1464
1514
  "arguments": {
@@ -1482,6 +1532,8 @@
1482
1532
  "name": "SkySummaryActionBarSecondaryActionComponent"
1483
1533
  }
1484
1534
  ],
1535
+ "qualifiedName": "QueryList",
1536
+ "package": "@angular/core",
1485
1537
  "name": "QueryList"
1486
1538
  }
1487
1539
  },
@@ -1596,10 +1648,14 @@
1596
1648
  "implementedTypes": [
1597
1649
  {
1598
1650
  "type": "reference",
1651
+ "qualifiedName": "AfterContentInit",
1652
+ "package": "@angular/core",
1599
1653
  "name": "AfterContentInit"
1600
1654
  },
1601
1655
  {
1602
1656
  "type": "reference",
1657
+ "qualifiedName": "OnDestroy",
1658
+ "package": "@angular/core",
1603
1659
  "name": "OnDestroy"
1604
1660
  }
1605
1661
  ]
@@ -1623,18 +1679,13 @@
1623
1679
  ],
1624
1680
  "sources": [
1625
1681
  {
1626
- "fileName": "projects/action-bars/src/public-api.ts",
1682
+ "fileName": "index.ts",
1627
1683
  "line": 1,
1628
1684
  "character": 0
1629
1685
  }
1630
1686
  ]
1631
1687
  },
1632
1688
  "codeExamples": [
1633
- {
1634
- "fileName": ".eslintrc.json",
1635
- "filePath": "/projects/action-bars/documentation/code-examples/.eslintrc.json",
1636
- "rawContents": "{\n \"extends\": [\"../../.eslintrc.json\"],\n \"overrides\": [\n {\n \"files\": [\"*.ts\"],\n \"rules\": {\n \"@angular-eslint/directive-selector\": [\n \"error\",\n {\n \"type\": \"attribute\",\n \"prefix\": \"app\",\n \"style\": \"camelCase\"\n }\n ],\n \"@angular-eslint/component-selector\": [\n \"error\",\n {\n \"type\": \"element\",\n \"prefix\": \"app\",\n \"style\": \"kebab-case\"\n }\n ]\n }\n }\n ]\n}\n"
1637
- },
1638
1689
  {
1639
1690
  "fileName": "summary-action-bar-demo.component.html",
1640
1691
  "filePath": "/projects/action-bars/documentation/code-examples/summary-action-bar/basic/summary-action-bar-demo.component.html",
@@ -1706,4 +1757,4 @@
1706
1757
  "rawContents": "import { NgModule } from '@angular/core';\n\nimport { SkyKeyInfoModule } from '@skyux/indicators';\n\nimport { SkyTabsModule } from '@skyux/tabs';\nimport { SkySummaryActionBarModule } from '@skyux/action-bars';\n\nimport { SummaryActionBarDemoComponent } from './summary-action-bar-demo.component';\n\n@NgModule({\n imports: [SkyKeyInfoModule, SkyTabsModule, SkySummaryActionBarModule],\n exports: [SummaryActionBarDemoComponent],\n declarations: [SummaryActionBarDemoComponent],\n})\nexport class SummaryActionBarDemoModule {}\n"
1707
1758
  }
1708
1759
  ]
1709
- }
1760
+ }
@@ -0,0 +1,11 @@
1
+ export * from './lib/modules/summary-action-bar/summary-action-bar.module';
2
+ // Components and directives must be exported to support Angular's "partial" Ivy compiler.
3
+ // Obscure names are used to indicate types are not part of the public API.
4
+ export { SkySummaryActionBarSummaryComponent as λ1 } from './lib/modules/summary-action-bar/summary/summary-action-bar-summary.component';
5
+ export { SkySummaryActionBarComponent as λ2 } from './lib/modules/summary-action-bar/summary-action-bar.component';
6
+ export { SkySummaryActionBarActionsComponent as λ3 } from './lib/modules/summary-action-bar/actions/summary-action-bar-actions.component';
7
+ export { SkySummaryActionBarCancelComponent as λ4 } from './lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component';
8
+ export { SkySummaryActionBarPrimaryActionComponent as λ5 } from './lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component';
9
+ export { SkySummaryActionBarSecondaryActionComponent as λ6 } from './lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component';
10
+ export { SkySummaryActionBarSecondaryActionsComponent as λ7 } from './lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/components/action-bars/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC;AAE3E,0FAA0F;AAC1F,2EAA2E;AAC3E,OAAO,EAAE,mCAAmC,IAAI,EAAE,EAAE,MAAM,+EAA+E,CAAC;AAC1I,OAAO,EAAE,4BAA4B,IAAI,EAAE,EAAE,MAAM,+DAA+D,CAAC;AACnH,OAAO,EAAE,mCAAmC,IAAI,EAAE,EAAE,MAAM,+EAA+E,CAAC;AAC1I,OAAO,EAAE,kCAAkC,IAAI,EAAE,EAAE,MAAM,8EAA8E,CAAC;AACxI,OAAO,EAAE,yCAAyC,IAAI,EAAE,EAAE,MAAM,sFAAsF,CAAC;AACvJ,OAAO,EAAE,2CAA2C,IAAI,EAAE,EAAE,MAAM,wFAAwF,CAAC;AAC3J,OAAO,EAAE,4CAA4C,IAAI,EAAE,EAAE,MAAM,yFAAyF,CAAC","sourcesContent":["export * from './lib/modules/summary-action-bar/summary-action-bar.module';\n\n// Components and directives must be exported to support Angular's \"partial\" Ivy compiler.\n// Obscure names are used to indicate types are not part of the public API.\nexport { SkySummaryActionBarSummaryComponent as λ1 } from './lib/modules/summary-action-bar/summary/summary-action-bar-summary.component';\nexport { SkySummaryActionBarComponent as λ2 } from './lib/modules/summary-action-bar/summary-action-bar.component';\nexport { SkySummaryActionBarActionsComponent as λ3 } from './lib/modules/summary-action-bar/actions/summary-action-bar-actions.component';\nexport { SkySummaryActionBarCancelComponent as λ4 } from './lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component';\nexport { SkySummaryActionBarPrimaryActionComponent as λ5 } from './lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component';\nexport { SkySummaryActionBarSecondaryActionComponent as λ6 } from './lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component';\nexport { SkySummaryActionBarSecondaryActionsComponent as λ7 } from './lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component';\n"]}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * NOTICE: DO NOT MODIFY THIS FILE!
3
+ * The contents of this file were automatically generated by
4
+ * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-action-bars' schematic.
5
+ * To update this file, simply rerun the command.
6
+ */
7
+ import { NgModule } from '@angular/core';
8
+ import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, } from '@skyux/i18n';
9
+ import * as i0 from "@angular/core";
10
+ const RESOURCES = {
11
+ 'EN-US': {
12
+ skyux_summary_action_bar_open_secondary: {
13
+ message: 'Show secondary actions',
14
+ },
15
+ skyux_summary_action_bar_expand: { message: 'Expand or collapse summary' },
16
+ },
17
+ };
18
+ export class SkyActionBarsResourcesProvider {
19
+ getString(localeInfo, name) {
20
+ return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
21
+ }
22
+ }
23
+ /**
24
+ * Import into any component library module that needs to use resource strings.
25
+ */
26
+ export class SkyActionBarsResourcesModule {
27
+ }
28
+ SkyActionBarsResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionBarsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ SkyActionBarsResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionBarsResourcesModule, exports: [SkyI18nModule] });
30
+ SkyActionBarsResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionBarsResourcesModule, providers: [
31
+ {
32
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
33
+ useClass: SkyActionBarsResourcesProvider,
34
+ multi: true,
35
+ },
36
+ ], imports: [SkyI18nModule] });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionBarsResourcesModule, decorators: [{
38
+ type: NgModule,
39
+ args: [{
40
+ exports: [SkyI18nModule],
41
+ providers: [
42
+ {
43
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
44
+ useClass: SkyActionBarsResourcesProvider,
45
+ multi: true,
46
+ },
47
+ ],
48
+ }]
49
+ }] });
50
+ //# sourceMappingURL=sky-action-bars-resources.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sky-action-bars-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/action-bars/src/lib/modules/shared/sky-action-bars-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,qBAAqB,EAErB,aAAa,EAGb,2BAA2B,GAC5B,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,uCAAuC,EAAE;YACvC,OAAO,EAAE,wBAAwB;SAClC;QACD,+BAA+B,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE;KAC3E;CACF,CAAC;AAEF,MAAM,OAAO,8BAA8B;IAClC,SAAS,CAAC,UAA4B,EAAE,IAAY;QACzD,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;CACF;AAED;;GAEG;AAWH,MAAM,OAAO,4BAA4B;;0HAA5B,4BAA4B;2HAA5B,4BAA4B,YAT7B,aAAa;2HASZ,4BAA4B,aAR5B;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,8BAA8B;YACxC,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,4BAA4B;kBAVxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,2BAA2B;4BACpC,QAAQ,EAAE,8BAA8B;4BACxC,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF","sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-action-bars' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_summary_action_bar_open_secondary: {\n message: 'Show secondary actions',\n },\n skyux_summary_action_bar_expand: { message: 'Expand or collapse summary' },\n },\n};\n\nexport class SkyActionBarsResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyActionBarsResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyActionBarsResourcesModule {}\n"]}
@@ -0,0 +1,19 @@
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Contains actions for the `sky-summary-action-bar` component.
5
+ */
6
+ export class SkySummaryActionBarActionsComponent {
7
+ }
8
+ SkySummaryActionBarActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
+ SkySummaryActionBarActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarActionsComponent, selector: "sky-summary-action-bar-actions", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarActionsComponent, decorators: [{
11
+ type: Component,
12
+ args: [{
13
+ selector: 'sky-summary-action-bar-actions',
14
+ templateUrl: './summary-action-bar-actions.component.html',
15
+ styleUrls: ['./summary-action-bar-actions.component.scss'],
16
+ changeDetection: ChangeDetectionStrategy.OnPush,
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=summary-action-bar-actions.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summary-action-bar-actions.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.ts","../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;AAEnE;;GAEG;AAOH,MAAM,OAAO,mCAAmC;;iIAAnC,mCAAmC;qHAAnC,mCAAmC,sECXhD,6BACA;4FDUa,mCAAmC;kBAN/C,SAAS;mBAAC;oBACT,QAAQ,EAAE,gCAAgC;oBAC1C,WAAW,EAAE,6CAA6C;oBAC1D,SAAS,EAAE,CAAC,6CAA6C,CAAC;oBAC1D,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * Contains actions for the `sky-summary-action-bar` component.\n */\n@Component({\n selector: 'sky-summary-action-bar-actions',\n templateUrl: './summary-action-bar-actions.component.html',\n styleUrls: ['./summary-action-bar-actions.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkySummaryActionBarActionsComponent {}\n","<ng-content></ng-content>\n"]}
@@ -0,0 +1,36 @@
1
+ import { Component, EventEmitter, Input, Output, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Displays a cancel action.
5
+ */
6
+ export class SkySummaryActionBarCancelComponent {
7
+ constructor() {
8
+ /**
9
+ * Indicates whether to disable the cancel action.
10
+ */
11
+ this.disabled = false;
12
+ /**
13
+ * Fires when users select the cancel action.
14
+ */
15
+ this.actionClick = new EventEmitter();
16
+ }
17
+ onCancelClicked() {
18
+ this.actionClick.emit();
19
+ }
20
+ }
21
+ SkySummaryActionBarCancelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarCancelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
+ SkySummaryActionBarCancelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarCancelComponent, selector: "sky-summary-action-bar-cancel", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: ["::ng-deep .sky-modal .sky-modal-footer-container button.sky-btn-link:first-child{margin-left:initial}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarCancelComponent, decorators: [{
24
+ type: Component,
25
+ args: [{
26
+ selector: 'sky-summary-action-bar-cancel',
27
+ templateUrl: './summary-action-bar-cancel.component.html',
28
+ styleUrls: ['./summary-action-bar-cancel.component.scss'],
29
+ changeDetection: ChangeDetectionStrategy.OnPush,
30
+ }]
31
+ }], propDecorators: { disabled: [{
32
+ type: Input
33
+ }], actionClick: [{
34
+ type: Output
35
+ }] } });
36
+ //# sourceMappingURL=summary-action-bar-cancel.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summary-action-bar-cancel.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.ts","../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,KAAK,EACL,MAAM,EACN,uBAAuB,GACxB,MAAM,eAAe,CAAC;;AAEvB;;GAEG;AAOH,MAAM,OAAO,kCAAkC;IAN/C;QAOE;;WAEG;QAEI,aAAQ,GAAG,KAAK,CAAC;QAExB;;WAEG;QAEI,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;KAK/C;IAHQ,eAAe;QACpB,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;;gIAfU,kCAAkC;oHAAlC,kCAAkC,gJCjB/C,qMAQA;4FDSa,kCAAkC;kBAN9C,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;oBACzC,WAAW,EAAE,4CAA4C;oBACzD,SAAS,EAAE,CAAC,4CAA4C,CAAC;oBACzD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAMQ,QAAQ;sBADd,KAAK;gBAOC,WAAW;sBADjB,MAAM","sourcesContent":["import {\n Component,\n EventEmitter,\n Input,\n Output,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n/**\n * Displays a cancel action.\n */\n@Component({\n selector: 'sky-summary-action-bar-cancel',\n templateUrl: './summary-action-bar-cancel.component.html',\n styleUrls: ['./summary-action-bar-cancel.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkySummaryActionBarCancelComponent {\n /**\n * Indicates whether to disable the cancel action.\n */\n @Input()\n public disabled = false;\n\n /**\n * Fires when users select the cancel action.\n */\n @Output()\n public actionClick = new EventEmitter<void>();\n\n public onCancelClicked(): void {\n this.actionClick.emit();\n }\n}\n","<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n"]}
@@ -0,0 +1,37 @@
1
+ import { Component, EventEmitter, Input, Output, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Displays a primary button.
5
+ */
6
+ export class SkySummaryActionBarPrimaryActionComponent {
7
+ constructor() {
8
+ /**
9
+ * Indicates whether to disable the primary action.
10
+ * @default false
11
+ */
12
+ this.disabled = false;
13
+ /**
14
+ * Fires when users select the primary action.
15
+ */
16
+ this.actionClick = new EventEmitter();
17
+ }
18
+ onButtonClicked() {
19
+ this.actionClick.emit();
20
+ }
21
+ }
22
+ SkySummaryActionBarPrimaryActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarPrimaryActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ SkySummaryActionBarPrimaryActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarPrimaryActionComponent, selector: "sky-summary-action-bar-primary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarPrimaryActionComponent, decorators: [{
25
+ type: Component,
26
+ args: [{
27
+ selector: 'sky-summary-action-bar-primary-action',
28
+ templateUrl: './summary-action-bar-primary-action.component.html',
29
+ styleUrls: ['./summary-action-bar-primary-action.component.scss'],
30
+ changeDetection: ChangeDetectionStrategy.OnPush,
31
+ }]
32
+ }], propDecorators: { disabled: [{
33
+ type: Input
34
+ }], actionClick: [{
35
+ type: Output
36
+ }] } });
37
+ //# sourceMappingURL=summary-action-bar-primary-action.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summary-action-bar-primary-action.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.ts","../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,KAAK,EACL,MAAM,EACN,uBAAuB,GACxB,MAAM,eAAe,CAAC;;AAEvB;;GAEG;AAOH,MAAM,OAAO,yCAAyC;IANtD;QAOE;;;WAGG;QAEI,aAAQ,GAAG,KAAK,CAAC;QAExB;;WAEG;QAEI,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;KAK/C;IAHQ,eAAe;QACpB,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;;uIAhBU,yCAAyC;2HAAzC,yCAAyC,wJCjBtD,0KAQA;4FDSa,yCAAyC;kBANrD,SAAS;mBAAC;oBACT,QAAQ,EAAE,uCAAuC;oBACjD,WAAW,EAAE,oDAAoD;oBACjE,SAAS,EAAE,CAAC,oDAAoD,CAAC;oBACjE,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAOQ,QAAQ;sBADd,KAAK;gBAOC,WAAW;sBADjB,MAAM","sourcesContent":["import {\n Component,\n EventEmitter,\n Input,\n Output,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n/**\n * Displays a primary button.\n */\n@Component({\n selector: 'sky-summary-action-bar-primary-action',\n templateUrl: './summary-action-bar-primary-action.component.html',\n styleUrls: ['./summary-action-bar-primary-action.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkySummaryActionBarPrimaryActionComponent {\n /**\n * Indicates whether to disable the primary action.\n * @default false\n */\n @Input()\n public disabled = false;\n\n /**\n * Fires when users select the primary action.\n */\n @Output()\n public actionClick = new EventEmitter<void>();\n\n public onButtonClicked(): void {\n this.actionClick.emit();\n }\n}\n","<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n"]}
@@ -0,0 +1,48 @@
1
+ import { ChangeDetectorRef, Component, EventEmitter, Input, Output, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@skyux/popovers";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@skyux/theme";
6
+ /**
7
+ * Specifies secondary actions.
8
+ */
9
+ export class SkySummaryActionBarSecondaryActionComponent {
10
+ constructor(changeDetector) {
11
+ this.changeDetector = changeDetector;
12
+ /**
13
+ * Indicates whether to disable a secondary action.
14
+ * @default false
15
+ */
16
+ this.disabled = false;
17
+ /**
18
+ * Fires when users select a secondary action.
19
+ */
20
+ this.actionClick = new EventEmitter();
21
+ }
22
+ set isDropdown(value) {
23
+ this._isDropdown = value;
24
+ this.changeDetector.detectChanges();
25
+ }
26
+ get isDropdown() {
27
+ return this._isDropdown;
28
+ }
29
+ onButtonClicked() {
30
+ this.actionClick.emit();
31
+ }
32
+ }
33
+ SkySummaryActionBarSecondaryActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarSecondaryActionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
34
+ SkySummaryActionBarSecondaryActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSecondaryActionComponent, selector: "sky-summary-action-bar-secondary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], components: [{ type: i1.λ1, selector: "sky-dropdown-item", inputs: ["ariaRole"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkySummaryActionBarSecondaryActionComponent, decorators: [{
36
+ type: Component,
37
+ args: [{
38
+ selector: 'sky-summary-action-bar-secondary-action',
39
+ templateUrl: './summary-action-bar-secondary-action.component.html',
40
+ styleUrls: ['./summary-action-bar-secondary-action.component.scss'],
41
+ changeDetection: ChangeDetectionStrategy.OnPush,
42
+ }]
43
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
44
+ type: Input
45
+ }], actionClick: [{
46
+ type: Output
47
+ }] } });
48
+ //# sourceMappingURL=summary-action-bar-secondary-action.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summary-action-bar-secondary-action.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.ts","../../../../../../../../../libs/components/action-bars/src/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,MAAM,EACN,uBAAuB,GACxB,MAAM,eAAe,CAAC;;;;;AAEvB;;GAEG;AAOH,MAAM,OAAO,2CAA2C;IAyBtD,YAAoB,cAAiC;QAAjC,mBAAc,GAAd,cAAc,CAAmB;QAxBrD;;;WAGG;QAEI,aAAQ,GAAG,KAAK,CAAC;QAWxB;;WAEG;QAEI,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;IAIU,CAAC;IAjBzD,IAAW,UAAU,CAAC,KAAc;QAClC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC;IACtC,CAAC;IAED,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAYM,eAAe;QACpB,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;;yIA7BU,2CAA2C;6HAA3C,2CAA2C,0JClBxD,+wBA4BA;4FDVa,2CAA2C;kBANvD,SAAS;mBAAC;oBACT,QAAQ,EAAE,yCAAyC;oBACnD,WAAW,EAAE,sDAAsD;oBACnE,SAAS,EAAE,CAAC,sDAAsD,CAAC;oBACnE,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;wGAOQ,QAAQ;sBADd,KAAK;gBAgBC,WAAW;sBADjB,MAAM","sourcesContent":["import {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n Output,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n/**\n * Specifies secondary actions.\n */\n@Component({\n selector: 'sky-summary-action-bar-secondary-action',\n templateUrl: './summary-action-bar-secondary-action.component.html',\n styleUrls: ['./summary-action-bar-secondary-action.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkySummaryActionBarSecondaryActionComponent {\n /**\n * Indicates whether to disable a secondary action.\n * @default false\n */\n @Input()\n public disabled = false;\n\n public set isDropdown(value: boolean) {\n this._isDropdown = value;\n this.changeDetector.detectChanges();\n }\n\n public get isDropdown() {\n return this._isDropdown;\n }\n\n /**\n * Fires when users select a secondary action.\n */\n @Output()\n public actionClick = new EventEmitter<void>();\n\n private _isDropdown: boolean;\n\n constructor(private changeDetector: ChangeDetectorRef) {}\n\n public onButtonClicked(): void {\n this.actionClick.emit();\n }\n}\n","<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n"]}