@coolon/angular-ui-powerups 11.0.0-alpha.17 → 11.0.0-alpha.2

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 (144) hide show
  1. package/assets/table.scss +6 -13
  2. package/bundles/coolon-angular-ui-powerups.umd.js +104 -266
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  8. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  9. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  10. package/esm2015/lib/components/commands/command/command.component.js +1 -5
  11. package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
  12. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  13. package/esm2015/lib/components/components.module.js +3 -0
  14. package/esm2015/lib/components/components.module.js.map +1 -1
  15. package/esm2015/lib/components/components.module.metadata.json +1 -1
  16. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  17. package/esm2015/lib/components/table/column-model.js +1 -2
  18. package/esm2015/lib/components/table/column-model.js.map +1 -1
  19. package/esm2015/lib/components/table/column-model.metadata.json +1 -1
  20. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +1 -1
  21. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  22. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
  23. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  24. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.metadata.json +1 -1
  25. package/esm2015/lib/components/table/table-model.js +0 -9
  26. package/esm2015/lib/components/table/table-model.js.map +1 -1
  27. package/esm2015/lib/components/table/table-model.metadata.json +1 -1
  28. package/esm2015/lib/components/table/table.component.js +3 -30
  29. package/esm2015/lib/components/table/table.component.js.map +1 -1
  30. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  31. package/esm2015/lib/components/track-by.js +1 -5
  32. package/esm2015/lib/components/track-by.js.map +1 -1
  33. package/esm2015/lib/components/tree-table/decorated-tree-node.js +22 -19
  34. package/esm2015/lib/components/tree-table/decorated-tree-node.js.map +1 -1
  35. package/esm2015/lib/components/tree-table/tree-table-component.js +4 -21
  36. package/esm2015/lib/components/tree-table/tree-table-component.js.map +1 -1
  37. package/esm2015/lib/components/tree-table/tree-table-component.metadata.json +1 -1
  38. package/esm2015/lib/directives/directives.module.js +2 -8
  39. package/esm2015/lib/directives/directives.module.js.map +1 -1
  40. package/esm2015/lib/directives/directives.module.metadata.json +1 -1
  41. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  42. package/esm2015/lib/directives/exports.js +0 -2
  43. package/esm2015/lib/directives/exports.js.map +1 -1
  44. package/esm2015/lib/directives/exports.metadata.json +1 -1
  45. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  46. package/esm2015/lib/place/components/abstract-place-navigation.component.js +11 -21
  47. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  48. package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +1 -1
  49. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  50. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  51. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  52. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +14 -23
  53. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  54. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  55. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
  56. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
  57. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  58. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  59. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  60. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  61. package/esm2015/lib/place/exports.js +0 -1
  62. package/esm2015/lib/place/exports.js.map +1 -1
  63. package/esm2015/lib/place/exports.metadata.json +1 -1
  64. package/esm2015/lib/place/guards/place.guard.js +8 -5
  65. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  66. package/esm2015/lib/place/navigation/place-component-deactivation-handler.js +0 -2
  67. package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
  68. package/esm2015/lib/place/place-component.js +3 -1
  69. package/esm2015/lib/place/place-component.js.map +1 -1
  70. package/esm2015/lib/place/place-component.metadata.json +1 -1
  71. package/esm2015/lib/place/place-router.js +4 -15
  72. package/esm2015/lib/place/place-router.js.map +1 -1
  73. package/esm2015/lib/place/place-router.metadata.json +1 -1
  74. package/esm2015/lib/place/place.module.js +2 -6
  75. package/esm2015/lib/place/place.module.js.map +1 -1
  76. package/esm2015/lib/place/place.module.metadata.json +1 -1
  77. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  78. package/fesm2015/coolon-angular-ui-powerups.js +84 -238
  79. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  80. package/lib/components/commands/command/command.component.d.ts +1 -2
  81. package/lib/components/table/column-model.d.ts +0 -1
  82. package/lib/components/table/table-model.d.ts +0 -9
  83. package/lib/components/table/table.component.d.ts +6 -24
  84. package/lib/components/track-by.d.ts +1 -3
  85. package/lib/components/tree-table/tree-table-component.d.ts +0 -9
  86. package/lib/directives/exports.d.ts +0 -2
  87. package/lib/place/components/abstract-place-navigation.component.d.ts +2 -9
  88. package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -10
  89. package/lib/place/exports.d.ts +0 -1
  90. package/lib/place/place-component.d.ts +1 -1
  91. package/lib/place/place-router.d.ts +6 -10
  92. package/package.json +1 -1
  93. package/schematics/aup-i18n/index.js +28 -8
  94. package/schematics/aup-i18n/index.js.map +1 -1
  95. package/schematics/aup-i18n/templates/i18n/aup/components.yml.template +69 -0
  96. package/schematics/bootstrap-app/index.js +4 -5
  97. package/schematics/bootstrap-app/index.js.map +1 -1
  98. package/schematics/bootstrap-app/templates/{i18n.config.json.template → i18n/config.json.template} +0 -2
  99. package/schematics/bootstrap-app/templates/i18n/notifications.yml.template +19 -0
  100. package/schematics/ng-add/index.js +2 -2
  101. package/schematics/ng-add/index.js.map +1 -1
  102. package/schematics/place-add/index.js +5 -4
  103. package/schematics/place-add/index.js.map +1 -1
  104. package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +1 -3
  105. package/schematics/place-add/templates/files/i18n/places/__name@dasherize__.yml.template +7 -0
  106. package/schematics/utils/build-context.d.ts +5 -4
  107. package/schematics/utils/workspace.d.ts +4 -3
  108. package/schematics/utils/workspace.js.map +1 -1
  109. package/esm2015/lib/directives/highlight-text-model.directive.js +0 -20
  110. package/esm2015/lib/directives/highlight-text-model.directive.js.map +0 -1
  111. package/esm2015/lib/directives/highlight-text-model.directive.metadata.json +0 -1
  112. package/esm2015/lib/directives/highlight-text-model.directive.ngfactory.js.map +0 -1
  113. package/esm2015/lib/directives/highlight.pipe.js +0 -43
  114. package/esm2015/lib/directives/highlight.pipe.js.map +0 -1
  115. package/esm2015/lib/directives/highlight.pipe.metadata.json +0 -1
  116. package/esm2015/lib/directives/highlight.pipe.ngfactory.js.map +0 -1
  117. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +0 -14
  118. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js.map +0 -1
  119. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +0 -1
  120. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.ngfactory.js.map +0 -1
  121. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.scss.shim.ngstyle.js.map +0 -1
  122. package/lib/directives/highlight-text-model.directive.d.ts +0 -5
  123. package/lib/directives/highlight.pipe.d.ts +0 -11
  124. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -3
  125. package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
  126. package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
  127. /package/schematics/bootstrap-app/templates/{src/app → app}/app-routing.module.ts.template +0 -0
  128. /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.html.template +0 -0
  129. /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.scss.template +0 -0
  130. /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.ts.template +0 -0
  131. /package/schematics/bootstrap-app/templates/{src/app → app}/app.module.ts.template +0 -0
  132. /package/schematics/bootstrap-app/templates/{src/app → app}/i18n.ts.template +0 -0
  133. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
  134. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -0
  135. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -0
  136. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
  137. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
  138. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
  139. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/README.md +0 -0
  140. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/codepoints +0 -0
  141. /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/material-icons.css +0 -0
  142. /package/schematics/bootstrap-app/templates/{src/index.html.template → index.html.template} +0 -0
  143. /package/schematics/bootstrap-app/templates/{src/styles → styles}/global-variables.scss.template +0 -0
  144. /package/schematics/bootstrap-app/templates/{src/styles.scss.template → styles.scss.template} +0 -0
