@enigmatry/entry-components 1.15.1-preview.9 → 15.0.0-preview

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 (207) hide show
  1. package/README.md +2 -1
  2. package/assets/fonts/Montserrat/Montserrat-bold.eot +0 -0
  3. package/assets/fonts/Montserrat/Montserrat-bold.ttf +0 -0
  4. package/assets/fonts/Montserrat/Montserrat-bold.woff +0 -0
  5. package/assets/fonts/Montserrat/Montserrat-bold.woff2 +0 -0
  6. package/assets/fonts/OpenSans/OpenSans-bold.eot +0 -0
  7. package/assets/fonts/OpenSans/OpenSans-bold.ttf +0 -0
  8. package/assets/fonts/OpenSans/OpenSans-bold.woff +0 -0
  9. package/assets/fonts/OpenSans/OpenSans-bold.woff2 +0 -0
  10. package/assets/fonts/OpenSans/OpenSans-normal.eot +0 -0
  11. package/assets/fonts/OpenSans/OpenSans-normal.ttf +0 -0
  12. package/assets/fonts/OpenSans/OpenSans-normal.woff +0 -0
  13. package/assets/fonts/OpenSans/OpenSans-normal.woff2 +0 -0
  14. package/assets/fonts/Roboto/Roboto-bold.woff2 +0 -0
  15. package/assets/fonts/Roboto/Roboto-normal.woff2 +0 -0
  16. package/button/README.md +47 -0
  17. package/button/entry-button-config.d.ts +26 -0
  18. package/button/entry-button.directive.d.ts +18 -0
  19. package/button/entry-button.module.d.ts +9 -0
  20. package/{header → button}/index.d.ts +1 -1
  21. package/button/public-api.d.ts +3 -0
  22. package/dialog/README.md +2 -2
  23. package/dialog/entry-dialog-buttons-alignment.type.d.ts +1 -1
  24. package/dialog/entry-dialog-config.model.d.ts +1 -1
  25. package/dialog/entry-dialog.module.d.ts +4 -1
  26. package/esm2020/{header/enigmatry-entry-components-header.mjs → button/enigmatry-entry-components-button.mjs} +1 -1
  27. package/esm2020/button/entry-button-config.mjs +22 -0
  28. package/esm2020/button/entry-button.directive.mjs +56 -0
  29. package/esm2020/button/entry-button.module.mjs +28 -0
  30. package/esm2020/button/public-api.mjs +4 -0
  31. package/esm2020/dialog/dialogs/entry-dialog.component.mjs +8 -5
  32. package/esm2020/dialog/entry-dialog-buttons-alignment.type.mjs +1 -2
  33. package/esm2020/dialog/entry-dialog-config.model.mjs +3 -3
  34. package/esm2020/dialog/entry-dialog.module.mjs +16 -4
  35. package/esm2020/file-input/enigmatry-entry-components-file-input.mjs +5 -0
  36. package/esm2020/file-input/entry-file-input.component.mjs +197 -0
  37. package/esm2020/file-input/entry-file-input.module.mjs +40 -0
  38. package/esm2020/file-input/public-api.mjs +3 -0
  39. package/esm2020/permissions/enigmatry-entry-components-permissions.mjs +5 -0
  40. package/esm2020/permissions/permission-type.mjs +2 -0
  41. package/esm2020/permissions/permission.directive.mjs +35 -0
  42. package/esm2020/permissions/permission.guard.mjs +14 -0
  43. package/esm2020/permissions/permission.module.mjs +29 -0
  44. package/esm2020/permissions/permission.pipe.mjs +20 -0
  45. package/esm2020/permissions/permission.service.mjs +3 -0
  46. package/esm2020/permissions/public-api.mjs +6 -0
  47. package/esm2020/public-api.mjs +4 -3
  48. package/esm2020/search-filter/entry-search-filter.component.mjs +8 -6
  49. package/esm2020/search-filter/entry-search-filter.module.mjs +12 -4
  50. package/esm2020/search-filter/search-filter-input/search-filter-input.component.mjs +9 -4
  51. package/esm2020/table/components/entry-cell/entry-cell.component.mjs +23 -0
  52. package/esm2020/table/components/entry-cell-context-menu/entry-cell-context-menu.component.mjs +33 -0
  53. package/esm2020/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.mjs +25 -0
  54. package/esm2020/table/components/entry-table/entry-table.component.mjs +248 -0
  55. package/esm2020/table/components/index.mjs +5 -0
  56. package/esm2020/table/enigmatry-entry-components-table.mjs +5 -0
  57. package/esm2020/table/entry-table.module.mjs +84 -0
  58. package/esm2020/table/interfaces/cell-template.mjs +2 -0
  59. package/esm2020/table/interfaces/column-def.mjs +2 -0
  60. package/esm2020/table/interfaces/column-sort-prop.mjs +2 -0
  61. package/esm2020/table/interfaces/column-type-parameter.mjs +2 -0
  62. package/esm2020/table/interfaces/column-type.mjs +2 -0
  63. package/esm2020/table/interfaces/context-menu-item.mjs +2 -0
  64. package/esm2020/table/interfaces/entry-table-config.mjs +18 -0
  65. package/esm2020/table/interfaces/index.mjs +13 -0
  66. package/esm2020/table/interfaces/paged-query.mjs +34 -0
  67. package/esm2020/table/interfaces/pagination.mjs +2 -0
  68. package/esm2020/table/interfaces/row-class-formatter.mjs +2 -0
  69. package/esm2020/table/interfaces/row-context-menu-formatter.mjs +2 -0
  70. package/esm2020/table/interfaces/row-selection-formatter.mjs +2 -0
  71. package/esm2020/table/public-api.mjs +4 -0
  72. package/esm2020/validation/entry-form-errors.component.mjs +7 -3
  73. package/fesm2015/enigmatry-entry-components-button.mjs +110 -0
  74. package/fesm2015/enigmatry-entry-components-button.mjs.map +1 -0
  75. package/fesm2015/enigmatry-entry-components-dialog.mjs +22 -7
  76. package/fesm2015/enigmatry-entry-components-dialog.mjs.map +1 -1
  77. package/fesm2015/enigmatry-entry-components-file-input.mjs +237 -0
  78. package/fesm2015/enigmatry-entry-components-file-input.mjs.map +1 -0
  79. package/fesm2015/enigmatry-entry-components-permissions.mjs +98 -0
  80. package/fesm2015/enigmatry-entry-components-permissions.mjs.map +1 -0
  81. package/fesm2015/enigmatry-entry-components-search-filter.mjs +24 -9
  82. package/fesm2015/enigmatry-entry-components-search-filter.mjs.map +1 -1
  83. package/fesm2015/enigmatry-entry-components-table.mjs +459 -0
  84. package/fesm2015/enigmatry-entry-components-table.mjs.map +1 -0
  85. package/fesm2015/enigmatry-entry-components-validation.mjs +6 -2
  86. package/fesm2015/enigmatry-entry-components-validation.mjs.map +1 -1
  87. package/fesm2015/enigmatry-entry-components.mjs +3 -2
  88. package/fesm2015/enigmatry-entry-components.mjs.map +1 -1
  89. package/fesm2020/enigmatry-entry-components-button.mjs +107 -0
  90. package/fesm2020/enigmatry-entry-components-button.mjs.map +1 -0
  91. package/fesm2020/enigmatry-entry-components-dialog.mjs +22 -7
  92. package/fesm2020/enigmatry-entry-components-dialog.mjs.map +1 -1
  93. package/fesm2020/enigmatry-entry-components-file-input.mjs +240 -0
  94. package/fesm2020/enigmatry-entry-components-file-input.mjs.map +1 -0
  95. package/fesm2020/enigmatry-entry-components-permissions.mjs +97 -0
  96. package/fesm2020/enigmatry-entry-components-permissions.mjs.map +1 -0
  97. package/fesm2020/enigmatry-entry-components-search-filter.mjs +24 -9
  98. package/fesm2020/enigmatry-entry-components-search-filter.mjs.map +1 -1
  99. package/fesm2020/enigmatry-entry-components-table.mjs +450 -0
  100. package/fesm2020/enigmatry-entry-components-table.mjs.map +1 -0
  101. package/fesm2020/enigmatry-entry-components-validation.mjs +6 -2
  102. package/fesm2020/enigmatry-entry-components-validation.mjs.map +1 -1
  103. package/fesm2020/enigmatry-entry-components.mjs +3 -2
  104. package/fesm2020/enigmatry-entry-components.mjs.map +1 -1
  105. package/file-input/README.md +71 -0
  106. package/file-input/entry-file-input.component.d.ts +74 -0
  107. package/file-input/entry-file-input.module.d.ts +12 -0
  108. package/file-input/index.d.ts +5 -0
  109. package/file-input/public-api.d.ts +2 -0
  110. package/package.json +31 -15
  111. package/permissions/README.md +68 -0
  112. package/permissions/index.d.ts +5 -0
  113. package/permissions/permission-type.d.ts +3 -0
  114. package/permissions/permission.directive.d.ts +11 -0
  115. package/permissions/permission.guard.d.ts +2 -0
  116. package/permissions/permission.module.d.ts +9 -0
  117. package/permissions/permission.pipe.d.ts +11 -0
  118. package/permissions/permission.service.d.ts +4 -0
  119. package/permissions/public-api.d.ts +5 -0
  120. package/public-api.d.ts +3 -2
  121. package/search-filter/entry-search-filter.module.d.ts +4 -2
  122. package/search-filter/search-filter-input/search-filter-input.component.d.ts +4 -2
  123. package/styles/_generator.scss +15 -10
  124. package/styles/modules/_default-theme.scss +36 -59
  125. package/styles/modules/components/buttons/_generator.scss +8 -0
  126. package/styles/modules/components/dialogs/_generator.scss +8 -3
  127. package/styles/modules/components/forms/_generator.scss +12 -6
  128. package/styles/modules/components/inputs/_generator.scss +15 -0
  129. package/styles/modules/components/search-filter/_generator.scss +15 -0
  130. package/styles/modules/components/tables/_cells.scss +11 -8
  131. package/styles/modules/components/tables/_no-result.scss +1 -3
  132. package/styles/modules/components/tables/_rows.scss +10 -40
  133. package/styles/modules/components/tables/_sorting.scss +2 -9
  134. package/styles/modules/typography/_fonts.scss +35 -42
  135. package/styles/modules/vendors/angular-material/_generator.scss +46 -0
  136. package/styles/modules/vendors/angular-material/_palette-generator.scss +32 -0
  137. package/styles/modules/vendors/angular-material/_typography-generator.scss +101 -0
  138. package/styles/partials/core/components/_index.scss +3 -3
  139. package/styles/partials/core/components/dialogs/_general.scss +10 -64
  140. package/styles/partials/core/components/forms/_general.scss +9 -13
  141. package/styles/partials/core/components/search-filter/_general.scss +9 -0
  142. package/styles/partials/core/components/tables/_general.scss +17 -0
  143. package/styles/partials/generator-test.scss +38 -0
  144. package/table/README.md +76 -0
  145. package/table/components/entry-cell/entry-cell.component.d.ts +10 -0
  146. package/table/components/entry-cell-context-menu/entry-cell-context-menu.component.d.ts +14 -0
  147. package/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.d.ts +10 -0
  148. package/table/components/entry-table/entry-table.component.d.ts +81 -0
  149. package/table/components/index.d.ts +4 -0
  150. package/table/entry-table.module.d.ts +20 -0
  151. package/{toolbar → table}/index.d.ts +1 -1
  152. package/table/interfaces/cell-template.d.ts +4 -0
  153. package/table/interfaces/column-def.d.ts +20 -0
  154. package/table/interfaces/column-sort-prop.d.ts +5 -0
  155. package/table/interfaces/column-type-parameter.d.ts +9 -0
  156. package/table/interfaces/column-type.d.ts +1 -0
  157. package/table/interfaces/context-menu-item.d.ts +6 -0
  158. package/table/interfaces/entry-table-config.d.ts +11 -0
  159. package/table/interfaces/index.d.ts +12 -0
  160. package/table/interfaces/paged-query.d.ts +14 -0
  161. package/table/interfaces/pagination.d.ts +19 -0
  162. package/table/interfaces/row-class-formatter.d.ts +3 -0
  163. package/table/interfaces/row-context-menu-formatter.d.ts +4 -0
  164. package/table/interfaces/row-selection-formatter.d.ts +4 -0
  165. package/table/public-api.d.ts +3 -0
  166. package/esm2020/header/entry-header.component.mjs +0 -13
  167. package/esm2020/header/entry-header.module.mjs +0 -24
  168. package/esm2020/header/public-api.mjs +0 -3
  169. package/esm2020/toolbar/enigmatry-entry-components-toolbar.mjs +0 -5
  170. package/esm2020/toolbar/entry-toolbar.component.mjs +0 -43
  171. package/esm2020/toolbar/entry-toolbar.module.mjs +0 -24
  172. package/esm2020/toolbar/public-api.mjs +0 -3
  173. package/fesm2015/enigmatry-entry-components-header.mjs +0 -41
  174. package/fesm2015/enigmatry-entry-components-header.mjs.map +0 -1
  175. package/fesm2015/enigmatry-entry-components-toolbar.mjs +0 -71
  176. package/fesm2015/enigmatry-entry-components-toolbar.mjs.map +0 -1
  177. package/fesm2020/enigmatry-entry-components-header.mjs +0 -41
  178. package/fesm2020/enigmatry-entry-components-header.mjs.map +0 -1
  179. package/fesm2020/enigmatry-entry-components-toolbar.mjs +0 -71
  180. package/fesm2020/enigmatry-entry-components-toolbar.mjs.map +0 -1
  181. package/header/README.md +0 -41
  182. package/header/entry-header.component.d.ts +0 -6
  183. package/header/entry-header.module.d.ts +0 -8
  184. package/header/public-api.d.ts +0 -2
  185. package/styles/modules/components/forms/outlines/_field-outlines.scss +0 -45
  186. package/styles/modules/components/forms/outlines/_form-fields.scss +0 -26
  187. package/styles/modules/components/forms/outlines/_general.scss +0 -9
  188. package/styles/modules/components/forms/selectors/_checkboxes.scss +0 -55
  189. package/styles/modules/components/forms/selectors/_radio-buttons.scss +0 -39
  190. package/styles/modules/components/headers/_generator.scss +0 -12
  191. package/styles/modules/elements/_generator.scss +0 -20
  192. package/styles/modules/elements/anchors/_generator.scss +0 -16
  193. package/styles/modules/elements/buttons/_default.scss +0 -12
  194. package/styles/modules/elements/buttons/_generator.scss +0 -45
  195. package/styles/modules/states/_hover.scss +0 -18
  196. package/styles/partials/core/components/headers/_general.scss +0 -7
  197. package/styles/partials/core/components/tables/_action-cells.scss +0 -26
  198. package/styles/partials/core/components/tables/_cells.scss +0 -39
  199. package/styles/partials/core/components/tables/_index.scss +0 -5
  200. package/styles/partials/core/components/tables/_layout.scss +0 -47
  201. package/styles/partials/core/components/tables/_rows.scss +0 -13
  202. package/styles/partials/core/components/tables/_sorting.scss +0 -8
  203. package/styles/partials/test.scss +0 -35
  204. package/toolbar/README.md +0 -39
  205. package/toolbar/entry-toolbar.component.d.ts +0 -28
  206. package/toolbar/entry-toolbar.module.d.ts +0 -8
  207. package/toolbar/public-api.d.ts +0 -2
