@coolon/angular-ui-powerups 3.17.3 → 3.18.1

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 (59) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/assets/activities.scss +67 -9
  3. package/assets/form.scss +2 -0
  4. package/assets/interaction.scss +2 -0
  5. package/assets/mixins.scss +6 -5
  6. package/assets/styles.scss +32 -15
  7. package/assets/table.scss +1 -1
  8. package/bundles/coolon-angular-ui-powerups.umd.js +54 -31
  9. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  10. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  11. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  12. package/coolon-angular-ui-powerups.metadata.json +1 -1
  13. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  14. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  15. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  16. package/esm2015/lib/interaction/components/activity-body/activity-body.component.html.shim.ngstyle.js.map +1 -0
  17. package/esm2015/lib/interaction/components/activity-body/activity-body.component.js +21 -0
  18. package/esm2015/lib/interaction/components/activity-body/activity-body.component.js.map +1 -0
  19. package/esm2015/lib/interaction/components/{activity-content → activity-body}/activity-body.component.metadata.json +1 -1
  20. package/esm2015/lib/interaction/components/activity-body/activity-body.component.ngfactory.js.map +1 -0
  21. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +22 -13
  22. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js.map +1 -1
  23. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  24. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
  25. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  26. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  27. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +5 -2
  28. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  29. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  30. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +5 -2
  31. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  32. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  33. package/esm2015/lib/interaction/exports.js +1 -1
  34. package/esm2015/lib/interaction/exports.js.map +1 -1
  35. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  36. package/esm2015/lib/interaction/interaction.module.js +1 -1
  37. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  38. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  39. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  40. package/fesm2015/coolon-angular-ui-powerups.js +39 -30
  41. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  42. package/lib/interaction/components/{activity-content → activity-body}/activity-body.component.d.ts +1 -0
  43. package/lib/interaction/components/activity-title/activity-title.component.d.ts +11 -0
  44. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -0
  45. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -0
  46. package/lib/interaction/exports.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/schematics/bootstrap-app/templates/styles/global-variables.scss.template +1 -0
  49. package/schematics/bootstrap-app/templates/styles.scss.template +10 -3
  50. package/schematics/place-add/index.js +7 -10
  51. package/schematics/place-add/index.js.map +1 -1
  52. package/schematics/utils/template-utilities.js +1 -9
  53. package/schematics/utils/template-utilities.js.map +1 -1
  54. package/assets/typography.scss +0 -5
  55. package/esm2015/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.js.map +0 -1
  56. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js +0 -26
  57. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js.map +0 -1
  58. package/esm2015/lib/interaction/components/activity-content/activity-body.component.ngfactory.js.map +0 -1
  59. package/schematics/bootstrap-app/templates/styles/theme.scss.template +0 -37
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DisposableComponent } from '../../../components/disposable-component';
3
3
  export declare class ActivityBodyComponent extends DisposableComponent implements OnInit {
4
+ fullWidth: boolean;
4
5
  ngOnInit(): void;
5
6
  }
@@ -1,5 +1,16 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { ThemePalette } from '@angular/material/core';
2
3
  import { DisposableComponent } from '../../../components/disposable-component';
3
4
  export declare class ActivityTitleComponent extends DisposableComponent implements OnInit {
5
+ private _color;
6
+ private _hasUserTransparentBackground;
7
+ /**
8
+ * Adjusts layout to ensure the title and body are cleanly separated with even
9
+ * gaps for teh case where the title component has a painted background.
10
+ */
11
+ set hasTransparentBackground(value: boolean);
12
+ get hasTransparentBackground(): boolean;
13
+ set color(color: ThemePalette);
14
+ get color(): ThemePalette;
4
15
  ngOnInit(): void;
5
16
  }
@@ -10,6 +10,7 @@ export declare class ConfirmThenDialogComponent<D, R, E> extends Activity<Confir
10
10
  constructor(config: ConfirmThenDialogComponent.Data<D, R, E>);
11
11
  ngOnInit(): void;
12
12
  get confirm(): Confirm;
13
+ get titleColor(): string;
13
14
  isDestructive(): boolean;
14
15
  }