@@ -1,11 +1,12 @@
1
+ import { experimental } from '@angular-devkit/core';
1
2
  import { SchematicContext, Tree } from '@angular-devkit/schematics';
2
3
  import { BuildContext } from './build-context';
3
4
  export declare class Workspace {
4
- readonly schema: any;
5
+ readonly schema: experimental.workspace.WorkspaceSchema;
5
6
  readonly tree: Tree;
6
7
  readonly context: SchematicContext;
7
- get defaultProject(): any;
8
- constructor(schema: any, tree: Tree, context: SchematicContext);
8
+ get defaultProject(): string;
9
+ constructor(schema: experimental.workspace.WorkspaceSchema, tree: Tree, context: SchematicContext);
9
10
  static load(tree: Tree, _context: SchematicContext): Workspace;
10
11
  getApplication(projectName: string): BuildContext.App;
11
12
  getApplicationOrDefault(projectName: string | undefined): BuildContext.App;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/workspace.ts"],"names":[],"mappings":";;;AAEA,mDAA+C;AAE/C,MAAa,SAAS;IAMpB,YAAqB,MAAW,EAAW,IAAU,EAAW,OAAyB;QAApE,WAAM,GAAN,MAAM,CAAK;QAAW,SAAI,GAAJ,IAAI,CAAM;QAAW,YAAO,GAAP,OAAO,CAAkB;IACzF,CAAC;IALD,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;IACpC,CAAC;IAKD,MAAM,CAAC,IAAI,CAAC,IAAU,EAAE,QAA0B;QAChD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,gDAAgD,CA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olon/pectin';
4
- export class HighlightTextModelDirective {
5
- constructor() { }
6
- }
7
- HighlightTextModelDirective.decorators = [
8
- { type: Directive, args: [{
9
- selector: '[aupHighlightTextModel]'
10
- },] }
11
- ];
12
- HighlightTextModelDirective.ctorParameters = () => [];
13
- HighlightTextModelDirective.propDecorators = {
14
- aupHighlightTextModel: [{ type: Input }]
15
- };
16
- __decorate([
17
- TrackExternal(),
18
- __metadata("design:type", ValueModel)
19
- ], HighlightTextModelDirective.prototype, "aupHighlightTextModel", void 0);
20
- //# sourceMappingURL=highlight-text-model.directive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-text-model.directive.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/highlight-text-model.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAK3D,MAAM,OAAO,2BAA2B;IAMtC,gBAAgB,CAAC;;;YATlB,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;aACpC;;;;oCAGE,KAAK;;AAEN;IADC,aAAa,EAAE;8BACO,UAAU;0EAAS","sourcesContent":["import { Directive, Input } from '@angular/core';\nimport { TrackExternal, ValueModel } from '@coolon/pectin';\n\n@Directive({\n selector: '[aupHighlightTextModel]'\n})\nexport class HighlightTextModelDirective {\n\n @Input()\n @TrackExternal()\n aupHighlightTextModel: ValueModel<string>;\n\n constructor() { }\n\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"HighlightTextModelDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":3,"character":1},"arguments":[{"selector":"[aupHighlightTextModel]"}]}],"members":{"aupHighlightTextModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-text-model.directive.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/highlight-text-model.directive.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,43 +0,0 @@
1
- import { Optional, Pipe } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { GarbageCollector } from '@coolon/pectin';
4
- import _ from 'lodash';
5
- import { HighlightTextModelDirective } from './highlight-text-model.directive';
6
- export class HighlightPipe extends GarbageCollector {
7
- constructor(sanitizer, highlightContext) {
8
- super();
9
- this.sanitizer = sanitizer;
10
- this.highlightContext = highlightContext;
11
- }
12
- ngOnDestroy() {
13
- this.dispose();
14
- }
15
- transform(value, searchModel) {
16
- var _a;
17
- const model = searchModel !== null && searchModel !== void 0 ? searchModel : (_a = this.highlightContext) === null || _a === void 0 ? void 0 : _a.aupHighlightTextModel;
18
- const searchText = model === null || model === void 0 ? void 0 : model.value;
19
- if (_.isEmpty(searchText) || !_.isString(value)) {
20
- return value;
21
- }
22
- // Match in a case insensitive manner
23
- const re = new RegExp(searchText, 'gi');
24
- const match = value.match(re);
25
- // If there's no match, just return the original value.
26
- if (!match) {
27
- return value;
28
- }
29
- const result = value.replace(re, '<mark>' + match[0] + '</mark>');
30
- return this.sanitizer.bypassSecurityTrustHtml(result);
31
- }
32
- }
33
- HighlightPipe.decorators = [
34
- { type: Pipe, args: [{
35
- name: 'aupHighlight',
36
- pure: false
37
- },] }
38
- ];
39
- HighlightPipe.ctorParameters = () => [
40
- { type: DomSanitizer },
41
- { type: HighlightTextModelDirective, decorators: [{ type: Optional }] }
42
- ];
43
- //# sourceMappingURL=highlight.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight.pipe.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/highlight.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,QAAQ,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAc,MAAM,gBAAgB,CAAC;AAC9D,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAO/E,MAAM,OAAO,aAAc,SAAQ,gBAAgB;IAEjD,YAAoB,SAAuB,EACF,gBAA8C;QACrF,KAAK,EAAE,CAAC;QAFU,cAAS,GAAT,SAAS,CAAc;QACF,qBAAgB,GAAhB,gBAAgB,CAA8B;IAEvF,CAAC;IAED,WAAW;QACT,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAED,SAAS,CAAC,KAAU,EAAE,WAAgC;;QAEpD,MAAM,KAAK,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,SAAI,IAAI,CAAC,gBAAgB,0CAAE,qBAAqB,CAAC;QAE1E,MAAM,UAAU,GAAW,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CAAC;QAExC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAC/C,OAAO,KAAK,CAAC;SACd;QAED,qCAAqC;QACrC,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACxC,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAE9B,uDAAuD;QACvD,IAAI,CAAC,KAAK,EAAE;YACV,OAAO,KAAK,CAAC;SACd;QAED,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;QAClE,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACxD,CAAC;;;YApCF,IAAI,SAAC;gBACJ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,KAAK;aACZ;;;YATQ,YAAY;YAGZ,2BAA2B,uBAUrB,QAAQ","sourcesContent":["import { ChangeDetectorRef, OnDestroy, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { GarbageCollector, ValueModel } from '@coolon/pectin';\nimport _ from 'lodash';\nimport { HighlightTextModelDirective } from './highlight-text-model.directive';\n\n\n@Pipe({\n name: 'aupHighlight',\n pure: false\n})\nexport class HighlightPipe extends GarbageCollector implements PipeTransform, OnDestroy {\n\n constructor(private sanitizer: DomSanitizer,\n @Optional() private readonly highlightContext?: HighlightTextModelDirective) {\n super();\n }\n\n ngOnDestroy(): void {\n this.dispose();\n }\n\n transform(value: any, searchModel?: ValueModel<string>): any {\n\n const model = searchModel ?? this.highlightContext?.aupHighlightTextModel;\n\n const searchText: string = model?.value;\n\n if (_.isEmpty(searchText) || !_.isString(value)) {\n return value;\n }\n\n // Match in a case insensitive manner\n const re = new RegExp(searchText, 'gi');\n const match = value.match(re);\n\n // If there's no match, just return the original value.\n if (!match) {\n return value;\n }\n\n const result = value.replace(re, '<mark>' + match[0] + '</mark>');\n return this.sanitizer.bypassSecurityTrustHtml(result);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"HighlightPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":11,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":7,"character":1},"arguments":[{"name":"aupHighlight","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":14,"character":15}}]],"parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":13,"character":33},{"__symbolic":"reference","module":"./highlight-text-model.directive","name":"HighlightTextModelDirective","line":14,"character":62}]}],"ngOnDestroy":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight.pipe.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/highlight.pipe.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,14 +0,0 @@
1
- import { Component } from '@angular/core';
2
- export class NotAuthorisedNoticeComponent {
3
- constructor() {
4
- }
5
- }
6
- NotAuthorisedNoticeComponent.decorators = [
7
- { type: Component, args: [{
8
- selector: 'aup-not-authorised-notice',
9
- template: "<p>You are not authorised to access this page</p>\n",
10
- styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}"]
11
- },] }
12
- ];
13
- NotAuthorisedNoticeComponent.ctorParameters = () => [];
14
- //# sourceMappingURL=not-authorised-notice.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-authorised-notice.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/not-authorised-notice/not-authorised-notice.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO1C,MAAM,OAAO,4BAA4B;IAEvC;IACA,CAAC;;;YARF,SAAS,SAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,+DAAqD;;aAEtD","sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'aup-not-authorised-notice',\n templateUrl: './not-authorised-notice.component.html',\n styleUrls: ['./not-authorised-notice.component.scss']\n})\nexport class NotAuthorisedNoticeComponent {\n\n constructor() {\n }\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"NotAuthorisedNoticeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"aup-not-authorised-notice","template":"<p>You are not authorised to access this page</p>\n","styles":[":host{display:flex;flex-direction:column;align-items:center;justify-content:center}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-authorised-notice.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/not-authorised-notice/not-authorised-notice.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-authorised-notice.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/not-authorised-notice/not-authorised-notice.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,5 +0,0 @@
1
- import { ValueModel } from '@coolon/pectin';
2
- export declare class HighlightTextModelDirective {
3
- aupHighlightTextModel: ValueModel<string>;
4
- constructor();
5
- }
@@ -1,11 +0,0 @@
1
- import { OnDestroy, PipeTransform } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { GarbageCollector, ValueModel } from '@coolon/pectin';
4
- import { HighlightTextModelDirective } from './highlight-text-model.directive';
5
- export declare class HighlightPipe extends GarbageCollector implements PipeTransform, OnDestroy {
6
- private sanitizer;
7
- private readonly highlightContext?;
8
- constructor(sanitizer: DomSanitizer, highlightContext?: HighlightTextModelDirective);
9
- ngOnDestroy(): void;
10
- transform(value: any, searchModel?: ValueModel<string>): any;
11
- }
@@ -1,3 +0,0 @@
1
- export declare class NotAuthorisedNoticeComponent {
2
- constructor();
3
- }
@@ -1,80 +0,0 @@
1
- alerts:
2
- unknown_error:
3
- content:
4
- - "Yikes, this is a bit embarrassing, we've had an error condition we weren't expecting."
5
- - "It's with great shame an loathing that we can only suggest reloading the page to see if that helps..."
6
- ok: "Ok, try reloading it..."
7
-
8
- not_implemented:
9
- content:
10
- - "We haven't got around to doing this yet."
11
- ok: "Bugger"
12
-
13
- components:
14
- activityActions:
15
- styles(Enum):
16
- okCancel:
17
- confirm(CommandFace):
18
- text: Ok
19
- cancel(CommandFace):
20
- text: Cancel
21
- okCancelStrokedPrimary:
22
- confirm(CommandFace):
23
- text: Ok
24
- style: stroked
25
- color: primary
26
- cancel(CommandFace):
27
- text: Cancel
28
- okCancelRaisedPrimary:
29
- confirm(CommandFace):
30
- text: Ok
31
- style: raised
32
- color: primary
33
- cancel(CommandFace):
34
- text: Cancel
35
- okCancelIcons:
36
- confirm(CommandFace):
37
- icon: mat:done
38
- cancel(CommandFace):
39
- icon: mat:clear
40
-
41
- doneCancel:
42
- confirm(CommandFace):
43
- text: Done
44
- cancel(CommandFace):
45
- text: Cancel
46
- doneCancelStrokedPrimary:
47
- confirm(CommandFace):
48
- text: Done
49
- style: stroked
50
- color: primary
51
- cancel(CommandFace):
52
- text: Cancel
53
- doneCancelRaisedPrimary:
54
- confirm(CommandFace):
55
- text: Done
56
- style: raised
57
- color: primary
58
- cancel(CommandFace):
59
- text: Cancel
60
-
61
- saveCancel:
62
- confirm(CommandFace):
63
- text: Save
64
- cancel(CommandFace):
65
- text: Cancel
66
- saveCancelStrokedPrimary:
67
- confirm(CommandFace):
68
- text: Save
69
- style: stroked
70
- color: primary
71
- cancel(CommandFace):
72
- text: Cancel
73
- saveCancelRaisedPrimary:
74
- confirm(CommandFace):
75
- text: Save
76
- style: raised
77
- color: primary
78
- cancel(CommandFace):
79
- text: Cancel
80
-
@@ -1,5 +0,0 @@
1
- nav(NavItem):
2
- title: "<%=capitalize(camelize(name))%>"
3
- icon: "mat:build"
4
- tooltip: "<%=capitalize(camelize(name))%> tooltip"
5
-