@syncfusion/ej2-angular-splitbuttons 20.4.38-ngcc → 20.4.38

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 (234) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/drop-down-button/dropdownbutton-all.module.mjs +23 -0
  3. package/esm2020/src/drop-down-button/dropdownbutton.component.mjs +64 -0
  4. package/esm2020/src/drop-down-button/dropdownbutton.module.mjs +34 -0
  5. package/esm2020/src/drop-down-button/items.directive.mjs +46 -0
  6. package/esm2020/src/index.mjs +13 -0
  7. package/esm2020/src/progress-button/progressbutton-all.module.mjs +23 -0
  8. package/esm2020/src/progress-button/progressbutton.component.mjs +59 -0
  9. package/esm2020/src/progress-button/progressbutton.module.mjs +25 -0
  10. package/esm2020/src/split-button/items.directive.mjs +46 -0
  11. package/esm2020/src/split-button/splitbutton-all.module.mjs +23 -0
  12. package/esm2020/src/split-button/splitbutton.component.mjs +64 -0
  13. package/esm2020/src/split-button/splitbutton.module.mjs +34 -0
  14. package/esm2020/syncfusion-ej2-angular-splitbuttons.mjs +5 -0
  15. package/fesm2015/syncfusion-ej2-angular-splitbuttons.mjs +405 -0
  16. package/fesm2015/syncfusion-ej2-angular-splitbuttons.mjs.map +1 -0
  17. package/fesm2020/syncfusion-ej2-angular-splitbuttons.mjs +405 -0
  18. package/fesm2020/syncfusion-ej2-angular-splitbuttons.mjs.map +1 -0
  19. package/package.json +27 -13
  20. package/schematics/utils/lib-details.d.ts +2 -2
  21. package/src/drop-down-button/dropdownbutton-all.module.d.ts +6 -0
  22. package/src/drop-down-button/dropdownbutton.component.d.ts +3 -0
  23. package/src/drop-down-button/dropdownbutton.module.d.ts +7 -0
  24. package/src/drop-down-button/items.directive.d.ts +5 -0
  25. package/src/progress-button/progressbutton-all.module.d.ts +6 -0
  26. package/src/progress-button/progressbutton.component.d.ts +3 -0
  27. package/src/progress-button/progressbutton.module.d.ts +6 -0
  28. package/src/split-button/items.directive.d.ts +5 -0
  29. package/src/split-button/splitbutton-all.module.d.ts +6 -0
  30. package/src/split-button/splitbutton.component.d.ts +3 -0
  31. package/src/split-button/splitbutton.module.d.ts +7 -0
  32. package/styles/bootstrap-dark.css +0 -21
  33. package/styles/bootstrap.css +0 -21
  34. package/styles/bootstrap4.css +28 -49
  35. package/styles/bootstrap5-dark.css +0 -21
  36. package/styles/bootstrap5.css +0 -21
  37. package/styles/button-group/_all.scss +2 -0
  38. package/styles/button-group/_bootstrap-dark-definition.scss +33 -0
  39. package/styles/button-group/_bootstrap-definition.scss +30 -0
  40. package/styles/button-group/_bootstrap4-definition.scss +30 -0
  41. package/styles/button-group/_bootstrap5-dark-definition.scss +1 -0
  42. package/styles/button-group/_bootstrap5-definition.scss +31 -0
  43. package/styles/button-group/_fabric-dark-definition.scss +33 -0
  44. package/styles/button-group/_fabric-definition.scss +30 -0
  45. package/styles/button-group/_fluent-dark-definition.scss +1 -0
  46. package/styles/button-group/_fluent-definition.scss +31 -0
  47. package/styles/button-group/_fusionnew-definition.scss +31 -0
  48. package/styles/button-group/_group-button-mixin.scss +72 -0
  49. package/styles/button-group/_highcontrast-definition.scss +32 -0
  50. package/styles/button-group/_highcontrast-light-definition.scss +35 -0
  51. package/styles/button-group/_layout.scss +288 -0
  52. package/styles/button-group/_material-dark-definition.scss +33 -0
  53. package/styles/button-group/_material-definition.scss +30 -0
  54. package/styles/button-group/_material3-definition.scss +31 -0
  55. package/styles/button-group/_tailwind-dark-definition.scss +1 -0
  56. package/styles/button-group/_tailwind-definition.scss +31 -0
  57. package/styles/button-group/_theme.scss +386 -0
  58. package/styles/button-group/bootstrap-dark.scss +4 -1
  59. package/styles/button-group/bootstrap.scss +4 -1
  60. package/styles/button-group/bootstrap4.css +24 -24
  61. package/styles/button-group/bootstrap4.scss +4 -1
  62. package/styles/button-group/bootstrap5-dark.scss +4 -1
  63. package/styles/button-group/bootstrap5.scss +4 -1
  64. package/styles/button-group/fabric-dark.scss +4 -1
  65. package/styles/button-group/fabric.scss +4 -1
  66. package/styles/button-group/fluent-dark.scss +4 -1
  67. package/styles/button-group/fluent.scss +4 -1
  68. package/styles/button-group/highcontrast-light.scss +4 -1
  69. package/styles/button-group/highcontrast.scss +4 -1
  70. package/styles/button-group/material-dark.scss +4 -1
  71. package/styles/button-group/material.scss +4 -1
  72. package/styles/button-group/tailwind-dark.scss +4 -1
  73. package/styles/button-group/tailwind.scss +4 -1
  74. package/styles/drop-down-button/_all.scss +2 -0
  75. package/styles/drop-down-button/_bootstrap-dark-definition.scss +51 -0
  76. package/styles/drop-down-button/_bootstrap-definition.scss +48 -0
  77. package/styles/drop-down-button/_bootstrap4-definition.scss +48 -0
  78. package/styles/drop-down-button/_bootstrap5-dark-definition.scss +1 -0
  79. package/styles/drop-down-button/_bootstrap5-definition.scss +50 -0
  80. package/styles/drop-down-button/_fabric-dark-definition.scss +51 -0
  81. package/styles/drop-down-button/_fabric-definition.scss +48 -0
  82. package/styles/drop-down-button/_fluent-dark-definition.scss +1 -0
  83. package/styles/drop-down-button/_fluent-definition.scss +52 -0
  84. package/styles/drop-down-button/_fusionnew-definition.scss +50 -0
  85. package/styles/drop-down-button/_highcontrast-definition.scss +47 -0
  86. package/styles/drop-down-button/_highcontrast-light-definition.scss +50 -0
  87. package/styles/drop-down-button/_layout.scss +218 -0
  88. package/styles/drop-down-button/_material-dark-definition.scss +51 -0
  89. package/styles/drop-down-button/_material-definition.scss +48 -0
  90. package/styles/drop-down-button/_material3-definition.scss +50 -0
  91. package/styles/drop-down-button/_tailwind-dark-definition.scss +1 -0
  92. package/styles/drop-down-button/_tailwind-definition.scss +49 -0
  93. package/styles/drop-down-button/_theme.scss +78 -0
  94. package/styles/drop-down-button/bootstrap-dark.scss +6 -1
  95. package/styles/drop-down-button/bootstrap.scss +6 -1
  96. package/styles/drop-down-button/bootstrap4.css +1 -1
  97. package/styles/drop-down-button/bootstrap4.scss +6 -1
  98. package/styles/drop-down-button/bootstrap5-dark.scss +6 -1
  99. package/styles/drop-down-button/bootstrap5.scss +6 -1
  100. package/styles/drop-down-button/fabric-dark.scss +6 -1
  101. package/styles/drop-down-button/fabric.scss +6 -1
  102. package/styles/drop-down-button/fluent-dark.scss +6 -1
  103. package/styles/drop-down-button/fluent.scss +6 -1
  104. package/styles/drop-down-button/highcontrast-light.scss +6 -1
  105. package/styles/drop-down-button/highcontrast.scss +6 -1
  106. package/styles/drop-down-button/icons/_bootstrap-dark.scss +10 -0
  107. package/styles/drop-down-button/icons/_bootstrap.scss +10 -0
  108. package/styles/drop-down-button/icons/_bootstrap4.scss +10 -0
  109. package/styles/drop-down-button/icons/_bootstrap5-dark.scss +1 -0
  110. package/styles/drop-down-button/icons/_bootstrap5.scss +10 -0
  111. package/styles/drop-down-button/icons/_fabric-dark.scss +10 -0
  112. package/styles/drop-down-button/icons/_fabric.scss +10 -0
  113. package/styles/drop-down-button/icons/_fluent-dark.scss +1 -0
  114. package/styles/drop-down-button/icons/_fluent.scss +10 -0
  115. package/styles/drop-down-button/icons/_fusionnew.scss +10 -0
  116. package/styles/drop-down-button/icons/_highcontrast-light.scss +10 -0
  117. package/styles/drop-down-button/icons/_highcontrast.scss +10 -0
  118. package/styles/drop-down-button/icons/_material-dark.scss +10 -0
  119. package/styles/drop-down-button/icons/_material.scss +10 -0
  120. package/styles/drop-down-button/icons/_material3.scss +10 -0
  121. package/styles/drop-down-button/icons/_tailwind-dark.scss +10 -0
  122. package/styles/drop-down-button/icons/_tailwind.scss +10 -0
  123. package/styles/drop-down-button/material-dark.scss +6 -1
  124. package/styles/drop-down-button/material.scss +6 -1
  125. package/styles/drop-down-button/tailwind-dark.scss +6 -1
  126. package/styles/drop-down-button/tailwind.scss +6 -1
  127. package/styles/fabric-dark.css +0 -21
  128. package/styles/fabric.css +0 -21
  129. package/styles/fluent-dark.css +0 -21
  130. package/styles/fluent.css +0 -21
  131. package/styles/highcontrast-light.css +0 -21
  132. package/styles/highcontrast.css +0 -21
  133. package/styles/material-dark.css +0 -21
  134. package/styles/material.css +0 -21
  135. package/styles/progress-button/_all.scss +2 -0
  136. package/styles/progress-button/_bootstrap-dark-definition.scss +27 -0
  137. package/styles/progress-button/_bootstrap-definition.scss +24 -0
  138. package/styles/progress-button/_bootstrap4-definition.scss +24 -0
  139. package/styles/progress-button/_bootstrap5-dark-definition.scss +1 -0
  140. package/styles/progress-button/_bootstrap5-definition.scss +21 -0
  141. package/styles/progress-button/_fabric-dark-definition.scss +27 -0
  142. package/styles/progress-button/_fabric-definition.scss +24 -0
  143. package/styles/progress-button/_fluent-dark-definition.scss +1 -0
  144. package/styles/progress-button/_fluent-definition.scss +21 -0
  145. package/styles/progress-button/_fusionnew-definition.scss +21 -0
  146. package/styles/progress-button/_highcontrast-definition.scss +24 -0
  147. package/styles/progress-button/_highcontrast-light-definition.scss +24 -0
  148. package/styles/progress-button/_layout.scss +396 -0
  149. package/styles/progress-button/_material-dark-definition.scss +27 -0
  150. package/styles/progress-button/_material-definition.scss +24 -0
  151. package/styles/progress-button/_material3-definition.scss +21 -0
  152. package/styles/progress-button/_tailwind-dark-definition.scss +1 -0
  153. package/styles/progress-button/_tailwind-definition.scss +21 -0
  154. package/styles/progress-button/_theme.scss +457 -0
  155. package/styles/progress-button/bootstrap-dark.scss +5 -1
  156. package/styles/progress-button/bootstrap.scss +5 -1
  157. package/styles/progress-button/bootstrap4.scss +5 -1
  158. package/styles/progress-button/bootstrap5-dark.scss +5 -1
  159. package/styles/progress-button/bootstrap5.scss +5 -1
  160. package/styles/progress-button/fabric-dark.scss +5 -1
  161. package/styles/progress-button/fabric.scss +5 -1
  162. package/styles/progress-button/fluent-dark.scss +5 -1
  163. package/styles/progress-button/fluent.scss +5 -1
  164. package/styles/progress-button/highcontrast-light.scss +5 -1
  165. package/styles/progress-button/highcontrast.scss +5 -1
  166. package/styles/progress-button/material-dark.scss +5 -1
  167. package/styles/progress-button/material.scss +5 -1
  168. package/styles/progress-button/tailwind-dark.scss +5 -1
  169. package/styles/progress-button/tailwind.scss +5 -1
  170. package/styles/split-button/_all.scss +2 -0
  171. package/styles/split-button/_bootstrap-dark-definition.scss +26 -0
  172. package/styles/split-button/_bootstrap-definition.scss +23 -0
  173. package/styles/split-button/_bootstrap4-definition.scss +26 -0
  174. package/styles/split-button/_bootstrap5-dark-definition.scss +1 -0
  175. package/styles/split-button/_bootstrap5-definition.scss +24 -0
  176. package/styles/split-button/_fabric-dark-definition.scss +26 -0
  177. package/styles/split-button/_fabric-definition.scss +23 -0
  178. package/styles/split-button/_fluent-dark-definition.scss +1 -0
  179. package/styles/split-button/_fluent-definition.scss +24 -0
  180. package/styles/split-button/_fusionnew-definition.scss +24 -0
  181. package/styles/split-button/_highcontrast-definition.scss +23 -0
  182. package/styles/split-button/_highcontrast-light-definition.scss +26 -0
  183. package/styles/split-button/_layout.scss +420 -0
  184. package/styles/split-button/_material-dark-definition.scss +26 -0
  185. package/styles/split-button/_material-definition.scss +23 -0
  186. package/styles/split-button/_material3-definition.scss +24 -0
  187. package/styles/split-button/_tailwind-dark-definition.scss +1 -0
  188. package/styles/split-button/_tailwind-definition.scss +24 -0
  189. package/styles/split-button/_theme.scss +136 -0
  190. package/styles/split-button/bootstrap-dark.css +0 -21
  191. package/styles/split-button/bootstrap-dark.scss +6 -1
  192. package/styles/split-button/bootstrap.css +0 -21
  193. package/styles/split-button/bootstrap.scss +6 -1
  194. package/styles/split-button/bootstrap4.css +3 -24
  195. package/styles/split-button/bootstrap4.scss +6 -1
  196. package/styles/split-button/bootstrap5-dark.css +0 -21
  197. package/styles/split-button/bootstrap5-dark.scss +6 -1
  198. package/styles/split-button/bootstrap5.css +0 -21
  199. package/styles/split-button/bootstrap5.scss +6 -1
  200. package/styles/split-button/fabric-dark.css +0 -21
  201. package/styles/split-button/fabric-dark.scss +6 -1
  202. package/styles/split-button/fabric.css +0 -21
  203. package/styles/split-button/fabric.scss +6 -1
  204. package/styles/split-button/fluent-dark.css +0 -21
  205. package/styles/split-button/fluent-dark.scss +6 -1
  206. package/styles/split-button/fluent.css +0 -21
  207. package/styles/split-button/fluent.scss +6 -1
  208. package/styles/split-button/highcontrast-light.css +0 -21
  209. package/styles/split-button/highcontrast-light.scss +6 -1
  210. package/styles/split-button/highcontrast.css +0 -21
  211. package/styles/split-button/highcontrast.scss +6 -1
  212. package/styles/split-button/material-dark.css +0 -21
  213. package/styles/split-button/material-dark.scss +6 -1
  214. package/styles/split-button/material.css +0 -21
  215. package/styles/split-button/material.scss +6 -1
  216. package/styles/split-button/tailwind-dark.css +0 -21
  217. package/styles/split-button/tailwind-dark.scss +6 -1
  218. package/styles/split-button/tailwind.css +0 -21
  219. package/styles/split-button/tailwind.scss +6 -1
  220. package/styles/tailwind-dark.css +0 -21
  221. package/styles/tailwind.css +0 -21
  222. package/syncfusion-ej2-angular-splitbuttons.d.ts +5 -0
  223. package/@syncfusion/ej2-angular-splitbuttons.es5.js +0 -565
  224. package/@syncfusion/ej2-angular-splitbuttons.es5.js.map +0 -1
  225. package/@syncfusion/ej2-angular-splitbuttons.js +0 -516
  226. package/@syncfusion/ej2-angular-splitbuttons.js.map +0 -1
  227. package/CHANGELOG.md +0 -242
  228. package/dist/ej2-angular-splitbuttons.umd.js +0 -603
  229. package/dist/ej2-angular-splitbuttons.umd.js.map +0 -1
  230. package/dist/ej2-angular-splitbuttons.umd.min.js +0 -11
  231. package/dist/ej2-angular-splitbuttons.umd.min.js.map +0 -1
  232. package/ej2-angular-splitbuttons.d.ts +0 -7
  233. package/ej2-angular-splitbuttons.metadata.json +0 -1
  234. package/postinstall/tagchange.js +0 -18