15
16
  export declare namespace ConfirmThenDialogComponent {
@@ -8,5 +8,6 @@ export declare class ConfirmationDialogComponent extends Activity<Confirm, void>
8
8
  readonly cancelFace: CommandFace;
9
9
  constructor(confirm: Confirm);
10
10
  ngOnInit(): void;
11
+ get titleColor(): string;
11
12
  isDestructive(): boolean;
12
13
  }
@@ -11,9 +11,9 @@ export * from "./interaction.module";
11
11
  export * from "./result";
12
12
  export * from "./route-synchronisation-adapter";
13
13
  export * from "./components/activity-actions/activity-actions.component";
14
+ export * from "./components/activity-body/activity-body.component";
14
15
  export * from "./components/activity-container/activity-container.component";
15
16
  export * from "./components/activity-container/activity-outlet/activity-outlet.component";
16
- export * from "./components/activity-content/activity-body.component";
17
17
  export * from "./components/activity-title/activity-title.component";
18
18
  export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
19
19
  export * from "./components/alert-dialog/alert-dialog.component";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "3.17.3",
3
+ "version": "3.18.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",
@@ -10,3 +10,4 @@
10
10
  --sub-header-height: 48px;
11
11
  }
12
12
 
13
+
@@ -1,10 +1,17 @@
1
1
  /* You can add global styles to this file, and also import other style files */
2
2
 
3
+ @use '~@angular/material/theming' as ng;
4
+ @use "~@coolon/angular-ui-powerups/assets/styles" as aup;
5
+ @use "./styles/global-variables";
6
+
7
+ $primary: ng.mat-palette(ng.$mat-indigo);
8
+ $accent: ng.mat-palette(ng.$mat-pink);
9
+
10
+ @include aup.apply-light-theme($primary, $accent);
11
+
3
12
  @import "./assets/fonts/material-design-icons/material-icons.css";
4
13
  @import "~roboto-fontface/css/roboto/roboto-fontface.css";
5
- @import "./styles/theme";
6
- @import "./styles/global-variables";
7
- @import "~@coolon/angular-ui-powerups/assets/styles";
14
+
8
15
 