@@ -1,43 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- /**
5
- * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
6
- * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
7
- * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
8
- *
9
- * @example
10
- * ```html
11
- * <entry-toolbar
12
- * titleUri="http://www.enigmatry.com"
13
- * titleLogoSrc="assets/enigmatry-logo.png">
14
- * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
15
- * </entry-toolbar>
16
- * ```
17
- */
18
- export class EntryToolbarComponent {
19
- constructor() {
20
- /** Url to be redirected to if user click on the title (default value '/') */
21
- this.titleUri = '/';
22
- /** If provided, it replaces string title and renders logo image instead */
23
- this.titleLogoSrc = undefined;
24
- /** Used to hide the title section if not required (default value false) */
25
- this.hideTitle = false;
26
- this.menuOpened = false;
27
- }
28
- }
29
- EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
32
- type: Component,
33
- args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
34
- }], propDecorators: { title: [{
35
- type: Input
36
- }], titleUri: [{
37
- type: Input
38
- }], titleLogoSrc: [{
39
- type: Input
40
- }], hideTitle: [{
41
- type: Input
42
- }] } });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktdG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2VudHJ5LWNvbXBvbmVudHMvdG9vbGJhci9lbnRyeS10b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy90b29sYmFyL2VudHJ5LXRvb2xiYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQUUxRTs7Ozs7Ozs7Ozs7OztHQWFHO0FBT0gsTUFBTSxPQUFPLHFCQUFxQjtJQU5sQztRQVNFLDZFQUE2RTtRQUNwRSxhQUFRLEdBQUcsR0FBRyxDQUFDO1FBQ3hCLDJFQUEyRTtRQUNsRSxpQkFBWSxHQUF1QixTQUFTLENBQUM7UUFDdEQsMkVBQTJFO1FBQ2xFLGNBQVMsR0FBRyxLQUFLLENBQUM7UUFFM0IsZUFBVSxHQUFHLEtBQUssQ0FBQztLQUNwQjs7a0hBWFkscUJBQXFCO3NHQUFyQixxQkF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eS10b29sYmFyXCI+XG4gICAgPG5hdiBjbGFzcz1cImVudHJ5LXRvb2xiYXItbmF2XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJlbnRyeS10b29sYmFyLWRhdGFcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJlbnRyeS10b29sYmFyLWxvZ29cIj5cbiAgICAgICAgICAgICAgICA8YSAqbmdJZj1cIiFoaWRlVGl0bGVcIiBbaHJlZl09XCJ0aXRsZVVyaVwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cIiF0aXRsZUxvZ29TcmNcIj57e3RpdGxlfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgIDxpbWcgKm5nSWY9XCJ0aXRsZUxvZ29TcmNcIiBbc3JjXT1cInRpdGxlTG9nb1NyY1wiLz5cbiAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImVudHJ5LXRvb2xiYXItbmF2LXRvZ2dsZVwiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cIm1lbnVPcGVuZWQgPSAhbWVudU9wZW5lZFwiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwieydzaG93LXRvb2xiYXItaWNvbic6IG1lbnVPcGVuZWQgPT09IHRydWV9XCI+XG4gICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJuYXYtdG9nZ2xlLW1lbnVcIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJpY29uLW1lbnVcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwibmF2LXRvZ2dsZS1jbG9zZVwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImljb24tY2xvc2VcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8c3BhbiBjbGFzcz1cImVudHJ5LXRvb2xiYXItY29udGVudFwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJ7J3Nob3ctdG9vbGJhci1jb250ZW50JzogbWVudU9wZW5lZCA9PT0gdHJ1ZX1cIj5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9zcGFuPlxuICAgIDwvbmF2PlxuPC9oZWFkZXI+Il19
@@ -1,24 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { EntryToolbarComponent } from './entry-toolbar.component';
4
- import * as i0 from "@angular/core";
5
- export class EntryToolbarModule {
6
- }
7
- EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
9
- EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [
14
- EntryToolbarComponent
15
- ],
16
- imports: [
17
- CommonModule
18
- ],
19
- exports: [
20
- EntryToolbarComponent
21
- ]
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktdG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2VudHJ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leHBvcnQgY2xhc3MgRW50cnlUb29sYmFyTW9kdWxlIHsgfVxuIl19
@@ -1,3 +0,0 @@
1
- export { EntryToolbarComponent } from './entry-toolbar.component';
2
- export { EntryToolbarModule } from './entry-toolbar.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy90b29sYmFyL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFbnRyeVRvb2xiYXJDb21wb25lbnQgfSBmcm9tICcuL2VudHJ5LXRvb2xiYXIuY29tcG9uZW50JztcbmV4cG9ydCB7IEVudHJ5VG9vbGJhck1vZHVsZSB9IGZyb20gJy4vZW50cnktdG9vbGJhci5tb2R1bGUnO1xuIl19
@@ -1,41 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
-
5
- class EntryHeaderComponent {
6
- }
7
- EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
- EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryHeaderComponent, selector: "entry-header", inputs: { title: "title" }, ngImport: i0, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'entry-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>" }]
12
- }], propDecorators: { title: [{
13
- type: Input
14
- }] } });
15
-
16
- class EntryHeaderModule {
17
- }
18
- EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
20
- EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, decorators: [{
22
- type: NgModule,
23
- args: [{
24
- declarations: [
25
- EntryHeaderComponent
26
- ],
27
- imports: [
28
- CommonModule
29
- ],
30
- exports: [
31
- EntryHeaderComponent
32
- ]
33
- }]
34
- }] });
35
-
36
- /**
37
- * Generated bundle index. Do not edit.
38
- */
39
-
40
- export { EntryHeaderComponent, EntryHeaderModule };
41
- //# sourceMappingURL=enigmatry-entry-components-header.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enigmatry-entry-components-header.mjs","sources":["../../../../libs/entry-components/header/entry-header.component.ts","../../../../libs/entry-components/header/entry-header.component.html","../../../../libs/entry-components/header/entry-header.module.ts","../../../../libs/entry-components/header/enigmatry-entry-components-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'entry-header',\n templateUrl: './entry-header.component.html',\n styleUrls: ['./entry-header.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryHeaderComponent {\n @Input() title: string;\n}\n","<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryHeaderComponent } from './entry-header.component';\n\n@NgModule({\n declarations: [\n EntryHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryHeaderComponent\n ]\n})\nexport class EntryHeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,gFCRjC,qRAQS,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDAI,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;+BACE,cAAc,EAAA,eAAA,EAGP,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qRAAA,EAAA,CAAA;8BAGtC,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MEMK,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAT1B,YAAA,EAAA,CAAA,oBAAoB,CAGpB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAGX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAN1B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,71 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
-
6
- /**
7
- * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
8
- * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
9
- * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
10
- *
11
- * @example
12
- * ```html
13
- * <entry-toolbar
14
- * titleUri="http://www.enigmatry.com"
15
- * titleLogoSrc="assets/enigmatry-logo.png">
16
- * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
17
- * </entry-toolbar>
18
- * ```
19
- */
20
- class EntryToolbarComponent {
21
- constructor() {
22
- /** Url to be redirected to if user click on the title (default value '/') */
23
- this.titleUri = '/';
24
- /** If provided, it replaces string title and renders logo image instead */
25
- this.titleLogoSrc = undefined;
26
- /** Used to hide the title section if not required (default value false) */
27
- this.hideTitle = false;
28
- this.menuOpened = false;
29
- }
30
- }
31
- EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
36
- }], propDecorators: { title: [{
37
- type: Input
38
- }], titleUri: [{
39
- type: Input
40
- }], titleLogoSrc: [{
41
- type: Input
42
- }], hideTitle: [{
43
- type: Input
44
- }] } });
45
-
46
- class EntryToolbarModule {
47
- }
48
- EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
50
- EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
52
- type: NgModule,
53
- args: [{
54
- declarations: [
55
- EntryToolbarComponent
56
- ],
57
- imports: [
58
- CommonModule
59
- ],
60
- exports: [
61
- EntryToolbarComponent
62
- ]
63
- }]
64
- }] });
65
-
66
- /**
67
- * Generated bundle index. Do not edit.
68
- */
69
-
70
- export { EntryToolbarComponent, EntryToolbarModule };
71
- //# sourceMappingURL=enigmatry-entry-components-toolbar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enigmatry-entry-components-toolbar.mjs","sources":["../../../../libs/entry-components/toolbar/entry-toolbar.component.ts","../../../../libs/entry-components/toolbar/entry-toolbar.component.html","../../../../libs/entry-components/toolbar/entry-toolbar.module.ts","../../../../libs/entry-components/toolbar/enigmatry-entry-components-toolbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.\n * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.\n * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.\n *\n * @example\n * ```html\n * <entry-toolbar\n * titleUri=\"http://www.enigmatry.com\"\n * titleLogoSrc=\"assets/enigmatry-logo.png\">\n * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->\n * </entry-toolbar>\n * ```\n */\n@Component({\n selector: 'entry-toolbar',\n templateUrl: './entry-toolbar.component.html',\n styleUrls: ['./entry-toolbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryToolbarComponent {\n /** Toolbar title positioned in the left side */\n @Input() title: string;\n /** Url to be redirected to if user click on the title (default value '/') */\n @Input() titleUri = '/';\n /** If provided, it replaces string title and renders logo image instead */\n @Input() titleLogoSrc: string | undefined = undefined;\n /** Used to hide the title section if not required (default value false) */\n @Input() hideTitle = false;\n\n menuOpened = false;\n}\n","<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryToolbarComponent } from './entry-toolbar.component';\n\n@NgModule({\n declarations: [\n EntryToolbarComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryToolbarComponent\n ]\n})\nexport class EntryToolbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;;AAUW,QAAA,IAAQ,CAAA,QAAA,GAAG,GAAG,CAAC;;AAEf,QAAA,IAAY,CAAA,YAAA,GAAuB,SAAS,CAAC;;AAE7C,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;AAE3B,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK,CAA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AAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAT3B,YAAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGZ,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAN3B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,41 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
-
5
- class EntryHeaderComponent {
6
- }
7
- EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
- EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryHeaderComponent, selector: "entry-header", inputs: { title: "title" }, ngImport: i0, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'entry-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>" }]
12
- }], propDecorators: { title: [{
13
- type: Input
14
- }] } });
15
-
16
- class EntryHeaderModule {
17
- }
18
- EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
20
- EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, decorators: [{
22
- type: NgModule,
23
- args: [{
24
- declarations: [
25
- EntryHeaderComponent
26
- ],
27
- imports: [
28
- CommonModule
29
- ],
30
- exports: [
31
- EntryHeaderComponent
32
- ]
33
- }]
34
- }] });
35
-
36
- /**
37
- * Generated bundle index. Do not edit.
38
- */
39
-
40
- export { EntryHeaderComponent, EntryHeaderModule };
41
- //# sourceMappingURL=enigmatry-entry-components-header.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enigmatry-entry-components-header.mjs","sources":["../../../../libs/entry-components/header/entry-header.component.ts","../../../../libs/entry-components/header/entry-header.component.html","../../../../libs/entry-components/header/entry-header.module.ts","../../../../libs/entry-components/header/enigmatry-entry-components-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'entry-header',\n templateUrl: './entry-header.component.html',\n styleUrls: ['./entry-header.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryHeaderComponent {\n @Input() title: string;\n}\n","<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryHeaderComponent } from './entry-header.component';\n\n@NgModule({\n declarations: [\n EntryHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryHeaderComponent\n ]\n})\nexport class EntryHeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,gFCRjC,qRAQS,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDAI,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;+BACE,cAAc,EAAA,eAAA,EAGP,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qRAAA,EAAA,CAAA;8BAGtC,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MEMK,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAT1B,YAAA,EAAA,CAAA,oBAAoB,CAGpB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAGX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAN1B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,71 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
-
6
- /**
7
- * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
8
- * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
9
- * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
10
- *
11
- * @example
12
- * ```html
13
- * <entry-toolbar
14
- * titleUri="http://www.enigmatry.com"
15
- * titleLogoSrc="assets/enigmatry-logo.png">
16
- * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
17
- * </entry-toolbar>
18
- * ```
19
- */
20
- class EntryToolbarComponent {
21
- constructor() {
22
- /** Url to be redirected to if user click on the title (default value '/') */
23
- this.titleUri = '/';
24
- /** If provided, it replaces string title and renders logo image instead */
25
- this.titleLogoSrc = undefined;
26
- /** Used to hide the title section if not required (default value false) */
27
- this.hideTitle = false;
28
- this.menuOpened = false;
29
- }
30
- }
31
- EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
36
- }], propDecorators: { title: [{
37
- type: Input
38
- }], titleUri: [{
39
- type: Input
40
- }], titleLogoSrc: [{
41
- type: Input
42
- }], hideTitle: [{
43
- type: Input
44
- }] } });
45
-
46
- class EntryToolbarModule {
47
- }
48
- EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
50
- EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
52
- type: NgModule,
53
- args: [{
54
- declarations: [
55
- EntryToolbarComponent
56
- ],
57
- imports: [
58
- CommonModule
59
- ],
60
- exports: [
61
- EntryToolbarComponent
62
- ]
63
- }]
64
- }] });
65
-
66
- /**
67
- * Generated bundle index. Do not edit.
68
- */
69
-
70
- export { EntryToolbarComponent, EntryToolbarModule };
71
- //# sourceMappingURL=enigmatry-entry-components-toolbar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enigmatry-entry-components-toolbar.mjs","sources":["../../../../libs/entry-components/toolbar/entry-toolbar.component.ts","../../../../libs/entry-components/toolbar/entry-toolbar.component.html","../../../../libs/entry-components/toolbar/entry-toolbar.module.ts","../../../../libs/entry-components/toolbar/enigmatry-entry-components-toolbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.\n * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.\n * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.\n *\n * @example\n * ```html\n * <entry-toolbar\n * titleUri=\"http://www.enigmatry.com\"\n * titleLogoSrc=\"assets/enigmatry-logo.png\">\n * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->\n * </entry-toolbar>\n * ```\n */\n@Component({\n selector: 'entry-toolbar',\n templateUrl: './entry-toolbar.component.html',\n styleUrls: ['./entry-toolbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryToolbarComponent {\n /** Toolbar title positioned in the left side */\n @Input() title: string;\n /** Url to be redirected to if user click on the title (default value '/') */\n @Input() titleUri = '/';\n /** If provided, it replaces string title and renders logo image instead */\n @Input() titleLogoSrc: string | undefined = undefined;\n /** Used to hide the title section if not required (default value false) */\n @Input() hideTitle = false;\n\n menuOpened = false;\n}\n","<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryToolbarComponent } from './entry-toolbar.component';\n\n@NgModule({\n declarations: [\n EntryToolbarComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryToolbarComponent\n ]\n})\nexport class EntryToolbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;;QAUW,IAAQ,CAAA,QAAA,GAAG,GAAG,CAAC;;QAEf,IAAY,CAAA,YAAA,GAAuB,SAAS,CAAC;;QAE7C,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAE3B,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;AACpB,KAAA;;kHAXY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAA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AA,CAAA;AAGZ,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAN3B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
package/header/README.md DELETED
@@ -1,41 +0,0 @@
1
- # Entry Header
2
-
3
- Simple way of providing header layout and styling for the page or section header.
4
-
5
- ## Integration
6
-
7
- ```npm
8
- npm i @enigmatry/entry-components
9
- ```
10
-
11
- Import component package:
12
-
13
- ```ts
14
- import { EntryHeaderModule } from '@enigmatry/entry-components/entry-header';
15
- ```
16
-
17
- Styles import:
18
-
19
- ```scss
20
- @use 'entry-components/styles/generate' as entry;
21
-
22
- @include entry.generate(APP_THEME, APP_TYPOGRAPHY);
23
- ```
24
-
25
- Where `APP_THEME` represents application theming configuration, while `APP_TYPOGRAPHY` represents application fonts configuration.
26
-
27
- ## Basic usage
28
-
29
- `entry-header` is used to provide standard layout and styles:
30
-
31
- ```html
32
- <entry-header [title]="'Title here'">
33
- <div buttons>
34
- <button mat-raised-button color="primary">Add new</button>
35
- <button mat-raised-button color="accent">Other action</button>
36
- </div>
37
- <div content>
38
- Content goes here...
39
- </div>
40
- </entry-header>
41
- ```
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class EntryHeaderComponent {
3
- title: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<EntryHeaderComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<EntryHeaderComponent, "entry-header", never, { "title": "title"; }, {}, never, ["[buttons]", "[content]"], false, never>;
6
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./entry-header.component";
3
- import * as i2 from "@angular/common";
4
- export declare class EntryHeaderModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EntryHeaderModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<EntryHeaderModule, [typeof i1.EntryHeaderComponent], [typeof i2.CommonModule], [typeof i1.EntryHeaderComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<EntryHeaderModule>;
8
- }
@@ -1,2 +0,0 @@
1
- export { EntryHeaderComponent } from './entry-header.component';
2
- export { EntryHeaderModule } from './entry-header.module';
@@ -1,45 +0,0 @@
1
- @use 'sass:map';
2
-
3
- @mixin -generate($border-value, $theme) {
4
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
- .mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
6
- border: $border-value;
7
- }
8
-
9
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
10
- .mat-form-field-outline-start, .mat-form-field-outline-gap {
11
- border-right-style: map.get($theme, 'forms', 'fields', 'outline', 'border-right');
12
- }
13
-
14
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
15
- .mat-form-field-outline-end, .mat-form-field-outline-gap {
16
- border-left-style: map.get($theme, 'forms', 'fields', 'outline', 'border-left');
17
- }
18
- }
19
-
20
- @mixin generate-from($theme) {
21
- @include -generate(map.get($theme, 'forms', 'fields', 'outline', 'border'), $theme);
22
-
23
- &.mat-focused, &:hover {
24
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
25
- .mat-form-field-outline {
26
- border-bottom: map.get($theme, 'forms', 'fields', 'outline', 'border-hover');
27
- }
28
-
29
- @include -generate(transparent, $theme);
30
- }
31
-
32
- &.mat-form-field-disabled {
33
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
34
- .mat-form-field-outline {
35
- background-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-background');
36
- }
37
-
38
- &:hover {
39
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
40
- .mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
41
- border-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-hover');
42
- }
43
- }
44
- }
45
- }
@@ -1,26 +0,0 @@
1
- @use 'sass:map';
2
-
3
- @mixin generate-from($theme) {
4
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
- .mat-form-field-label {
6
- color: map.get($theme, 'forms', 'fields', 'label-color');
7
- }
8
-
9
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
10
- .mat-form-field-infix {
11
- padding: {
12
- top: map.get($theme, 'forms', 'fields', 'infix-padding-top');
13
- bottom: map.get($theme, 'forms', 'fields', 'infix-padding-bottom');
14
- }
15
- }
16
-
17
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
18
- .mat-form-field-flex {
19
- background-color: map.get($theme, 'general', 'inputs', 'background-color');
20
- }
21
-
22
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
23
- .mat-form-field-underline {
24
- display: map.get($theme, 'forms', 'fields', 'underline-display');
25
- }
26
- }
@@ -1,9 +0,0 @@
1
- @use 'field-outlines';
2
- @use 'form-fields';
3
-
4
- @mixin generate-from($theme) {
5
- .mat-form-field-appearance-outline {
6
- @include field-outlines.generate-from($theme);
7
- @include form-fields.generate-from($theme);
8
- }
9
- }
@@ -1,55 +0,0 @@
1
- @use 'sass:map';
2
-
3
- @mixin generate-from($theme) {
4
- .mat-checkbox {
5
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
6
- .mat-checkbox-inner-container {
7
- width: map.get($theme, 'forms', 'checkboxes', 'width');
8
- height: map.get($theme, 'forms', 'checkboxes', 'height');
9
- background-color: map.get($theme, 'forms', 'checkboxes', 'background-color');
10
- }
11
-
12
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
13
- .mat-checkbox-label {
14
- white-space: map.get($theme, 'forms', 'checkboxes', 'label-breaking');
15
- }
16
-
17
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
18
- .mat-checkbox-frame {
19
- border: map.get($theme, 'forms', 'checkboxes', 'border');
20
- border-radius: map.get($theme, 'forms', 'checkboxes', 'border-radius');
21
- }
22
-
23
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
24
- .mat-checkbox-checkmark-path {
25
- /* stylelint-disable-next-line declaration-no-important */
26
- stroke: map.get($theme, 'forms', 'checkboxes', 'checkmark-color') !important;
27
- }
28
-
29
- &:hover {
30
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
31
- .mat-checkbox-frame {
32
- border: map.get($theme, 'forms', 'checkboxes', 'border-hover');
33
- }
34
- }
35
-
36
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
37
- &.mat-checkbox-checked {
38
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
39
- .mat-checkbox-background {
40
- background-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
41
-
42
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
43
- .mat-checkbox-checkmark-path {
44
- /* stylelint-disable-next-line declaration-no-important */
45
- stroke: map.get($theme, 'forms', 'checkboxes', 'selected-checkmark-color') !important;
46
- }
47
- }
48
-
49
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
50
- .mat-checkbox-frame {
51
- border-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
52
- }
53
- }
54
- }
55
- }
@@ -1,39 +0,0 @@
1
- @use 'sass:map';
2
-
3
- @mixin generate-from($theme) {
4
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
- .mat-radio-group {
6
-
7
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
8
- .mat-radio-label {
9
- align-items: map.get($theme, 'forms', 'radio-buttons', 'align');
10
- white-space: map.get($theme, 'forms', 'radio-buttons', 'white-space');
11
- }
12
-
13
- $background: map.get($theme, 'general', 'inputs', 'background-color');
14
-
15
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
16
- .mat-radio-button {
17
-
18
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
19
- .mat-radio-outer-circle {
20
- border-color: $background;
21
- background-color: $background;
22
- }
23
-
24
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
25
- &.mat-radio-checked {
26
-
27
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
28
- .mat-radio-outer-circle {
29
- border-color: $background;
30
- }
31
-
32
- /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
33
- .mat-radio-inner-circle {
34
- background-color: map.get($theme, 'general', 'colors', 'primary');
35
- }
36
- }
37
- }
38
- }
39
- }