@@ -333,9 +333,6 @@
333
333
  .e-split-btn-wrapper .e-btn:disabled {
334
334
  box-shadow: none;
335
335
  }
336
- .e-split-btn-wrapper .e-btn.e-inherit:focus, .e-split-btn-wrapper .e-btn.e-inherit:active {
337
- box-shadow: none;
338
- }
339
336
  .e-split-btn-wrapper.e-rtl .e-split-btn {
340
337
  border-bottom-left-radius: 0;
341
338
  border-bottom-right-radius: 4px;
@@ -497,9 +494,6 @@
497
494
  .e-split-btn-wrapper .e-split-btn:disabled {
498
495
  border-right-color: #1f2937;
499
496
  }
500
- .e-split-btn-wrapper .e-split-btn.e-inherit {
501
- border-color: transparent;
502
- }
503
497
  .e-split-btn-wrapper:hover :not(e-active) .e-split-btn {
504
498
  border-right-color: #6b7280;
505
499
  }
@@ -522,9 +516,6 @@
522
516
  border-left-color: #374151;
523
517
  border-right-color: #6b7280;
524
518
  }
525
- .e-split-btn-wrapper.e-rtl .e-split-btn.e-inherit {
526
- border-color: transparent;
527
- }
528
519
  .e-split-btn-wrapper.e-rtl:hover .e-split-btn :not(e-active) {
529
520
  border-left-color: #6b7280;
530
521
  border-right-color: #6b7280;
@@ -536,9 +527,6 @@
536
527
  border-bottom-color: #6b7280;
537
528
  border-right-color: #6b7280;
538
529
  }