9
16
  html, body {
10
17
  height: 100%;
@@ -16,8 +16,12 @@ function addPlace(_options) {
16
16
  if (!placeModulePath) {
17
17
  throw new Error(`Places must be created in or under a directory containing a 'places.module.ts'. I couldn't find one in ${pathToSourceRoot.join('/')} or in any ancestor of it. You can run ng g @coolon/angular-ui-powerups:place-bootstrap --dir=<directory> to initialise one`);
18
18
  }
19
- const placeModule = buildContext.getSourceFile(placeModulePath);
20
- const newPlaceModuleContent = updatePlaceModule(placeModule);
19
+ // we'll let angular do it by just create a default component then we'll clobber it with our real templates later.
20
+ const updateModule = schematics_1.externalSchematic('@schematics/angular', 'component', {
21
+ project: _options.project,
22
+ name: _options.name,
23
+ module: placeModulePath.slice(buildContext.sourceCodeRoot.length)
24
+ });
21
25
  const componentFiles = template_utilities_1.applyTemplatesWithOverwrite(tree, 'templates/component', {
22
26
  name: componentName,
23
27
  selectorPrefix: buildContext.selectorPrefix,
@@ -26,15 +30,8 @@ function addPlace(_options) {
26
30
  const additionalFiles = template_utilities_1.applyTemplatesWithOverwrite(tree, 'templates/files', {
27
31
  name: componentName
28
32
  }, buildContext.sourceRoot);
29
- return schematics_1.chain([componentFiles, additionalFiles])(tree, context);
33
+ return schematics_1.chain([updateModule, componentFiles, additionalFiles])(tree, context);
30
34
  };
31
35
  }
32
36
  exports.addPlace = addPlace;
33
- function updatePlaceModule(placeModule) {
34
- // TODO: Make this work.
35
- // const imports = placeModule.getImportDeclarations();
36
- const moduleClass = placeModule.findClassWithDecorator('@NgModule');
37
- const decorator = moduleClass.getClassDecoratorNode('@NgModule');
38
- return placeModule.getFullText();
39
- }
40
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/place-add/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiF;AAGjF,oEAA0E;AAC1E,kDAA+C;AAI/C,SAAgB,QAAQ,CAAC,QAAgB;IAEvC,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAE/C,MAAM,SAAS,GAAG,qBAAS,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAChD,MAAM,YAAY,GAAG,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAEhE,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC3C,MAAM,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACtD,MAAM,kB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C,OAAO;YACzB,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,MAAM,CAAC;SAClE,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,gDAA2B,CAChD,IAAI,EACJ,qBAAqB,EACrB;YACE,IAAI,EAAE,aAAa;YACnB,cAAc,EAAE,YAAY,CAAC,cAAc;YAC3C,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;SACtD,EACD,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,aAAa,EAAE,CACnD,CAAC;QAGF,MAAM,eAAe,GAAG,gDAA2B,CACjD,IAAI,EACJ,iBAAiB,EACjB;YACE,IAAI,EAAE,aAAa;SACpB,EACD,YAAY,CAAC,UAAU,CAAC,CAAC;QAE3B,OAAO,kBAAK,CAAC,CAAC,YAAY,EAAE,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAE/E,CAAC,CAAC;AAEJ,CAAC;AA9CD,4BA8CC"}
@@ -9,16 +9,8 @@ function applyTemplatesWithOverwrite(tree, templateUrl, templateData, outDir) {
9
9
  const newFiles = schematics_1.apply(schematics_1.url(templateUrl), [
10
10
  schematics_1.applyTemplates(Object.assign(Object.assign({}, templateData), core_1.strings)),
11
11
  schematics_1.move(`${outDir}`),
12
- // @see https://github.com/angular/angular-cli/issues/11337#issuecomment-448259549
13
- schematics_1.forEach((fileEntry) => {
14
- // this.context.logger.info(fileEntry.path);
15
- if (tree.exists(fileEntry.path)) {
16
- tree.overwrite(fileEntry.path, fileEntry.content);
17
- }
18
- return fileEntry;
19
- })
20
12
  ]);
21
- return schematics_1.mergeWith(newFiles);
13
+ return schematics_1.mergeWith(newFiles, schematics_1.MergeStrategy.Overwrite);
22
14
  }
23
15
  exports.applyTemplatesWithOverwrite = applyTemplatesWithOverwrite;
24
16
  //# sourceMappingURL=template-utilities.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-utilities.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/template-utilities.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAUoC;AAEpC,SAAgB,2BAA2B,CAAC,IAAU,EAAE,WAAmB,EAAE,YAAoB,EAAE,MAAc;IAC/G,uFAAuF;IACvF,2CAA2C;IAC3C,MAAM,QAAQ,GAAG,kBAAK,CACpB,gBAAG,CAAC,WAAW,CAAC,EAChB;QACE,2BAAc,iCACT,YAAY,GACZ,cAAO,EACV;QACF,iBAAI,CAAC,GAAG,MAAM,EAAE,CAAC;QACjB,kFAAkF;QAClF,oBAAO,CAAC,CAAC,SAAoB,EAAE,EAAE;YAC/B,4CAA4C;YAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;gBAC/B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;aACnD;YACD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;KACH,CAAC,CAAC;IACL,OAAO,sBAAS,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;AArBD,kEAqBC"}
1
+ {"version":3,"file":"template-utilities.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/template-utilities.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAWoC;AAEpC,SAAgB,2BAA2B,CAAC,IAAU,EAAE,WAAmB,EAAE,YAAoB,EAAE,MAAc;IAC/G,uFAAuF;IACvF,2CAA2C;IAC3C,MAAM,QAAQ,GAAG,kBAAK,CACpB,gBAAG,CAAC,WAAW,CAAC,EAChB;QACE,2BAAc,iCACT,YAAY,GACZ,cAAO,EACV;QACF,iBAAI,CAAC,GAAG,MAAM,EAAE,CAAC;KASlB,CAAC,CAAC;IACL,OAAO,sBAAS,CAAC,QAAQ,EAAE,0BAAa,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AArBD,kEAqBC"}
@@ -1,5 +0,0 @@
1
- @import "~@angular/material/theming";
2
-
3
- // Create a config with the default typography levels.
4
- $typographyConfig: mat-typography-config();
5
-
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.html.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,26 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { DisposableComponent } from '../../../components/disposable-component';
3
- export class ActivityBodyComponent extends DisposableComponent {
4
- // @Input()
5
- // align: 'start' | 'end' | 'stretch' = 'start';
6
- //
7
- // @HostBinding('class.align-end')
8
- // get alignEnd():boolean {
9
- // return this.align === 'end'
10
- // }
11
- //
12
- // @HostBinding('class.align-stretch')
13
- // get alignStretch():boolean {
14
- // return this.align === 'stretch'
15
- // }
16
- ngOnInit() {
17
- }
18
- }
19
- ActivityBodyComponent.decorators = [
20
- { type: Component, args: [{
21
- selector: 'aup-activity-body',
22
- template: "<ng-content></ng-content>\n",
23
- styles: ["<ng-content></ng-content>\n"]
24
- },] }
25
- ];
26
- //# sourceMappingURL=activity-body.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA8B,MAAM,eAAe,CAAC;AAItE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAO/E,MAAM,OAAO,qBAAsB,SAAQ,mBAAmB;IAE5D,WAAW;IACX,gDAAgD;IAChD,EAAE;IACF,kCAAkC;IAClC,2BAA2B;IAC3B,gCAAgC;IAChC,IAAI;IACJ,EAAE;IACF,sCAAsC;IACtC,+BAA+B;IAC/B,oCAAoC;IACpC,IAAI;IAEJ,QAAQ;IACR,CAAC;;;YArBF,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,uCAA6C;;aAE9C","sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { Command, DelegatingCommand, TrackExternal } from '@coolon/pectin';\nimport _ from 'lodash';\nimport { CommandFace } from '../../../components/commands/command-face';\nimport { DisposableComponent } from '../../../components/disposable-component';\n\n@Component({\n selector: 'aup-activity-body',\n templateUrl: './activity-body.component.html',\n styleUrls: ['./activity-body.component.html'],\n})\nexport class ActivityBodyComponent extends DisposableComponent implements OnInit {\n\n // @Input()\n // align: 'start' | 'end' | 'stretch' = 'start';\n //\n // @HostBinding('class.align-end')\n // get alignEnd():boolean {\n // return this.align === 'end'\n // }\n //\n // @HostBinding('class.align-stretch')\n // get alignStretch():boolean {\n // return this.align === 'stretch'\n // }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,37 +0,0 @@
1
- @import '~@angular/material/theming';
2
- // Plus imports for other components in your app.
3
-
4
- // Include the common styles for Angular Material. We include this here so that you only
5
- // have to load a single css file for Angular Material in your app.
6
- // Be sure that you only ever include this mixin once!
7
- @include mat-core();
8
-
9
- // Define the palettes for your theme using the Material Design palettes available in palette.scss
10
- // (imported above). For each palette, you can optionally specify a default, lighter, and darker
11
- // hue. Available color palettes: https://material.io/design/color/
12
- $tester-app-primary: mat-palette($mat-indigo);
13
- $tester-app-accent: mat-palette($mat-pink, A200, A100, A400);
14
-
15
- // The warn palette is optional (defaults to red).
16
- $tester-app-warn: mat-palette($mat-red);
17
-
18
- // Create the theme object (a Sass map containing all of the palettes).
19
- $tester-app-theme: mat-light-theme($tester-app-primary, $tester-app-accent, $tester-app-warn);
20
-
21
- // Include theme styles for core and each component used in your app.
22
- // Alternatively, you can import and @include the theme mixins for each component
23
- // that you are using.
24
- @include angular-material-theme($tester-app-theme);
25
-
26
- :root {
27
- --theme-primary-color: #{mat-color(map-get($tester-app-theme, primary))};
28
- --theme-forground-color: #{mat-color(map-get($tester-app-theme, foreground))};
29
- --theme-background-color: #{mat-color(map-get($tester-app-theme, background))};
30
- --theme-warn-color: #{mat-color(map-get($tester-app-theme, warn))};
31
- //--theme-warn-background-color: #{mat-color(map-get($tester-app-theme, warn))};
32
- --theme-warn-background-color: #{mat-color(map-get($tester-app-theme, warn), 0.4)};
33
- --theme-warn-color-default-contrast: #{mat-color(map-get($tester-app-theme, warn), default-contrast)};
34
- --theme-selected-item-background-color: #{mat-color(map-get($tester-app-theme, primary), 0.15)};
35
- --theme-selected-item-border-color: #{mat-color(map-get($tester-app-theme, primary), 0.6)};
36
- --theme-selected-item-background-hover-color: #{mat-color(map-get($tester-app-theme, primary), 0.05)};
37
- }