@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.
- package/assets/table.scss +6 -13
- package/bundles/coolon-angular-ui-powerups.umd.js +104 -266
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +1 -5
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.js +3 -0
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js +1 -2
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table-model.js +0 -9
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +3 -30
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/track-by.js +1 -5
- package/esm2015/lib/components/track-by.js.map +1 -1
- package/esm2015/lib/components/tree-table/decorated-tree-node.js +22 -19
- package/esm2015/lib/components/tree-table/decorated-tree-node.js.map +1 -1
- package/esm2015/lib/components/tree-table/tree-table-component.js +4 -21
- package/esm2015/lib/components/tree-table/tree-table-component.js.map +1 -1
- package/esm2015/lib/components/tree-table/tree-table-component.metadata.json +1 -1
- package/esm2015/lib/directives/directives.module.js +2 -8
- package/esm2015/lib/directives/directives.module.js.map +1 -1
- package/esm2015/lib/directives/directives.module.metadata.json +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/exports.js +0 -2
- package/esm2015/lib/directives/exports.js.map +1 -1
- package/esm2015/lib/directives/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +11 -21
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +14 -23
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/exports.js +0 -1
- package/esm2015/lib/place/exports.js.map +1 -1
- package/esm2015/lib/place/exports.metadata.json +1 -1
- package/esm2015/lib/place/guards/place.guard.js +8 -5
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js +0 -2
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
- package/esm2015/lib/place/place-component.js +3 -1
- package/esm2015/lib/place/place-component.js.map +1 -1
- package/esm2015/lib/place/place-component.metadata.json +1 -1
- package/esm2015/lib/place/place-router.js +4 -15
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.metadata.json +1 -1
- package/esm2015/lib/place/place.module.js +2 -6
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +84 -238
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +1 -2
- package/lib/components/table/column-model.d.ts +0 -1
- package/lib/components/table/table-model.d.ts +0 -9
- package/lib/components/table/table.component.d.ts +6 -24
- package/lib/components/track-by.d.ts +1 -3
- package/lib/components/tree-table/tree-table-component.d.ts +0 -9
- package/lib/directives/exports.d.ts +0 -2
- package/lib/place/components/abstract-place-navigation.component.d.ts +2 -9
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -10
- package/lib/place/exports.d.ts +0 -1
- package/lib/place/place-component.d.ts +1 -1
- package/lib/place/place-router.d.ts +6 -10
- package/package.json +1 -1
- package/schematics/aup-i18n/index.js +28 -8
- package/schematics/aup-i18n/index.js.map +1 -1
- package/schematics/aup-i18n/templates/i18n/aup/components.yml.template +69 -0
- package/schematics/bootstrap-app/index.js +4 -5
- package/schematics/bootstrap-app/index.js.map +1 -1
- package/schematics/bootstrap-app/templates/{i18n.config.json.template → i18n/config.json.template} +0 -2
- package/schematics/bootstrap-app/templates/i18n/notifications.yml.template +19 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/place-add/index.js +5 -4
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +1 -3
- package/schematics/place-add/templates/files/i18n/places/__name@dasherize__.yml.template +7 -0
- package/schematics/utils/build-context.d.ts +5 -4
- package/schematics/utils/workspace.d.ts +4 -3
- package/schematics/utils/workspace.js.map +1 -1
- package/esm2015/lib/directives/highlight-text-model.directive.js +0 -20
- package/esm2015/lib/directives/highlight-text-model.directive.js.map +0 -1
- package/esm2015/lib/directives/highlight-text-model.directive.metadata.json +0 -1
- package/esm2015/lib/directives/highlight-text-model.directive.ngfactory.js.map +0 -1
- package/esm2015/lib/directives/highlight.pipe.js +0 -43
- package/esm2015/lib/directives/highlight.pipe.js.map +0 -1
- package/esm2015/lib/directives/highlight.pipe.metadata.json +0 -1
- package/esm2015/lib/directives/highlight.pipe.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +0 -14
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.scss.shim.ngstyle.js.map +0 -1
- package/lib/directives/highlight-text-model.directive.d.ts +0 -5
- package/lib/directives/highlight.pipe.d.ts +0 -11
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -3
- package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
- package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
- /package/schematics/bootstrap-app/templates/{src/app → app}/app-routing.module.ts.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.html.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.scss.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/app → app}/app.component.ts.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/app → app}/app.module.ts.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/app → app}/i18n.ts.template +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/README.md +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/codepoints +0 -0
- /package/schematics/bootstrap-app/templates/{src/assets → assets}/fonts/material-design-icons/material-icons.css +0 -0
- /package/schematics/bootstrap-app/templates/{src/index.html.template → index.html.template} +0 -0
- /package/schematics/bootstrap-app/templates/{src/styles → styles}/global-variables.scss.template +0 -0
- /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:
|
|
5
|
+
readonly schema: experimental.workspace.WorkspaceSchema;
|
|
5
6
|
readonly tree: Tree;
|
|
6
7
|
readonly context: SchematicContext;
|
|
7
|
-
get defaultProject():
|
|
8
|
-
constructor(schema:
|
|
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;
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/workspace.ts"],"names":[],"mappings":";;;AAEA,mDAA+C;AAC/C,MAAa,SAAS;IAMpB,YAAqB,MAA8C,EAAW,IAAU,EAAW,OAAyB;QAAvG,WAAM,GAAN,MAAM,CAAwC;QAAW,SAAI,GAAJ,IAAI,CAAM;QAAW,YAAO,GAAP,OAAO,CAAkB;IAC5H,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,CAAC,CAAC;SACnE;QACD,MAAM,gBAAgB,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAC;QACpD,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrE,CAAC;IAED,cAAc,CAAC,WAAmB;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,CAAC,WAAW,KAAK,KAAK,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,+BAA+B,WAAW,gBAAgB,CAAC,CAAC;SAC7E;QACD,OAAO,IAAI,4BAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED,uBAAuB,CAAC,WAA6B;QACnD,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,IAAI,CAAC,cAAc,CAAC,CAAC;IACjE,CAAC;IAED,UAAU,CAAC,WAAmB;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,CAAC,WAAW,KAAK,KAAK,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,+BAA+B,WAAW,gBAAgB,CAAC,CAAC;SAC7E;QACD,OAAO,IAAI,4BAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC;IAGS,mBAAmB,CAAC,OAAe,EAAE,IAAU;QAEvD,MAAM,gBAAgB,GAA4C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QAC9H,MAAM,YAAY,GAAG,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QACvE,+EAA+E;QAC/E,OAAO;YACL,gBAAgB;YAChB,WAAW,EAAE,gBAAgB,CAAC,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;YAC3E,YAAY;SACb,CAAC;IACJ,CAAC;CAGF;AApDD,8BAoDC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Directive, Input } from '@angular/core';
|
|
3
|
-
import { TrackExternal, ValueModel } from '@coolon/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"]}
|
package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js
DELETED
|
@@ -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
|
package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js.map
DELETED
|
@@ -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,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,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
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/schematics/bootstrap-app/templates/{src/styles → styles}/global-variables.scss.template
RENAMED
|
File without changes
|
/package/schematics/bootstrap-app/templates/{src/styles.scss.template → styles.scss.template}
RENAMED
|
File without changes
|