539
- .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:focus, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:active, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:disabled {
540
- border-color: transparent;
541
- }
542
530
  .e-split-btn-wrapper.e-vertical .e-split-btn:focus {
543
531
  border-bottom-color: #6b7280;
544
532
  border-right-color: #6b7280;
@@ -555,18 +543,12 @@
555
543
  border-bottom-color: #6b7280;
556
544
  border-right-color: #6b7280;
557
545
  }
558
- .e-split-btn-wrapper.e-vertical:hover .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical:hover .e-split-btn.e-inherit:disabled {
559
- border-color: transparent;
560
- }
561
546
  .e-split-btn-wrapper.e-vertical:hover .e-split-btn:disabled {
562
547
  border-bottom-color: #374151;
563
548
  }
564
549
  .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn {
565
550
  border-left-color: #6b7280;
566
551
  }
567
- .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:focus, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:active, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:disabled {
568
- border-color: transparent;
569
- }
570
552
  .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn:focus {
571
553
  border-left-color: #6b7280;
572
554
  }
@@ -579,9 +561,6 @@
579
561
  .e-split-btn-wrapper.e-vertical.e-rtl:hover .e-split-btn {
580
562
  border-left-color: #6b7280;
581
563
  }
582
- .e-split-btn-wrapper.e-vertical.e-rtl:hover .e-split-btn.e-inherit {
583
- border-color: transparent;
584
- }
585
564
 
586
565
  /* stylelint-disable */
587
566
  *.e-btn-group,
@@ -333,9 +333,6 @@
333
333
  .e-split-btn-wrapper .e-btn:disabled {
334
334
  box-shadow: none;
335
335
  }
336
- .e-split-btn-wrapper .e-btn.e-inherit:focus, .e-split-btn-wrapper .e-btn.e-inherit:active {
337
- box-shadow: none;
338
- }
339
336
  .e-split-btn-wrapper.e-rtl .e-split-btn {
340
337
  border-bottom-left-radius: 0;
341
338
  border-bottom-right-radius: 4px;
@@ -497,9 +494,6 @@
497
494
  .e-split-btn-wrapper .e-split-btn:disabled {
498
495
  border-right-color: #fff;
499
496
  }
500
- .e-split-btn-wrapper .e-split-btn.e-inherit {
501
- border-color: transparent;
502
- }
503
497
  .e-split-btn-wrapper:hover :not(e-active) .e-split-btn {
504
498
  border-right-color: #d1d5db;
505
499
  }
@@ -522,9 +516,6 @@
522
516
  border-left-color: #e5e7eb;
523
517
  border-right-color: #d1d5db;
524
518
  }
525
- .e-split-btn-wrapper.e-rtl .e-split-btn.e-inherit {
526
- border-color: transparent;
527
- }
528
519
  .e-split-btn-wrapper.e-rtl:hover .e-split-btn :not(e-active) {
529
520
  border-left-color: #d1d5db;
530
521
  border-right-color: #d1d5db;
@@ -536,9 +527,6 @@
536
527
  border-bottom-color: #d1d5db;
537
528
  border-right-color: #d1d5db;
538
529
  }
539
- .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:focus, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:active, .e-split-btn-wrapper.e-vertical .e-split-btn.e-inherit:disabled {
540
- border-color: transparent;
541
- }
542
530
  .e-split-btn-wrapper.e-vertical .e-split-btn:focus {
543
531
  border-bottom-color: #d1d5db;
544
532
  border-right-color: #d1d5db;
@@ -555,18 +543,12 @@
555
543
  border-bottom-color: #d1d5db;
556
544
  border-right-color: #d1d5db;
557
545
  }
558
- .e-split-btn-wrapper.e-vertical:hover .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical:hover .e-split-btn.e-inherit:disabled {
559
- border-color: transparent;
560
- }
561
546
  .e-split-btn-wrapper.e-vertical:hover .e-split-btn:disabled {
562
547
  border-bottom-color: #e5e7eb;
563
548
  }
564
549
  .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn {
565
550
  border-left-color: #d1d5db;
566
551
  }
567
- .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:focus, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:active, .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn.e-inherit:disabled {
568
- border-color: transparent;
569
- }
570
552
  .e-split-btn-wrapper.e-vertical.e-rtl .e-split-btn:focus {
571
553
  border-left-color: #d1d5db;
572
554
  }
@@ -579,9 +561,6 @@
579
561
  .e-split-btn-wrapper.e-vertical.e-rtl:hover .e-split-btn {
580
562
  border-left-color: #d1d5db;
581
563
  }
582
- .e-split-btn-wrapper.e-vertical.e-rtl:hover .e-split-btn.e-inherit {
583
- border-color: transparent;
584
- }
585
564
 
586
565
  /* stylelint-disable */
587
566
  *.e-btn-group,
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@syncfusion/ej2-angular-splitbuttons" />
5
+ export * from './public_api';
@@ -1,565 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
13
- import { DropDownButton, ProgressButton, SplitButton } from '@syncfusion/ej2-splitbuttons';
14
- import { CommonModule } from '@angular/common';
15
- var input = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
16
- var outputs = [];
17
- var DropDownButtonItemDirective = /** @class */ (function (_super) {
18
- __extends(DropDownButtonItemDirective, _super);
19
- /**
20
- * @param {?} viewContainerRef
21
- */
22
- function DropDownButtonItemDirective(viewContainerRef) {
23
- var _this = _super.call(this) || this;
24
- _this.viewContainerRef = viewContainerRef;
25
- setValue('currentInstance', _this, _this.viewContainerRef);
26
- _this.registerEvents(outputs);
27
- _this.directivePropList = input;
28
- return _this;
29
- }
30
- return DropDownButtonItemDirective;
31
- }(ComplexBase));
32
- DropDownButtonItemDirective.decorators = [
33
- { type: Directive, args: [{
34
- selector: 'e-dropdownbuttonitems>e-dropdownbuttonitem',
35
- inputs: input,
36
- outputs: outputs,
37
- queries: {}
38
- },] },
39
- ];
40
- /**
41
- * @nocollapse
42
- */
43
- DropDownButtonItemDirective.ctorParameters = function () { return [
44
- { type: ViewContainerRef, },
45
- ]; };
46
- /**
47
- * DropDownButtonItem Array Directive
48
- */
49
- var DropDownButtonItemsDirective = /** @class */ (function (_super) {
50
- __extends(DropDownButtonItemsDirective, _super);
51
- function DropDownButtonItemsDirective() {
52
- return _super.call(this, 'items') || this;
53
- }
54
- return DropDownButtonItemsDirective;
55
- }(ArrayBase));
56
- DropDownButtonItemsDirective.decorators = [
57
- { type: Directive, args: [{
58
- selector: 'ejs-dropdownbutton>e-dropdownbuttonitems',
59
- queries: {
60
- children: new ContentChildren(DropDownButtonItemDirective)
61
- },
62
- },] },
63
- ];
64
- /**
65
- * @nocollapse
66
- */
67
- DropDownButtonItemsDirective.ctorParameters = function () { return []; };
68
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
69
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
70
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
71
- r = Reflect.decorate(decorators, target, key, desc);
72
- else
73
- for (var i = decorators.length - 1; i >= 0; i--)
74
- if (d = decorators[i])
75
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
76
- return c > 3 && r && Object.defineProperty(target, key, r), r;
77
- };
78
- var __metadata = (this && this.__metadata) || function (k, v) {
79
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
80
- return Reflect.metadata(k, v);
81
- };
82
- var inputs = ['closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'items', 'locale', 'target'];
83
- var outputs$1 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'close', 'created', 'open', 'select'];
84
- var twoWays = [];
85
- /**
86
- * Represents the Angular DropDownButton Component.
87
- * ```html
88
- * <button ejs-dropdownbutton>DropDownButton</button>
89
- * ```
90
- */
91
- var DropDownButtonComponent = /** @class */ (function (_super) {
92
- __extends(DropDownButtonComponent, _super);
93
- /**
94
- * @param {?} ngEle
95
- * @param {?} srenderer
96
- * @param {?} viewContainerRef
97
- * @param {?} injector
98
- */
99
- function DropDownButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
100
- var _this = _super.call(this) || this;
101
- _this.ngEle = ngEle;
102
- _this.srenderer = srenderer;
103
- _this.viewContainerRef = viewContainerRef;
104
- _this.injector = injector;
105
- _this.tags = ['items'];
106
- _this.element = _this.ngEle.nativeElement;
107
- _this.injectedModules = _this.injectedModules || [];
108
- _this.registerEvents(outputs$1);
109
- _this.addTwoWay.call(_this, twoWays);
110
- setValue('currentInstance', _this, _this.viewContainerRef);
111
- _this.containerContext = new ComponentBase();
112
- return _this;
113
- }
114
- /**
115
- * @return {?}
116
- */
117
- DropDownButtonComponent.prototype.ngOnInit = function () {
118
- this.containerContext.ngOnInit(this);
119
- };
120
- /**
121
- * @return {?}
122
- */
123
- DropDownButtonComponent.prototype.ngAfterViewInit = function () {
124
- this.containerContext.ngAfterViewInit(this);
125
- };
126
- /**
127
- * @return {?}
128
- */
129
- DropDownButtonComponent.prototype.ngOnDestroy = function () {
130
- this.containerContext.ngOnDestroy(this);
131
- };
132
- /**
133
- * @return {?}
134
- */
135
- DropDownButtonComponent.prototype.ngAfterContentChecked = function () {
136
- this.tagObjects[0].instance = this.childItems;
137
- this.containerContext.ngAfterContentChecked(this);
138
- };
139
- return DropDownButtonComponent;
140
- }(DropDownButton));
141
- DropDownButtonComponent.decorators = [
142
- { type: Component, args: [{
143
- selector: '[ejs-dropdownbutton]',
144
- inputs: inputs,
145
- outputs: outputs$1,
146
- template: "<ng-content ></ng-content>",
147
- changeDetection: ChangeDetectionStrategy.OnPush,
148
- queries: {
149
- childItems: new ContentChild(DropDownButtonItemsDirective)
150
- }
151
- },] },
152
- ];
153
- /**
154
- * @nocollapse
155
- */
156
- DropDownButtonComponent.ctorParameters = function () { return [
157
- { type: ElementRef, },
158
- { type: Renderer2, },
159
- { type: ViewContainerRef, },
160
- { type: Injector, },
161
- ]; };
162
- DropDownButtonComponent = __decorate([
163
- ComponentMixins([ComponentBase]),
164
- __metadata("design:paramtypes", [ElementRef,
165
- Renderer2,
166
- ViewContainerRef,
167
- Injector])
168
- ], DropDownButtonComponent);
169
- /**
170
- * NgModule definition for the DropDownButton component.
171
- */
172
- var DropDownButtonModule = /** @class */ (function () {
173
- function DropDownButtonModule() {
174
- }
175
- return DropDownButtonModule;
176
- }());
177
- DropDownButtonModule.decorators = [
178
- { type: NgModule, args: [{
179
- imports: [CommonModule],
180
- declarations: [
181
- DropDownButtonComponent,
182
- DropDownButtonItemDirective,
183
- DropDownButtonItemsDirective
184
- ],
185
- exports: [
186
- DropDownButtonComponent,
187
- DropDownButtonItemDirective,
188
- DropDownButtonItemsDirective
189
- ]
190
- },] },
191
- ];
192
- /**
193
- * @nocollapse
194
- */
195
- DropDownButtonModule.ctorParameters = function () { return []; };
196
- /**
197
- * NgModule definition for the DropDownButton component with providers.
198
- */
199
- var DropDownButtonAllModule = /** @class */ (function () {
200
- function DropDownButtonAllModule() {
201
- }
202
- return DropDownButtonAllModule;
203
- }());
204
- DropDownButtonAllModule.decorators = [
205
- { type: NgModule, args: [{
206
- imports: [CommonModule, DropDownButtonModule],
207
- exports: [
208
- DropDownButtonModule
209
- ],
210
- providers: []
211
- },] },
212
- ];
213
- /**
214
- * @nocollapse
215
- */
216
- DropDownButtonAllModule.ctorParameters = function () { return []; };
217
- var input$1 = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
218
- var outputs$2 = [];
219
- var SplitButtonItemDirective = /** @class */ (function (_super) {
220
- __extends(SplitButtonItemDirective, _super);
221
- /**
222
- * @param {?} viewContainerRef
223
- */
224
- function SplitButtonItemDirective(viewContainerRef) {
225
- var _this = _super.call(this) || this;
226
- _this.viewContainerRef = viewContainerRef;
227
- setValue('currentInstance', _this, _this.viewContainerRef);
228
- _this.registerEvents(outputs$2);
229
- _this.directivePropList = input$1;
230
- return _this;
231
- }
232
- return SplitButtonItemDirective;
233
- }(ComplexBase));
234
- SplitButtonItemDirective.decorators = [
235
- { type: Directive, args: [{
236
- selector: 'e-splitbuttonitems>e-splitbuttonitem',
237
- inputs: input$1,
238
- outputs: outputs$2,
239
- queries: {}
240
- },] },
241
- ];
242
- /**
243
- * @nocollapse
244
- */
245
- SplitButtonItemDirective.ctorParameters = function () { return [
246
- { type: ViewContainerRef, },
247
- ]; };
248
- /**
249
- * SplitButtonItem Array Directive
250
- */
251
- var SplitButtonItemsDirective = /** @class */ (function (_super) {
252
- __extends(SplitButtonItemsDirective, _super);
253
- function SplitButtonItemsDirective() {
254
- return _super.call(this, 'items') || this;
255
- }
256
- return SplitButtonItemsDirective;
257
- }(ArrayBase));
258
- SplitButtonItemsDirective.decorators = [
259
- { type: Directive, args: [{
260
- selector: 'ejs-splitbutton>e-splitbuttonitems',
261
- queries: {
262
- children: new ContentChildren(SplitButtonItemDirective)
263
- },
264
- },] },
265
- ];
266
- /**
267
- * @nocollapse
268
- */
269
- SplitButtonItemsDirective.ctorParameters = function () { return []; };
270
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
271
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
272
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
273
- r = Reflect.decorate(decorators, target, key, desc);
274
- else
275
- for (var i = decorators.length - 1; i >= 0; i--)
276
- if (d = decorators[i])
277
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
278
- return c > 3 && r && Object.defineProperty(target, key, r), r;
279
- };
280
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
281
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
282
- return Reflect.metadata(k, v);
283
- };
284
- var inputs$1 = ['closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'items', 'locale', 'target'];
285
- var outputs$3 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'click', 'close', 'created', 'open', 'select'];
286
- var twoWays$1 = [];
287
- /**
288
- * Represents the Angular SplitButton Component.
289
- * ```html
290
- * <ejs-splitbutton content='Split Button'></ejs-splitbutton>
291
- * ```
292
- */
293
- var SplitButtonComponent = /** @class */ (function (_super) {
294
- __extends(SplitButtonComponent, _super);
295
- /**
296
- * @param {?} ngEle
297
- * @param {?} srenderer
298
- * @param {?} viewContainerRef
299
- * @param {?} injector
300
- */
301
- function SplitButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
302
- var _this = _super.call(this) || this;
303
- _this.ngEle = ngEle;
304
- _this.srenderer = srenderer;
305
- _this.viewContainerRef = viewContainerRef;
306
- _this.injector = injector;
307
- _this.tags = ['items'];
308
- _this.element = _this.ngEle.nativeElement;
309
- _this.injectedModules = _this.injectedModules || [];
310
- _this.registerEvents(outputs$3);
311
- _this.addTwoWay.call(_this, twoWays$1);
312
- setValue('currentInstance', _this, _this.viewContainerRef);
313
- _this.containerContext = new ComponentBase();
314
- return _this;
315
- }
316
- /**
317
- * @return {?}
318
- */
319
- SplitButtonComponent.prototype.ngOnInit = function () {
320
- this.containerContext.ngOnInit(this);
321
- };
322
- /**
323
- * @return {?}
324
- */
325
- SplitButtonComponent.prototype.ngAfterViewInit = function () {
326
- this.containerContext.ngAfterViewInit(this);
327
- };
328
- /**
329
- * @return {?}
330
- */
331
- SplitButtonComponent.prototype.ngOnDestroy = function () {
332
- this.containerContext.ngOnDestroy(this);
333
- };
334
- /**
335
- * @return {?}
336
- */
337
- SplitButtonComponent.prototype.ngAfterContentChecked = function () {
338
- this.tagObjects[0].instance = this.childItems;
339
- this.containerContext.ngAfterContentChecked(this);
340
- };
341
- return SplitButtonComponent;
342
- }(SplitButton));
343
- SplitButtonComponent.decorators = [
344
- { type: Component, args: [{
345
- selector: 'ejs-splitbutton',
346
- inputs: inputs$1,
347
- outputs: outputs$3,
348
- template: "<ng-content ></ng-content>",
349
- changeDetection: ChangeDetectionStrategy.OnPush,
350
- queries: {
351
- childItems: new ContentChild(SplitButtonItemsDirective)
352
- }
353
- },] },
354
- ];
355
- /**
356
- * @nocollapse
357
- */
358
- SplitButtonComponent.ctorParameters = function () { return [
359
- { type: ElementRef, },
360
- { type: Renderer2, },
361
- { type: ViewContainerRef, },
362
- { type: Injector, },
363
- ]; };
364
- SplitButtonComponent = __decorate$1([
365
- ComponentMixins([ComponentBase]),
366
- __metadata$1("design:paramtypes", [ElementRef,
367
- Renderer2,
368
- ViewContainerRef,
369
- Injector])
370
- ], SplitButtonComponent);
371
- /**
372
- * NgModule definition for the SplitButton component.
373
- */
374
- var SplitButtonModule = /** @class */ (function () {
375
- function SplitButtonModule() {
376
- }
377
- return SplitButtonModule;
378
- }());
379
- SplitButtonModule.decorators = [
380
- { type: NgModule, args: [{
381
- imports: [CommonModule],
382
- declarations: [
383
- SplitButtonComponent,
384
- SplitButtonItemDirective,
385
- SplitButtonItemsDirective
386
- ],
387
- exports: [
388
- SplitButtonComponent,
389
- SplitButtonItemDirective,
390
- SplitButtonItemsDirective
391
- ]
392
- },] },
393
- ];
394
- /**
395
- * @nocollapse
396
- */
397
- SplitButtonModule.ctorParameters = function () { return []; };
398
- /**
399
- * NgModule definition for the SplitButton component with providers.
400
- */
401
- var SplitButtonAllModule = /** @class */ (function () {
402
- function SplitButtonAllModule() {
403
- }
404
- return SplitButtonAllModule;
405
- }());
406
- SplitButtonAllModule.decorators = [
407
- { type: NgModule, args: [{
408
- imports: [CommonModule, SplitButtonModule],
409
- exports: [
410
- SplitButtonModule
411
- ],
412
- providers: []
413
- },] },
414
- ];
415
- /**
416
- * @nocollapse
417
- */
418
- SplitButtonAllModule.ctorParameters = function () { return []; };
419
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
420
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
421
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
422
- r = Reflect.decorate(decorators, target, key, desc);
423
- else
424
- for (var i = decorators.length - 1; i >= 0; i--)
425
- if (d = decorators[i])
426
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
427
- return c > 3 && r && Object.defineProperty(target, key, r), r;
428
- };
429
- var __metadata$2 = (this && this.__metadata) || function (k, v) {
430
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
431
- return Reflect.metadata(k, v);
432
- };
433
- var inputs$2 = ['animationSettings', 'content', 'cssClass', 'disabled', 'duration', 'enableHtmlSanitizer', 'enableProgress', 'iconCss', 'iconPosition', 'isPrimary', 'isToggle', 'spinSettings'];
434
- var outputs$4 = ['begin', 'created', 'end', 'fail', 'progress'];
435
- var twoWays$2 = [];
436
- /**
437
- * Represents the Angular ProgressButton Component.
438
- * ```html
439
- * <button ejs-progressbutton content='Progress Button'></button>
440
- * ```
441
- */
442
- var ProgressButtonComponent = /** @class */ (function (_super) {
443
- __extends(ProgressButtonComponent, _super);
444
- /**
445
- * @param {?} ngEle
446
- * @param {?} srenderer
447
- * @param {?} viewContainerRef
448
- * @param {?} injector
449
- */
450
- function ProgressButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
451
- var _this = _super.call(this) || this;
452
- _this.ngEle = ngEle;
453
- _this.srenderer = srenderer;
454
- _this.viewContainerRef = viewContainerRef;
455
- _this.injector = injector;
456
- _this.element = _this.ngEle.nativeElement;
457
- _this.injectedModules = _this.injectedModules || [];
458
- _this.registerEvents(outputs$4);
459
- _this.addTwoWay.call(_this, twoWays$2);
460
- setValue('currentInstance', _this, _this.viewContainerRef);
461
- _this.containerContext = new ComponentBase();
462
- return _this;
463
- }
464
- /**
465
- * @return {?}
466
- */
467
- ProgressButtonComponent.prototype.ngOnInit = function () {
468
- this.containerContext.ngOnInit(this);
469
- };
470
- /**
471
- * @return {?}
472
- */
473
- ProgressButtonComponent.prototype.ngAfterViewInit = function () {
474
- this.containerContext.ngAfterViewInit(this);
475
- };
476
- /**
477
- * @return {?}
478
- */
479
- ProgressButtonComponent.prototype.ngOnDestroy = function () {
480
- this.containerContext.ngOnDestroy(this);
481
- };
482
- /**
483
- * @return {?}
484
- */
485
- ProgressButtonComponent.prototype.ngAfterContentChecked = function () {
486
- this.containerContext.ngAfterContentChecked(this);
487
- };
488
- return ProgressButtonComponent;
489
- }(ProgressButton));
490
- ProgressButtonComponent.decorators = [
491
- { type: Component, args: [{
492
- selector: '[ejs-progressbutton]',
493
- inputs: inputs$2,
494
- outputs: outputs$4,
495
- template: "<ng-content ></ng-content>",
496
- changeDetection: ChangeDetectionStrategy.OnPush,
497
- queries: {}
498
- },] },
499
- ];
500
- /**
501
- * @nocollapse
502
- */
503
- ProgressButtonComponent.ctorParameters = function () { return [
504
- { type: ElementRef, },
505
- { type: Renderer2, },
506
- { type: ViewContainerRef, },
507
- { type: Injector, },
508
- ]; };
509
- ProgressButtonComponent = __decorate$2([
510
- ComponentMixins([ComponentBase]),
511
- __metadata$2("design:paramtypes", [ElementRef,
512
- Renderer2,
513
- ViewContainerRef,
514
- Injector])
515
- ], ProgressButtonComponent);
516
- /**
517
- * NgModule definition for the ProgressButton component.
518
- */
519
- var ProgressButtonModule = /** @class */ (function () {
520
- function ProgressButtonModule() {
521
- }
522
- return ProgressButtonModule;
523
- }());
524
- ProgressButtonModule.decorators = [
525
- { type: NgModule, args: [{
526
- imports: [CommonModule],
527
- declarations: [
528
- ProgressButtonComponent
529
- ],
530
- exports: [
531
- ProgressButtonComponent
532
- ]
533
- },] },
534
- ];
535
- /**
536
- * @nocollapse
537
- */
538
- ProgressButtonModule.ctorParameters = function () { return []; };
539
- /**
540
- * NgModule definition for the ProgressButton component with providers.
541
- */
542
- var ProgressButtonAllModule = /** @class */ (function () {
543
- function ProgressButtonAllModule() {
544
- }
545
- return ProgressButtonAllModule;
546
- }());
547
- ProgressButtonAllModule.decorators = [
548
- { type: NgModule, args: [{
549
- imports: [CommonModule, ProgressButtonModule],
550
- exports: [
551
- ProgressButtonModule
552
- ],
553
- providers: []
554
- },] },
555
- ];
556
- /**
557
- * @nocollapse
558
- */
559
- ProgressButtonAllModule.ctorParameters = function () { return []; };
560
- /**
561
- * Generated bundle index. Do not edit.
562
- */
563
- export { DropDownButtonItemDirective, DropDownButtonItemsDirective, DropDownButtonComponent, DropDownButtonModule, DropDownButtonAllModule, SplitButtonItemDirective, SplitButtonItemsDirective, SplitButtonComponent, SplitButtonModule, SplitButtonAllModule, ProgressButtonComponent, ProgressButtonModule, ProgressButtonAllModule, inputs as ɵa, outputs$1 as ɵb, inputs$2 as ɵe, outputs$4 as ɵf, inputs$1 as ɵc, outputs$3 as ɵd };
564
- export { getModel, upDownKeyHandler, setBlankIconStyle, Item, DropDownButton, SplitButton, Deferred, createButtonGroup, SpinSettings, AnimationSettings, ProgressButton } from '@syncfusion/ej2-splitbuttons';
565
- //# sourceMappingURL=ej2-angular-splitbuttons.es5.js.map