@coolon/angular-ui-powerups 12.4.0-alpha.33 → 12.4.0-alpha.34

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.
@@ -1,10 +1,26 @@
1
- import { MutableListModel, MutableValueModel, TrackExternal } from '@coolon/pectin';
2
- export class InlineEditorModel {
1
+ import { DelegatingValueModel, Dsl, GarbageCollector, MutableListModel, MutableValueModel, TrackExternal } from '@coolon/pectin';
2
+ export class InlineEditorModel extends GarbageCollector {
3
3
  constructor(valueModel, saveCallback) {
4
+ super();
4
5
  this.valueModel = valueModel;
5
6
  this.saveCallback = saveCallback;
6
7
  this.editing = new MutableValueModel(false);
7
8
  this._validators = new MutableListModel();
9
+ this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
10
+ const { when } = Dsl.disposeWith(this);
11
+ when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
12
+ }
13
+ get editingEnabled() {
14
+ return this._editingEnabled.readonly;
15
+ }
16
+ disableWhile(condition) {
17
+ const { chain } = Dsl.disposeWith(this);
18
+ this.enableWhile(chain(condition).isFalsey());
19
+ return this;
20
+ }
21
+ enableWhile(condition) {
22
+ this._editingEnabled.setDelegate(condition);
23
+ return this;
8
24
  }
9
25
  get validators() {
10
26
  return this._validators.readonly;
@@ -1 +1 @@
1
- {"version":3,"file":"inline-editor-model.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/editors/inline-string-editor/inline-editor-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAyB,MAAM,gBAAgB,CAAC;AAItH,MAAM,OAAO,iBAAiB;IAK5B,YAAqB,UAAyB,EAAW,YAA+C;QAAnF,eAAU,GAAV,UAAU,CAAe;QAAW,iBAAY,GAAZ,YAAY,CAAmC;QAH/F,YAAO,GAAG,IAAI,iBAAiB,CAAU,KAAK,CAAC,CAAC;QACxC,gBAAW,GAAmC,IAAI,gBAAgB,EAAgB,CAAC;IAGpG,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,aAAa,CAAC,SAAuB;QACnC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAAA,CAAC;IAGF,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED,UAAU;QACR,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;IAC7B,CAAC;IAED,YAAY;QACV,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAC5B,CAAC;CAEF;AAED,WAAiB,iBAAiB;IAIhC,SAAgB,MAAM,CAAI,UAAyB,EAAE,OAAkC;QACrF,OAAO,IAAI,iBAAiB,CAAI,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAFe,wBAAM,SAErB,CAAA;AAEH,CAAC,EARgB,iBAAiB,KAAjB,iBAAiB,QAQjC;AAED,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["import { ListModel, MutableListModel, MutableValueModel, TrackExternal, Validator, ValueModel } from '@coolon/pectin';\nimport { EditContext } from '../edit-context';\n\n\nexport class InlineEditorModel<T> {\n\n readonly editing = new MutableValueModel<boolean>(false);\n private readonly _validators: MutableListModel<Validator<T>> = new MutableListModel<Validator<T>>();\n\n constructor(readonly valueModel: ValueModel<T>, readonly saveCallback: InlineEditorModel.SaveCallback<T>) {\n }\n\n get validators(): ListModel<Validator<T>> {\n return this._validators.readonly;\n }\n\n validateUsing(validator: Validator<T>): this { //}, options?: HasValidators.Options): this {\n this._validators.push(validator);\n return this;\n };\n\n\n isEditing(): boolean {\n return this.editing.value;\n }\n\n cancelEdit() {\n this.editing.value = false;\n }\n\n startEditing() {\n this.editing.value = true;\n }\n\n}\n\nexport namespace InlineEditorModel {\n\n export type SaveCallback<T> = (value: T, context: EditContext<T>) => void | Promise<void>;\n\n export function create<T>(valueModel: ValueModel<T>, options: { save: SaveCallback<T> }): InlineEditorModel<T> {\n return new InlineEditorModel<T>(valueModel, options.save);\n }\n\n}\n\nTrackExternal.oneTimeBinding(InlineEditorModel);\n"]}
1
+ {"version":3,"file":"inline-editor-model.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/editors/inline-string-editor/inline-editor-model.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,GAAG,EACH,gBAAgB,EAEhB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EAGd,MAAM,gBAAgB,CAAC;AAIxB,MAAM,OAAO,iBAAqB,SAAQ,gBAAgB;IAMxD,YAAqB,UAAyB,EAAW,YAA+C;QACtG,KAAK,EAAE,CAAC;QADW,eAAU,GAAV,UAAU,CAAe;QAAW,iBAAY,GAAZ,YAAY,CAAmC;QAJ/F,YAAO,GAAG,IAAI,iBAAiB,CAAU,KAAK,CAAC,CAAC;QACxC,gBAAW,GAAmC,IAAI,gBAAgB,EAAgB,CAAC;QAC5F,oBAAe,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QAIvG,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;IAED,YAAY,CAAC,SAA8B;QACzC,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,WAAW,CAAC,SAA8B;QACxC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,aAAa,CAAC,SAAuB;QACnC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAAA,CAAC;IAGF,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED,UAAU;QACR,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;IAC7B,CAAC;IAED,YAAY;QACV,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAC5B,CAAC;CAEF;AAED,WAAiB,iBAAiB;IAIhC,SAAgB,MAAM,CAAI,UAAyB,EAAE,OAAkC;QACrF,OAAO,IAAI,iBAAiB,CAAI,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAFe,wBAAM,SAErB,CAAA;AAEH,CAAC,EARgB,iBAAiB,KAAjB,iBAAiB,QAQjC;AAED,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["import {\n DelegatingValueModel,\n Dsl,\n GarbageCollector,\n ListModel,\n MutableListModel,\n MutableValueModel,\n TrackExternal,\n Validator,\n ValueModel\n} from '@coolon/pectin';\nimport { EditContext } from '../edit-context';\n\n\nexport class InlineEditorModel<T> extends GarbageCollector {\n\n readonly editing = new MutableValueModel<boolean>(false);\n private readonly _validators: MutableListModel<Validator<T>> = new MutableListModel<Validator<T>>();\n private _editingEnabled = this.registerDisposable(new DelegatingValueModel<boolean>().withDefault(true));\n\n constructor(readonly valueModel: ValueModel<T>, readonly saveCallback: InlineEditorModel.SaveCallback<T>) {\n super();\n const { when } = Dsl.disposeWith(this);\n when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());\n }\n\n get editingEnabled(): ValueModel<boolean> {\n return this._editingEnabled.readonly;\n }\n\n disableWhile(condition: ValueModel<boolean>): this {\n const { chain } = Dsl.disposeWith(this);\n this.enableWhile(chain(condition).isFalsey());\n return this;\n }\n\n enableWhile(condition: ValueModel<boolean>): this {\n this._editingEnabled.setDelegate(condition);\n return this;\n }\n\n get validators(): ListModel<Validator<T>> {\n return this._validators.readonly;\n }\n\n validateUsing(validator: Validator<T>): this { //}, options?: HasValidators.Options): this {\n this._validators.push(validator);\n return this;\n };\n\n\n isEditing(): boolean {\n return this.editing.value;\n }\n\n cancelEdit() {\n this.editing.value = false;\n }\n\n startEditing() {\n this.editing.value = true;\n }\n\n}\n\nexport namespace InlineEditorModel {\n\n export type SaveCallback<T> = (value: T, context: EditContext<T>) => void | Promise<void>;\n\n export function create<T>(valueModel: ValueModel<T>, options: { save: SaveCallback<T> }): InlineEditorModel<T> {\n return new InlineEditorModel<T>(valueModel, options.save);\n }\n\n}\n\nTrackExternal.oneTimeBinding(InlineEditorModel);\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InlineEditorModel":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@coolon/pectin","name":"ValueModel","line":9,"character":35,"arguments":[{"__symbolic":"error","message":"Could not resolve type","line":9,"character":46,"context":{"typeName":"T"}}]},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"InlineEditorModel"},"member":"SaveCallback","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":9,"character":104,"context":{"typeName":"T"}}]}]}],"validateUsing":[{"__symbolic":"method"}],"isEditing":[{"__symbolic":"method"}],"cancelEdit":[{"__symbolic":"method"}],"startEditing":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"InlineEditorModel":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":14,"character":42},"arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@coolon/pectin","name":"ValueModel","line":20,"character":35,"arguments":[{"__symbolic":"error","message":"Could not resolve type","line":20,"character":46,"context":{"typeName":"T"}}]},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"InlineEditorModel"},"member":"SaveCallback","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":20,"character":104,"context":{"typeName":"T"}}]}]}],"disableWhile":[{"__symbolic":"method"}],"enableWhile":[{"__symbolic":"method"}],"validateUsing":[{"__symbolic":"method"}],"isEditing":[{"__symbolic":"method"}],"cancelEdit":[{"__symbolic":"method"}],"startEditing":[{"__symbolic":"method"}]}}}}]
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate, __metadata } from "tslib";
2
2
  import { Component, Input, ViewChild } from '@angular/core';
3
- import { Command, Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
3
+ import { Command, DelegatingValueModel, Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
4
4
  import { lang } from '@coolon/typescript-utilities';
5
5
  import * as _ from 'lodash';
6
6
  import { DisposableComponent } from '../../../../components/disposable-component';
@@ -30,6 +30,7 @@ import { InlineEditorModel } from './inline-editor-model';
30
30
  export class InlineStringEditorComponent extends DisposableComponent {
31
31
  constructor(interactionService) {
32
32
  super();
33
+ this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
33
34
  const { chain, when, valueOf } = Dsl.disposeWith(this);
34
35
  const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
35
36
  const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
@@ -50,7 +51,7 @@ export class InlineStringEditorComponent extends DisposableComponent {
50
51
  finally {
51
52
  this.editorModel.editing.value = false;
52
53
  }
53
- }));
54
+ })).enableWhile(this.editingEnabled);
54
55
  this.onDispose(() => this.cancelEdit());
55
56
  }
56
57
  ngOnInit() {
@@ -60,6 +61,7 @@ export class InlineStringEditorComponent extends DisposableComponent {
60
61
  if (!this.editorModel) {
61
62
  lang.illegalState('editorModel is required');
62
63
  }
64
+ this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
63
65
  when(this.editorModel.editing).becomesTruthy(() => {
64
66
  this.editCommand.execute();
65
67
  }, { asLongAs: this.editCommand.enabled });
@@ -107,7 +109,7 @@ export class InlineStringEditorComponent extends DisposableComponent {
107
109
  InlineStringEditorComponent.decorators = [
108
110
  { type: Component, args: [{
109
111
  selector: 'aup-inline-string-editor',
110
- template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
112
+ template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" [class.editing-enabled]=\"editingEnabled.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
111
113
  },] }
112
114
  ];
113
115
  InlineStringEditorComponent.ctorParameters = () => [
@@ -1 +1 @@
1
- {"version":3,"file":"inline-string-editor.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAEL,OAAO,EACP,GAAG,EACH,iBAAiB,EACjB,aAAa,EACb,UAAU,EAEX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,kCAAkC,EAAE,MAAM,0EAA0E,CAAC;AAC9H,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;;;;;;;;;;;;;;GAiBG;AAMH,MAAM,OAAO,2BAA4B,SAAQ,mBAAmB;IAqClE,YAAY,kBAAsC;QAChD,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG,kBAAkB,CAAC,yCAAyC,CAAC,IAAI,CAAC,CAAC;QAEnF,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;YAChE,uCACK,2BAA2B,CAAC,aAAa,GACzC,SAAS,EACZ;QACJ,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAEvB,IAAI,CAAC,aAAa,GAAG,kB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import {\n BooleanValueModelChain,\n Command,\n Dsl,\n StoreInValueModel,\n TrackExternal,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport * as _ from 'lodash';\nimport { CommandFace } from '../../../../components/commands/command-face';\nimport { DisposableComponent } from '../../../../components/disposable-component';\nimport { InteractionService } from '../../../services/interaction.service';\nimport { InPlaceInteractionContextComponent } from '../../inplace-interaction-context/in-place-interaction-context.component';\nimport { InputActivity } from '../../input-activities/input-activity';\nimport { StringInputActivity } from '../../input-activities/string-input-activity';\nimport { InlineEditorModel } from './inline-editor-model';\n\n/**\n * @example\n * const source: ValueModel<string> = ...;\n * const model = InlineEditorModel.create(source, {\n * save(updated:string, context: EditContext) => {\n * try {\n * try and save the thing...\n * } catch(error) {\n * context.injectError(error)\n * }\n * }).validateUsing(Validator.present(\"We'll need a value\");\n *\n * # in the view\n * <aup-inline-string-editor\n * label=\"My field\"\n * placeHolder=\"I'm ready for a string...\"\n * [editorModel]=\"model\"></aup-inline-string-editor>\n */\n@Component({\n selector: 'aup-inline-string-editor',\n templateUrl: './inline-string-editor.component.html',\n styleUrls: [] // See assets/interaction/editor/inline-string-editor.scss\n})\nexport class InlineStringEditorComponent extends DisposableComponent implements OnInit {\n\n @Input()\n @TrackExternal()\n editorModel: InlineEditorModel<string>;\n\n @Input()\n @TrackExternal()\n facesModel: ValueModel<InlineStringEditorComponent.Faces>;\n\n @Input()\n @StoreInValueModel('facesModel')\n faces: InlineStringEditorComponent.Faces;\n\n @ViewChild(InPlaceInteractionContextComponent)\n interactionContext: InPlaceInteractionContextComponent<any, any, any>;\n\n @Input()\n label: string;\n\n @Input()\n @StoreInValueModel('placeHolderModel')\n placeHolder: string;\n\n @Input()\n @TrackExternal()\n placeHolderModel: ValueModel<string>;\n\n readonly description: ValueModelChain<string>;\n empty: BooleanValueModelChain;\n readonly editCommand: Command<void>;\n\n displayValue: ValueModelChain<string>;\n readonly editFaceModel: ValueModelChain<CommandFace>;\n readonly saveFace: ValueModelChain<CommandFace>;\n readonly cancelFace: ValueModelChain<CommandFace>;\n\n constructor(interactionService: InteractionService) {\n super();\n const { chain, when, valueOf } = Dsl.disposeWith(this);\n const modalIC = interactionService.createModalInteractionContextDisposedWith(this);\n\n const resolvedFacesModel = chain(this.facesModel).map(userFaces => {\n return {\n ...InlineStringEditorComponent.DEFAULT_FACES, // todo: should really inject app wide defaults as well\n ...userFaces\n };\n }, { allowNil: true });\n\n this.editFaceModel = resolvedFacesModel.pluck('edit');\n this.saveFace = resolvedFacesModel.pluck('save');\n this.cancelFace = resolvedFacesModel.pluck('cancel');\n\n const self = this;\n this.editCommand = Command.create(async () => {\n this.editorModel.editing.value = true;\n try {\n await this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());\n } catch (e) {\n // don't care if they cancelled, just hiding the console errors\n } finally {\n this.editorModel.editing.value = false;\n }\n });\n\n this.onDispose(() => this.cancelEdit());\n\n }\n\n\n ngOnInit(): void {\n // our editor model is a one time binding without delegates so we can only\n // use it once we've been initialised\n const { chain, when, valueOf } = Dsl.disposeWith(this);\n\n if (!this.editorModel) {\n lang.illegalState('editorModel is required');\n }\n\n when(this.editorModel.editing).becomesTruthy(() => {\n this.editCommand.execute();\n }, { asLongAs: this.editCommand.enabled });\n\n when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());\n\n this.empty = valueOf.any(\n chain.stringValue(this.editorModel.valueModel).isBlank()\n // deviceDescription.isNil()\n ).areTruthy();\n\n this.displayValue = chain(this.editorModel.valueModel).map(v => {\n return _.isEmpty(v) ? this.placeHolderModel.value : v;\n }, { dependsOn: this.placeHolderModel, allowNil: true });\n\n\n }\n\n private createInputActivityData(): InputActivity.Data<string> {\n const self = this;\n return {\n initialValue: self.editorModel.valueModel.value,\n buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },\n placeholder: self.placeHolderModel.value,\n label: self.label,\n layout: InputActivity.Layout.INLINE,\n validators: self.editorModel.validators.value,\n async save(value: string, inputContext: InputActivity.Context): Promise<void> {\n await self.editorModel.saveCallback(value, inputContext);\n }\n };\n }\n\n cancelEdit() {\n if (this.isEditing()) {\n this.interactionContext.cancelActiveActivity();\n }\n }\n\n startEdit() {\n if (!this.isEditing() && this.editCommand.enabled.value) {\n this.editCommand.execute();\n }\n }\n\n private isEditing() {\n return this.interactionContext.isActive();\n }\n\n isEmpty(): boolean {\n return this.empty.value;\n }\n\n\n}\n\nexport namespace InlineStringEditorComponent {\n\n export interface Faces {\n edit?: CommandFace;\n save?: CommandFace;\n cancel?: CommandFace;\n }\n\n export const DEFAULT_FACES: Faces = {\n edit: {\n icon: () => 'mat:edit'\n },\n save: {\n icon: () => 'mat:check'\n },\n cancel: {\n icon: () => 'mat:clear'\n }\n };\n\n}\n"]}
1
+ {"version":3,"file":"inline-string-editor.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAe,KAAK,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAEL,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EACH,iBAAiB,EACjB,aAAa,EACb,UAAU,EAEX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,kCAAkC,EAAE,MAAM,0EAA0E,CAAC;AAC9H,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;;;;;;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ACpC,wlBAAoD;aAErD;;;YA5BQ,kBAAkB;;;0BA+BxB,KAAK;yBAIL,KAAK;oBAIL,KAAK;iCAIL,SAAS,SAAC,kCAAkC;oBAG5C,KAAK;0BAGL,KAAK;+BAIL,KAAK;;AApBN;IADC,aAAa,EAAE;8BACH,iBAAiB;gEAAS;AAIvC;IADC,aAAa,EAAE;8BACJ,UAAU;+DAAoC;AAI1D;IADC,iBAAiB,CAAC,YAAY,CAAC;;0DACS;AAUzC;IADC,iBAAiB,CAAC,kBAAkB,CAAC;;gEAClB;AAIpB;IADC,aAAa,EAAE;8BACE,UAAU;qEAAS;AAiHvC,WAAiB,2BAA2B;IAQ7B,yCAAa,GAAU;QAClC,IAAI,EAAE;YACJ,IAAI,EAAE,GAAG,EAAE,CAAC,UAAU;SACvB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,GAAG,EAAE,CAAC,WAAW;SACxB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,GAAG,EAAE,CAAC,WAAW;SACxB;KACF,CAAC;AAEJ,CAAC,EApBgB,2BAA2B,KAA3B,2BAA2B,QAoB3C","sourcesContent":["import { Component, HostBinding, Input, OnInit, ViewChild } from '@angular/core';\nimport {\n BooleanValueModelChain,\n Command, DelegatingValueModel,\n Dsl,\n StoreInValueModel,\n TrackExternal,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport * as _ from 'lodash';\nimport { CommandFace } from '../../../../components/commands/command-face';\nimport { DisposableComponent } from '../../../../components/disposable-component';\nimport { InteractionService } from '../../../services/interaction.service';\nimport { InPlaceInteractionContextComponent } from '../../inplace-interaction-context/in-place-interaction-context.component';\nimport { InputActivity } from '../../input-activities/input-activity';\nimport { StringInputActivity } from '../../input-activities/string-input-activity';\nimport { InlineEditorModel } from './inline-editor-model';\n\n/**\n * @example\n * const source: ValueModel<string> = ...;\n * const model = InlineEditorModel.create(source, {\n * save(updated:string, context: EditContext) => {\n * try {\n * try and save the thing...\n * } catch(error) {\n * context.injectError(error)\n * }\n * }).validateUsing(Validator.present(\"We'll need a value\");\n *\n * # in the view\n * <aup-inline-string-editor\n * label=\"My field\"\n * placeHolder=\"I'm ready for a string...\"\n * [editorModel]=\"model\"></aup-inline-string-editor>\n */\n@Component({\n selector: 'aup-inline-string-editor',\n templateUrl: './inline-string-editor.component.html',\n styleUrls: [] // See assets/interaction/editor/inline-string-editor.scss\n})\nexport class InlineStringEditorComponent extends DisposableComponent implements OnInit {\n\n @Input()\n @TrackExternal()\n editorModel: InlineEditorModel<string>;\n\n @Input()\n @TrackExternal()\n facesModel: ValueModel<InlineStringEditorComponent.Faces>;\n\n @Input()\n @StoreInValueModel('facesModel')\n faces: InlineStringEditorComponent.Faces;\n\n @ViewChild(InPlaceInteractionContextComponent)\n interactionContext: InPlaceInteractionContextComponent<any, any, any>;\n\n @Input()\n label: string;\n\n @Input()\n @StoreInValueModel('placeHolderModel')\n placeHolder: string;\n\n @Input()\n @TrackExternal()\n placeHolderModel: ValueModel<string>;\n\n readonly description: ValueModelChain<string>;\n empty: BooleanValueModelChain;\n readonly editCommand: Command<void>;\n\n displayValue: ValueModelChain<string>;\n readonly editFaceModel: ValueModelChain<CommandFace>;\n readonly saveFace: ValueModelChain<CommandFace>;\n readonly cancelFace: ValueModelChain<CommandFace>;\n\n readonly editingEnabled = this.registerDisposable(new DelegatingValueModel<boolean>());\n\n constructor(interactionService: InteractionService) {\n super();\n const { chain, when, valueOf } = Dsl.disposeWith(this);\n const modalIC = interactionService.createModalInteractionContextDisposedWith(this);\n\n const resolvedFacesModel = chain(this.facesModel).map(userFaces => {\n return {\n ...InlineStringEditorComponent.DEFAULT_FACES, // todo: should really inject app wide defaults as well\n ...userFaces\n };\n }, { allowNil: true });\n\n this.editFaceModel = resolvedFacesModel.pluck('edit');\n this.saveFace = resolvedFacesModel.pluck('save');\n this.cancelFace = resolvedFacesModel.pluck('cancel');\n\n const self = this;\n this.editCommand = Command.create(async () => {\n this.editorModel.editing.value = true;\n try {\n await this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());\n } catch (e) {\n // don't care if they cancelled, just hiding the console errors\n } finally {\n this.editorModel.editing.value = false;\n }\n }).enableWhile(this.editingEnabled);\n\n this.onDispose(() => this.cancelEdit());\n\n }\n\n\n ngOnInit(): void {\n // our editor model is a one time binding without delegates so we can only\n // use it once we've been initialised\n const { chain, when, valueOf } = Dsl.disposeWith(this);\n\n if (!this.editorModel) {\n lang.illegalState('editorModel is required');\n }\n\n this.editingEnabled.setDelegate(this.editorModel.editingEnabled);\n\n when(this.editorModel.editing).becomesTruthy(() => {\n this.editCommand.execute();\n }, { asLongAs: this.editCommand.enabled });\n\n when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());\n\n this.empty = valueOf.any(\n chain.stringValue(this.editorModel.valueModel).isBlank()\n // deviceDescription.isNil()\n ).areTruthy();\n\n this.displayValue = chain(this.editorModel.valueModel).map(v => {\n return _.isEmpty(v) ? this.placeHolderModel.value : v;\n }, { dependsOn: this.placeHolderModel, allowNil: true });\n\n }\n\n\n private createInputActivityData(): InputActivity.Data<string> {\n const self = this;\n return {\n initialValue: self.editorModel.valueModel.value,\n buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },\n placeholder: self.placeHolderModel.value,\n label: self.label,\n layout: InputActivity.Layout.INLINE,\n validators: self.editorModel.validators.value,\n async save(value: string, inputContext: InputActivity.Context): Promise<void> {\n await self.editorModel.saveCallback(value, inputContext);\n }\n };\n }\n\n cancelEdit() {\n if (this.isEditing()) {\n this.interactionContext.cancelActiveActivity();\n }\n }\n\n startEdit() {\n if (!this.isEditing() && this.editCommand.enabled.value) {\n this.editCommand.execute();\n }\n }\n\n private isEditing() {\n return this.interactionContext.isActive();\n }\n\n isEmpty(): boolean {\n return this.empty.value;\n }\n\n\n}\n\nexport namespace InlineStringEditorComponent {\n\n export interface Faces {\n edit?: CommandFace;\n save?: CommandFace;\n cancel?: CommandFace;\n }\n\n export const DEFAULT_FACES: Faces = {\n edit: {\n icon: () => 'mat:edit'\n },\n save: {\n icon: () => 'mat:check'\n },\n cancel: {\n icon: () => 'mat:clear'\n }\n };\n\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InlineStringEditorComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../../../components/disposable-component","name":"DisposableComponent","line":43,"character":49},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":38,"character":1},"arguments":[{"selector":"aup-inline-string-editor","styleUrls":[],"template":"<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"}]}],"members":{"editorModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":46,"character":3}}]}],"facesModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":50,"character":3}}]}],"faces":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"StoreInValueModel","line":54,"character":3},"arguments":["facesModel"]}]}],"interactionContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":[{"__symbolic":"reference","module":"../../inplace-interaction-context/in-place-interaction-context.component","name":"InPlaceInteractionContextComponent","line":57,"character":13}]}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"placeHolder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"StoreInValueModel","line":64,"character":3},"arguments":["placeHolderModel"]}]}],"placeHolderModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":68,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../../services/interaction.service","name":"InteractionService","line":80,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"createInputActivityData":[{"__symbolic":"method"}],"cancelEdit":[{"__symbolic":"method"}],"startEdit":[{"__symbolic":"method"}],"isEditing":[{"__symbolic":"method"}],"isEmpty":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"InlineStringEditorComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../../../components/disposable-component","name":"DisposableComponent","line":43,"character":49},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":38,"character":1},"arguments":[{"selector":"aup-inline-string-editor","styleUrls":[],"template":"<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" [class.editing-enabled]=\"editingEnabled.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"}]}],"members":{"editorModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":46,"character":3}}]}],"facesModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":50,"character":3}}]}],"faces":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"StoreInValueModel","line":54,"character":3},"arguments":["facesModel"]}]}],"interactionContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":[{"__symbolic":"reference","module":"../../inplace-interaction-context/in-place-interaction-context.component","name":"InPlaceInteractionContextComponent","line":57,"character":13}]}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"placeHolder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"StoreInValueModel","line":64,"character":3},"arguments":["placeHolderModel"]}]}],"placeHolderModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":68,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../../services/interaction.service","name":"InteractionService","line":82,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"createInputActivityData":[{"__symbolic":"method"}],"cancelEdit":[{"__symbolic":"method"}],"startEdit":[{"__symbolic":"method"}],"isEditing":[{"__symbolic":"method"}],"isEmpty":[{"__symbolic":"method"}]}}}}]
@@ -1 +1 @@
1
- {"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/interaction.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './interaction.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/button';\nimport * as i5 from '@angular/material/dialog';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/cdk/portal';\nimport * as i8 from '@angular/router';\nimport * as i9 from '@angular/material/icon';\nimport * as i10 from '../directives/command.directive';\nimport * as i11 from '../directives/focus-binding.directive';\nimport * as i12 from '../directives/highlight-text-model.directive';\nimport * as i13 from '@angular/flex-layout/flex';\nimport * as i14 from '@angular/flex-layout/grid';\nimport * as i15 from '../components/forms/number-input/number-input.component';\nimport * as i16 from '../components/forms/string-input/string-input.component';\nimport * as i17 from '../components/forms/text-input/text-input.component';\nimport * as i18 from '../components/forms/password-input/password-input.component';\nimport * as i19 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i20 from '../components/forms/select-input/select-input.component';\nimport * as i21 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i22 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i23 from '../components/scroll-container/scroll-container.component';\nimport * as i24 from '../components/noop/noop.component';\nimport * as i25 from '../components/switch-case/switch-case.component';\nimport * as i26 from '../components/focus-container/focus-container.component';\nimport * as i27 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i28 from '../components/focusable.component';\nimport * as i29 from '../components/cards/card-container/card-container.component';\nimport * as i30 from '../components/tables/table/table.component';\nimport * as i31 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i32 from '../components/tables/table/column-template/column-template.directive';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i36 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i37 from '../components/commands/command/command.component';\nimport * as i38 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i39 from '../components/commands/command-face/command-face.component';\nimport * as i40 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i41 from '../components/commands/separator.component';\nimport * as i42 from '../components/commands/flex.component';\nimport * as i43 from '../components/tables/tree-table/tree-table-component';\nimport * as i44 from '../components/busy-overlay/busy-overlay.component';\nimport * as i45 from '../components/empty-state/empty-state.component';\nimport * as i46 from '../components/tables/table/paginator/paginator.component';\nimport * as i47 from '../components/cards/card-stack/card-stack.component';\nimport * as i48 from '../components/labelled-value/labelled-value.component';\nimport * as i49 from './components/activity-container/activity-container.component';\nimport * as i50 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i51 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i52 from './components/alert-dialog/alert-dialog.component';\nimport * as i53 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i54 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i55 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i56 from './components/activity-actions/activity-actions.component';\nimport * as i57 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i58 from './components/input-activities/string-input-activity';\nimport * as i59 from './components/input-activities/select-input-activity';\nimport * as i60 from './components/input-activities/input-activity';\nimport * as i61 from './directives/interaction-context-trigger-for.directive';\nimport * as i62 from './activity';\nimport * as i63 from './components/activity-title/activity-title.component';\nimport * as i64 from './components/activity-body/activity-body.component';\nimport * as i65 from './components/activity-triggers/abstract-activity-trigger.component';\nimport * as i66 from './components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component';\nimport * as i67 from './components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component';\nimport * as i68 from './components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component';\nimport * as i69 from './components/add-card-activity/add-card-activity.component';\nimport * as i70 from './components/editors/inline-string-editor/inline-string-editor.component';\nimport * as i71 from '../directives/highlight.pipe';\nimport * as i72 from '../directives/directives.module';\nimport * as i73 from '../components/components.module';\nexport const InteractionModuleNgFactory:i0.NgModuleFactory<i1.InteractionModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatButton = (<any>(null as any));\nvar _decl0_13:i4.MatAnchor = (<any>(null as any));\nvar _decl0_14:i5.MatDialogContainer = (<any>(null as any));\nvar _decl0_15:i5.MatDialogClose = (<any>(null as any));\nvar _decl0_16:i5.MatDialogTitle = (<any>(null as any));\nvar _decl0_17:i5.MatDialogContent = (<any>(null as any));\nvar _decl0_18:i5.MatDialogActions = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.CdkPortal = (<any>(null as any));\nvar _decl0_26:i7.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_27:i7.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_28:i7.PortalHostDirective = (<any>(null as any));\nvar _decl0_29:i8.RouterOutlet = (<any>(null as any));\nvar _decl0_30:i8.RouterLink = (<any>(null as any));\nvar _decl0_31:i8.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_32:i8.RouterLinkActive = (<any>(null as any));\nvar _decl0_33:i8.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_34:i9.MatIcon = (<any>(null as any));\nvar _decl0_35:i10.CommandDirective<any> = (<any>(null as any));\nvar _decl0_36:i11.FocusBindingDirective = (<any>(null as any));\nvar _decl0_37:i12.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_38:i13.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_39:i13.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_40:i13.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_41:i13.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_42:i13.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_43:i13.FlexFillDirective = (<any>(null as any));\nvar _decl0_44:i13.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_45:i13.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_46:i14.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_47:i14.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_48:i14.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_49:i14.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_50:i14.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_51:i14.ɵgrid_privater = (<any>(null as any));\nvar _decl0_52:i14.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_53:i14.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_54:i14.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_55:i14.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_56:i14.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_57:i15.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i16.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i17.TextInputComponent = (<any>(null as any));\nvar _decl0_60:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_61:i19.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_62:i20.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_65:i23.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_66:i24.NoopComponent = (<any>(null as any));\nvar _decl0_67:i25.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_68:i25.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_70:i26.FocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_72:i28.FocusableComponent = (<any>(null as any));\nvar _decl0_73:i29.CardContainerComponent = (<any>(null as any));\nvar _decl0_74:i30.TableComponent<any> = (<any>(null as any));\nvar _decl0_75:i31.EditRowControls<any> = (<any>(null as any));\nvar _decl0_76:i32.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_77:i33.IconComponent = (<any>(null as any));\nvar _decl0_78:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_79:i35.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_80:i36.ToolBarComponent = (<any>(null as any));\nvar _decl0_81:i37.CommandComponent = (<any>(null as any));\nvar _decl0_82:i38.PopupMenuComponent = (<any>(null as any));\nvar _decl0_83:i39.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_84:i40.MoreMenuComponent = (<any>(null as any));\nvar _decl0_85:i41.SeparatorComponent = (<any>(null as any));\nvar _decl0_86:i42.FlexComponent = (<any>(null as any));\nvar _decl0_87:i43.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_88:i44.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_89:i45.EmptyStateComponent = (<any>(null as any));\nvar _decl0_90:i46.PaginatorComponent = (<any>(null as any));\nvar _decl0_91:i47.CardStackComponent = (<any>(null as any));\nvar _decl0_92:i48.LabelledValueComponent = (<any>(null as any));\nvar _decl0_93:i49.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_94:i50.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_95:i51.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_96:i52.AlertDialogComponent = (<any>(null as any));\nvar _decl0_97:i53.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_98:i54.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_99:i55.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_100:i56.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_101:i57.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_102:i58.StringInputActivity = (<any>(null as any));\nvar _decl0_103:i59.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_104:i60.InputActivity<any,any> = (<any>(null as any));\nvar _decl0_105:i61.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_106:i62.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_107:i63.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_108:i64.ActivityBodyComponent = (<any>(null as any));\nvar _decl0_109:i65.AbstractActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_110:i66.PopupActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_111:i67.InlineActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_112:i68.ModalActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_113:i69.AddCardActivityComponent = (<any>(null as any));\nvar _decl0_114:i70.InlineStringEditorComponent = (<any>(null as any));\nvar _decl0_115:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_116:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_117:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_118:i2.JsonPipe = (<any>(null as any));\nvar _decl0_119:i2.SlicePipe = (<any>(null as any));\nvar _decl0_120:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_121:i2.PercentPipe = (<any>(null as any));\nvar _decl0_122:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_123:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_124:i2.DatePipe = (<any>(null as any));\nvar _decl0_125:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_126:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_127:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_128:i71.HighlightPipe = (<any>(null as any));\nvar _decl0_129:i2.CommonModule = (<any>(null as any));\nvar _decl0_130:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_131:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_132:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_133:i7.PortalModule = (<any>(null as any));\nvar _decl0_134:i8.RouterModule = (<any>(null as any));\nvar _decl0_135:i9.MatIconModule = (<any>(null as any));\nvar _decl0_136:i72.DirectivesModule = (<any>(null as any));\nvar _decl0_137:i13.FlexModule = (<any>(null as any));\nvar _decl0_138:i14.GridModule = (<any>(null as any));\nvar _decl0_139:i73.ComponentsModule = (<any>(null as any));\nvar _decl0_140:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_141:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_ActivityContainerComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityContainerComponent_1_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.busy;\n currVal_0;\n const currVal_1:any = !_any.focused;\n currVal_1;\n const currVal_2:any = _decl0_93;\n currVal_2;\n const currVal_3:any = _any;\n currVal_3;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.dynamicHeight;\n currVal_0;\n const currVal_1:any = _decl0_19.dynamicHeight;\n currVal_1;\n const currVal_2:any = (_decl0_19.headerPosition === 'below');\n currVal_2;\n const currVal_3:any = !_decl0_93.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_93.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_93.activityIndex;\n currVal_5;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.class;\n currVal_0;\n const currVal_1:any = _decl0_94.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_94.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_107.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_107.color;\n currVal_2;\n const currVal_3:any = _decl0_94.confirm.title();\n currVal_3;\n }\n}\nfunction _View_ConfirmationDialogComponent_2_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmationDialogComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_94.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_94.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_94.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_100.layout;\n currVal_5;\n const currVal_6:any = _decl0_100.align;\n currVal_6;\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.class;\n currVal_0;\n const currVal_1:any = _decl0_95.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_95.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_107.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_107.color;\n currVal_2;\n const currVal_3:any = _decl0_95.confirm.title();\n currVal_3;\n }\n}\nfunction _View_ConfirmThenDialogComponent_3_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmThenDialogComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_95.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_95.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_95.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_100.layout;\n currVal_5;\n const currVal_6:any = _decl0_100.align;\n currVal_6;\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.class;\n currVal_0;\n const currVal_1:any = _decl0_96.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_96.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_107.color;\n currVal_1;\n const currVal_2:any = _decl0_96.alert.title();\n currVal_2;\n }\n}\nfunction _View_AlertDialogComponent_4_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_AlertDialogComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_96.alert.content();\n currVal_2;\n const currVal_3:any = _decl0_96.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_100.layout;\n currVal_4;\n const currVal_5:any = _decl0_100.align;\n currVal_5;\n}\nfunction _View_ActivityOutletComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityOutletComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InPlaceInteractionContextComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.active;\n currVal_0;\n}\nfunction _View_InPlaceInteractionContextComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = (_decl0_98.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_98.animationDuration;\n currVal_2;\n const currVal_3:any = _decl0_19.dynamicHeight;\n currVal_3;\n const currVal_4:any = (_decl0_19.headerPosition === 'below');\n currVal_4;\n const currVal_5:any = false;\n currVal_5;\n}\nfunction _View_AddItemInteractionContextComponent_Host_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.active;\n currVal_0;\n const currVal_1:any = _decl0_99.tabindex;\n currVal_1;\n}\nfunction _View_AddItemInteractionContextComponent_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_98.active;\n currVal_1;\n const currVal_2:any = _decl0_99.clickCommand;\n currVal_2;\n const currVal_3:any = _decl0_99.icon;\n currVal_3;\n const currVal_4:any = _decl0_99.label;\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_ActivityActionsComponent_Host_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.layout;\n currVal_0;\n const currVal_1:any = _decl0_100.align;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_100.hasConfirmFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_100.confirmFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_100.hasCancelFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_100.cancelFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.hasConfirmFace();\n currVal_0;\n const currVal_1:any = _decl0_100.hasCancelFace();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_101.active;\n currVal_0;\n}\nfunction _View_PopupInteractionContextComponent_9_0():void {\n var _any:any = (null as any);\n}\nfunction _View_StringInputActivity_Host_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.class;\n currVal_0;\n const currVal_1:any = _decl0_102.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_102.layout;\n currVal_2;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.data.label;\n currVal_0;\n const currVal_1:any = _decl0_102.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_102.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_102.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_102.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_58.dense;\n currVal_5;\n const currVal_6:any = _decl0_58.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_102.data.buttonStyle;\n currVal_7;\n const currVal_8:any = _decl0_102.layout;\n currVal_8;\n const currVal_9:any = 'end';\n currVal_9;\n const currVal_10:any = _decl0_100.layout;\n currVal_10;\n const currVal_11:any = _decl0_100.align;\n currVal_11;\n const pd_12:any = ((<any>_decl0_58.notifyClick()) !== false);\n const pd_13:any = ((<any>_decl0_58.notifyFocusIn()) !== false);\n const pd_14:any = ((<any>_decl0_58.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_103.class;\n currVal_0;\n const currVal_1:any = _decl0_103.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_103.layout;\n currVal_2;\n}\nfunction _View_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_103.data.label;\n currVal_0;\n const currVal_1:any = _decl0_103.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_103.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_103.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_103.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_103.options;\n currVal_5;\n const currVal_6:any = _decl0_103.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_62.dense;\n currVal_7;\n const currVal_8:any = _decl0_62.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_103.data.buttonStyle;\n currVal_9;\n const currVal_10:any = _decl0_103.layout;\n currVal_10;\n const currVal_11:any = 'end';\n currVal_11;\n const currVal_12:any = _decl0_100.layout;\n currVal_12;\n const currVal_13:any = _decl0_100.align;\n currVal_13;\n const pd_14:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_15:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_16:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_InputActivity_Host_12_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_104.class;\n currVal_0;\n const currVal_1:any = _decl0_104.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_104.layout;\n currVal_2;\n}\nfunction _View_InputActivity_12_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Activity_Host_13_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_106.class;\n currVal_0;\n const currVal_1:any = _decl0_106.isFocused;\n currVal_1;\n}\nfunction _View_Activity_13_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_Host_14_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_107.color;\n currVal_1;\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityBodyComponent_Host_15_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_108.fullWidth;\n currVal_0;\n}\nfunction _View_ActivityBodyComponent_15_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractActivityTriggerComponent_Host_16_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_109.isActive;\n currVal_0;\n}\nfunction _View_AbstractActivityTriggerComponent_16_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PopupActivityTriggerComponent_Host_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.isActive;\n currVal_0;\n}\nfunction _View_PopupActivityTriggerComponent_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.anchorX;\n currVal_0;\n const currVal_1:any = _decl0_110.anchorY;\n currVal_1;\n const currVal_2:any = _decl0_101.active;\n currVal_2;\n const currVal_3:any = _decl0_110.startActivityCommand;\n currVal_3;\n const currVal_4:any = _decl0_110.faceModel;\n currVal_4;\n const currVal_5:any = _decl0_110.alignFace;\n currVal_5;\n const currVal_6:any = _decl0_81.alignFace;\n currVal_6;\n}\nfunction _View_InlineActivityTriggerComponent_Host_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.isActive;\n currVal_0;\n}\nfunction _View_InlineActivityTriggerComponent_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_98.active;\n currVal_1;\n const currVal_2:any = _decl0_111.startActivityCommand;\n currVal_2;\n const currVal_3:any = _decl0_111.faceModel;\n currVal_3;\n const currVal_4:any = _decl0_111.alignFace;\n currVal_4;\n const currVal_5:any = _decl0_81.alignFace;\n currVal_5;\n}\nfunction _View_ModalActivityTriggerComponent_Host_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.isActive;\n currVal_0;\n}\nfunction _View_ModalActivityTriggerComponent_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_112.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_112.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n}\nfunction _View_AddCardActivityComponent_Host_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.isActive;\n currVal_0;\n const currVal_1:any = _decl0_113.activityTypeClass;\n currVal_1;\n}\nfunction _View_AddCardActivityComponent_20_1():void {\n if (_decl0_113.isRenderAsButton()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_113.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_113.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n }\n}\nfunction _View_AddCardActivityComponent_20_2():void {\n if (_decl0_113.isRenderAsCard()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.faceList.value;\n currVal_0;\n const currVal_1:any = _decl0_83.requiresMissingIconInLayout;\n currVal_1;\n const currVal_2:any = _decl0_83.color;\n currVal_2;\n }\n}\nfunction _View_AddCardActivityComponent_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.startActivityCommand;\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_98.active;\n currVal_2;\n const currVal_3:any = _decl0_113.isRenderAsButton();\n currVal_3;\n const currVal_4:any = _decl0_113.isRenderAsCard();\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_InlineStringEditorComponent_Host_21_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InlineStringEditorComponent_21_2():void {\n if ((!_decl0_114.editorModel.isEditing() && _decl0_114.editCommand.enabled.value)) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_114.editCommand;\n currVal_0;\n const currVal_1:any = _decl0_114.editFaceModel;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_InlineStringEditorComponent_21_1():void {\n if (!_decl0_114.editorModel.isEditing()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_114.editCommand.enabled.value;\n currVal_0;\n const currVal_1:any = _decl0_114.label;\n currVal_1;\n const currVal_2:any = _decl0_114.empty.value;\n currVal_2;\n const currVal_3:any = _decl0_114.displayValue.value;\n currVal_3;\n const currVal_4:any = _decl0_114.editCommand.enabled.value;\n currVal_4;\n const pd_5:any = ((<any>_decl0_114.editCommand.execute()) !== false);\n }\n}\nfunction _View_InlineStringEditorComponent_21_0():void {\n var _any:any = (null as any);\n const currVal_0:any = !_decl0_114.editorModel.isEditing();\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_98.active;\n currVal_2;\n}\n"]}
1
+ {"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/interaction.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './interaction.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/button';\nimport * as i5 from '@angular/material/dialog';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/cdk/portal';\nimport * as i8 from '@angular/router';\nimport * as i9 from '@angular/material/icon';\nimport * as i10 from '../directives/command.directive';\nimport * as i11 from '../directives/focus-binding.directive';\nimport * as i12 from '../directives/highlight-text-model.directive';\nimport * as i13 from '@angular/flex-layout/flex';\nimport * as i14 from '@angular/flex-layout/grid';\nimport * as i15 from '../components/forms/number-input/number-input.component';\nimport * as i16 from '../components/forms/string-input/string-input.component';\nimport * as i17 from '../components/forms/text-input/text-input.component';\nimport * as i18 from '../components/forms/password-input/password-input.component';\nimport * as i19 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i20 from '../components/forms/select-input/select-input.component';\nimport * as i21 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i22 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i23 from '../components/scroll-container/scroll-container.component';\nimport * as i24 from '../components/noop/noop.component';\nimport * as i25 from '../components/switch-case/switch-case.component';\nimport * as i26 from '../components/focus-container/focus-container.component';\nimport * as i27 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i28 from '../components/focusable.component';\nimport * as i29 from '../components/cards/card-container/card-container.component';\nimport * as i30 from '../components/tables/table/table.component';\nimport * as i31 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i32 from '../components/tables/table/column-template/column-template.directive';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i36 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i37 from '../components/commands/command/command.component';\nimport * as i38 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i39 from '../components/commands/command-face/command-face.component';\nimport * as i40 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i41 from '../components/commands/separator.component';\nimport * as i42 from '../components/commands/flex.component';\nimport * as i43 from '../components/tables/tree-table/tree-table-component';\nimport * as i44 from '../components/busy-overlay/busy-overlay.component';\nimport * as i45 from '../components/empty-state/empty-state.component';\nimport * as i46 from '../components/tables/table/paginator/paginator.component';\nimport * as i47 from '../components/cards/card-stack/card-stack.component';\nimport * as i48 from '../components/labelled-value/labelled-value.component';\nimport * as i49 from './components/activity-container/activity-container.component';\nimport * as i50 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i51 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i52 from './components/alert-dialog/alert-dialog.component';\nimport * as i53 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i54 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i55 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i56 from './components/activity-actions/activity-actions.component';\nimport * as i57 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i58 from './components/input-activities/string-input-activity';\nimport * as i59 from './components/input-activities/select-input-activity';\nimport * as i60 from './components/input-activities/input-activity';\nimport * as i61 from './directives/interaction-context-trigger-for.directive';\nimport * as i62 from './activity';\nimport * as i63 from './components/activity-title/activity-title.component';\nimport * as i64 from './components/activity-body/activity-body.component';\nimport * as i65 from './components/activity-triggers/abstract-activity-trigger.component';\nimport * as i66 from './components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component';\nimport * as i67 from './components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component';\nimport * as i68 from './components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component';\nimport * as i69 from './components/add-card-activity/add-card-activity.component';\nimport * as i70 from './components/editors/inline-string-editor/inline-string-editor.component';\nimport * as i71 from '../directives/highlight.pipe';\nimport * as i72 from '../directives/directives.module';\nimport * as i73 from '../components/components.module';\nexport const InteractionModuleNgFactory:i0.NgModuleFactory<i1.InteractionModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatButton = (<any>(null as any));\nvar _decl0_13:i4.MatAnchor = (<any>(null as any));\nvar _decl0_14:i5.MatDialogContainer = (<any>(null as any));\nvar _decl0_15:i5.MatDialogClose = (<any>(null as any));\nvar _decl0_16:i5.MatDialogTitle = (<any>(null as any));\nvar _decl0_17:i5.MatDialogContent = (<any>(null as any));\nvar _decl0_18:i5.MatDialogActions = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.CdkPortal = (<any>(null as any));\nvar _decl0_26:i7.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_27:i7.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_28:i7.PortalHostDirective = (<any>(null as any));\nvar _decl0_29:i8.RouterOutlet = (<any>(null as any));\nvar _decl0_30:i8.RouterLink = (<any>(null as any));\nvar _decl0_31:i8.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_32:i8.RouterLinkActive = (<any>(null as any));\nvar _decl0_33:i8.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_34:i9.MatIcon = (<any>(null as any));\nvar _decl0_35:i10.CommandDirective<any> = (<any>(null as any));\nvar _decl0_36:i11.FocusBindingDirective = (<any>(null as any));\nvar _decl0_37:i12.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_38:i13.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_39:i13.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_40:i13.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_41:i13.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_42:i13.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_43:i13.FlexFillDirective = (<any>(null as any));\nvar _decl0_44:i13.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_45:i13.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_46:i14.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_47:i14.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_48:i14.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_49:i14.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_50:i14.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_51:i14.ɵgrid_privater = (<any>(null as any));\nvar _decl0_52:i14.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_53:i14.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_54:i14.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_55:i14.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_56:i14.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_57:i15.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i16.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i17.TextInputComponent = (<any>(null as any));\nvar _decl0_60:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_61:i19.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_62:i20.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_65:i23.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_66:i24.NoopComponent = (<any>(null as any));\nvar _decl0_67:i25.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_68:i25.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_70:i26.FocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_72:i28.FocusableComponent = (<any>(null as any));\nvar _decl0_73:i29.CardContainerComponent = (<any>(null as any));\nvar _decl0_74:i30.TableComponent<any> = (<any>(null as any));\nvar _decl0_75:i31.EditRowControls<any> = (<any>(null as any));\nvar _decl0_76:i32.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_77:i33.IconComponent = (<any>(null as any));\nvar _decl0_78:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_79:i35.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_80:i36.ToolBarComponent = (<any>(null as any));\nvar _decl0_81:i37.CommandComponent = (<any>(null as any));\nvar _decl0_82:i38.PopupMenuComponent = (<any>(null as any));\nvar _decl0_83:i39.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_84:i40.MoreMenuComponent = (<any>(null as any));\nvar _decl0_85:i41.SeparatorComponent = (<any>(null as any));\nvar _decl0_86:i42.FlexComponent = (<any>(null as any));\nvar _decl0_87:i43.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_88:i44.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_89:i45.EmptyStateComponent = (<any>(null as any));\nvar _decl0_90:i46.PaginatorComponent = (<any>(null as any));\nvar _decl0_91:i47.CardStackComponent = (<any>(null as any));\nvar _decl0_92:i48.LabelledValueComponent = (<any>(null as any));\nvar _decl0_93:i49.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_94:i50.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_95:i51.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_96:i52.AlertDialogComponent = (<any>(null as any));\nvar _decl0_97:i53.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_98:i54.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_99:i55.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_100:i56.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_101:i57.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_102:i58.StringInputActivity = (<any>(null as any));\nvar _decl0_103:i59.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_104:i60.InputActivity<any,any> = (<any>(null as any));\nvar _decl0_105:i61.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_106:i62.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_107:i63.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_108:i64.ActivityBodyComponent = (<any>(null as any));\nvar _decl0_109:i65.AbstractActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_110:i66.PopupActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_111:i67.InlineActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_112:i68.ModalActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_113:i69.AddCardActivityComponent = (<any>(null as any));\nvar _decl0_114:i70.InlineStringEditorComponent = (<any>(null as any));\nvar _decl0_115:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_116:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_117:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_118:i2.JsonPipe = (<any>(null as any));\nvar _decl0_119:i2.SlicePipe = (<any>(null as any));\nvar _decl0_120:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_121:i2.PercentPipe = (<any>(null as any));\nvar _decl0_122:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_123:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_124:i2.DatePipe = (<any>(null as any));\nvar _decl0_125:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_126:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_127:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_128:i71.HighlightPipe = (<any>(null as any));\nvar _decl0_129:i2.CommonModule = (<any>(null as any));\nvar _decl0_130:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_131:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_132:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_133:i7.PortalModule = (<any>(null as any));\nvar _decl0_134:i8.RouterModule = (<any>(null as any));\nvar _decl0_135:i9.MatIconModule = (<any>(null as any));\nvar _decl0_136:i72.DirectivesModule = (<any>(null as any));\nvar _decl0_137:i13.FlexModule = (<any>(null as any));\nvar _decl0_138:i14.GridModule = (<any>(null as any));\nvar _decl0_139:i73.ComponentsModule = (<any>(null as any));\nvar _decl0_140:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_141:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_ActivityContainerComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityContainerComponent_1_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.busy;\n currVal_0;\n const currVal_1:any = !_any.focused;\n currVal_1;\n const currVal_2:any = _decl0_93;\n currVal_2;\n const currVal_3:any = _any;\n currVal_3;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.dynamicHeight;\n currVal_0;\n const currVal_1:any = _decl0_19.dynamicHeight;\n currVal_1;\n const currVal_2:any = (_decl0_19.headerPosition === 'below');\n currVal_2;\n const currVal_3:any = !_decl0_93.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_93.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_93.activityIndex;\n currVal_5;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.class;\n currVal_0;\n const currVal_1:any = _decl0_94.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_94.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_107.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_107.color;\n currVal_2;\n const currVal_3:any = _decl0_94.confirm.title();\n currVal_3;\n }\n}\nfunction _View_ConfirmationDialogComponent_2_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmationDialogComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_94.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_94.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_94.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_100.layout;\n currVal_5;\n const currVal_6:any = _decl0_100.align;\n currVal_6;\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.class;\n currVal_0;\n const currVal_1:any = _decl0_95.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_95.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_107.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_107.color;\n currVal_2;\n const currVal_3:any = _decl0_95.confirm.title();\n currVal_3;\n }\n}\nfunction _View_ConfirmThenDialogComponent_3_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmThenDialogComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_95.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_95.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_95.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_100.layout;\n currVal_5;\n const currVal_6:any = _decl0_100.align;\n currVal_6;\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.class;\n currVal_0;\n const currVal_1:any = _decl0_96.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_96.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_107.color;\n currVal_1;\n const currVal_2:any = _decl0_96.alert.title();\n currVal_2;\n }\n}\nfunction _View_AlertDialogComponent_4_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_AlertDialogComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_108.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_96.alert.content();\n currVal_2;\n const currVal_3:any = _decl0_96.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_100.layout;\n currVal_4;\n const currVal_5:any = _decl0_100.align;\n currVal_5;\n}\nfunction _View_ActivityOutletComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityOutletComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InPlaceInteractionContextComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.active;\n currVal_0;\n}\nfunction _View_InPlaceInteractionContextComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = (_decl0_98.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_98.animationDuration;\n currVal_2;\n const currVal_3:any = _decl0_19.dynamicHeight;\n currVal_3;\n const currVal_4:any = (_decl0_19.headerPosition === 'below');\n currVal_4;\n const currVal_5:any = false;\n currVal_5;\n}\nfunction _View_AddItemInteractionContextComponent_Host_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.active;\n currVal_0;\n const currVal_1:any = _decl0_99.tabindex;\n currVal_1;\n}\nfunction _View_AddItemInteractionContextComponent_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_98.active;\n currVal_1;\n const currVal_2:any = _decl0_99.clickCommand;\n currVal_2;\n const currVal_3:any = _decl0_99.icon;\n currVal_3;\n const currVal_4:any = _decl0_99.label;\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_ActivityActionsComponent_Host_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.layout;\n currVal_0;\n const currVal_1:any = _decl0_100.align;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_100.hasConfirmFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_100.confirmFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_100.hasCancelFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_100.cancelFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.hasConfirmFace();\n currVal_0;\n const currVal_1:any = _decl0_100.hasCancelFace();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_101.active;\n currVal_0;\n}\nfunction _View_PopupInteractionContextComponent_9_0():void {\n var _any:any = (null as any);\n}\nfunction _View_StringInputActivity_Host_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.class;\n currVal_0;\n const currVal_1:any = _decl0_102.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_102.layout;\n currVal_2;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.data.label;\n currVal_0;\n const currVal_1:any = _decl0_102.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_102.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_102.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_102.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_58.dense;\n currVal_5;\n const currVal_6:any = _decl0_58.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_102.data.buttonStyle;\n currVal_7;\n const currVal_8:any = _decl0_102.layout;\n currVal_8;\n const currVal_9:any = 'end';\n currVal_9;\n const currVal_10:any = _decl0_100.layout;\n currVal_10;\n const currVal_11:any = _decl0_100.align;\n currVal_11;\n const pd_12:any = ((<any>_decl0_58.notifyClick()) !== false);\n const pd_13:any = ((<any>_decl0_58.notifyFocusIn()) !== false);\n const pd_14:any = ((<any>_decl0_58.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_103.class;\n currVal_0;\n const currVal_1:any = _decl0_103.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_103.layout;\n currVal_2;\n}\nfunction _View_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_103.data.label;\n currVal_0;\n const currVal_1:any = _decl0_103.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_103.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_103.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_103.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_103.options;\n currVal_5;\n const currVal_6:any = _decl0_103.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_62.dense;\n currVal_7;\n const currVal_8:any = _decl0_62.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_103.data.buttonStyle;\n currVal_9;\n const currVal_10:any = _decl0_103.layout;\n currVal_10;\n const currVal_11:any = 'end';\n currVal_11;\n const currVal_12:any = _decl0_100.layout;\n currVal_12;\n const currVal_13:any = _decl0_100.align;\n currVal_13;\n const pd_14:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_15:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_16:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_InputActivity_Host_12_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_104.class;\n currVal_0;\n const currVal_1:any = _decl0_104.isFocused;\n currVal_1;\n const currVal_2:any = _decl0_104.layout;\n currVal_2;\n}\nfunction _View_InputActivity_12_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Activity_Host_13_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_106.class;\n currVal_0;\n const currVal_1:any = _decl0_106.isFocused;\n currVal_1;\n}\nfunction _View_Activity_13_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_Host_14_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_107.color;\n currVal_1;\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityBodyComponent_Host_15_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_108.fullWidth;\n currVal_0;\n}\nfunction _View_ActivityBodyComponent_15_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractActivityTriggerComponent_Host_16_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_109.isActive;\n currVal_0;\n}\nfunction _View_AbstractActivityTriggerComponent_16_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PopupActivityTriggerComponent_Host_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.isActive;\n currVal_0;\n}\nfunction _View_PopupActivityTriggerComponent_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.anchorX;\n currVal_0;\n const currVal_1:any = _decl0_110.anchorY;\n currVal_1;\n const currVal_2:any = _decl0_101.active;\n currVal_2;\n const currVal_3:any = _decl0_110.startActivityCommand;\n currVal_3;\n const currVal_4:any = _decl0_110.faceModel;\n currVal_4;\n const currVal_5:any = _decl0_110.alignFace;\n currVal_5;\n const currVal_6:any = _decl0_81.alignFace;\n currVal_6;\n}\nfunction _View_InlineActivityTriggerComponent_Host_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.isActive;\n currVal_0;\n}\nfunction _View_InlineActivityTriggerComponent_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_98.active;\n currVal_1;\n const currVal_2:any = _decl0_111.startActivityCommand;\n currVal_2;\n const currVal_3:any = _decl0_111.faceModel;\n currVal_3;\n const currVal_4:any = _decl0_111.alignFace;\n currVal_4;\n const currVal_5:any = _decl0_81.alignFace;\n currVal_5;\n}\nfunction _View_ModalActivityTriggerComponent_Host_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.isActive;\n currVal_0;\n}\nfunction _View_ModalActivityTriggerComponent_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_112.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_112.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n}\nfunction _View_AddCardActivityComponent_Host_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.isActive;\n currVal_0;\n const currVal_1:any = _decl0_113.activityTypeClass;\n currVal_1;\n}\nfunction _View_AddCardActivityComponent_20_1():void {\n if (_decl0_113.isRenderAsButton()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_113.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_113.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n }\n}\nfunction _View_AddCardActivityComponent_20_2():void {\n if (_decl0_113.isRenderAsCard()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.faceList.value;\n currVal_0;\n const currVal_1:any = _decl0_83.requiresMissingIconInLayout;\n currVal_1;\n const currVal_2:any = _decl0_83.color;\n currVal_2;\n }\n}\nfunction _View_AddCardActivityComponent_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_113.startActivityCommand;\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_98.active;\n currVal_2;\n const currVal_3:any = _decl0_113.isRenderAsButton();\n currVal_3;\n const currVal_4:any = _decl0_113.isRenderAsCard();\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_InlineStringEditorComponent_Host_21_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InlineStringEditorComponent_21_2():void {\n if ((!_decl0_114.editorModel.isEditing() && _decl0_114.editCommand.enabled.value)) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_114.editCommand;\n currVal_0;\n const currVal_1:any = _decl0_114.editFaceModel;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_InlineStringEditorComponent_21_1():void {\n if (!_decl0_114.editorModel.isEditing()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_114.editCommand.enabled.value;\n currVal_0;\n const currVal_1:any = _decl0_114.label;\n currVal_1;\n const currVal_2:any = _decl0_114.empty.value;\n currVal_2;\n const currVal_3:any = _decl0_114.editingEnabled.value;\n currVal_3;\n const currVal_4:any = _decl0_114.displayValue.value;\n currVal_4;\n const currVal_5:any = _decl0_114.editCommand.enabled.value;\n currVal_5;\n const pd_6:any = ((<any>_decl0_114.editCommand.execute()) !== false);\n }\n}\nfunction _View_InlineStringEditorComponent_21_0():void {\n var _any:any = (null as any);\n const currVal_0:any = !_decl0_114.editorModel.isEditing();\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_98.active;\n currVal_2;\n}\n"]}
@@ -5732,12 +5732,28 @@ PopupActivityTriggerComponent.propDecorators = {
5732
5732
  _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5733
5733
  };
5734
5734
 
5735
- class InlineEditorModel {
5735
+ class InlineEditorModel extends GarbageCollector {
5736
5736
  constructor(valueModel, saveCallback) {
5737
+ super();
5737
5738
  this.valueModel = valueModel;
5738
5739
  this.saveCallback = saveCallback;
5739
5740
  this.editing = new MutableValueModel(false);
5740
5741
  this._validators = new MutableListModel();
5742
+ this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
5743
+ const { when } = Dsl.disposeWith(this);
5744
+ when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
5745
+ }
5746
+ get editingEnabled() {
5747
+ return this._editingEnabled.readonly;
5748
+ }
5749
+ disableWhile(condition) {
5750
+ const { chain } = Dsl.disposeWith(this);
5751
+ this.enableWhile(chain(condition).isFalsey());
5752
+ return this;
5753
+ }
5754
+ enableWhile(condition) {
5755
+ this._editingEnabled.setDelegate(condition);
5756
+ return this;
5741
5757
  }
5742
5758
  get validators() {
5743
5759
  return this._validators.readonly;
@@ -5786,6 +5802,7 @@ TrackExternal.oneTimeBinding(InlineEditorModel);
5786
5802
  class InlineStringEditorComponent extends DisposableComponent {
5787
5803
  constructor(interactionService) {
5788
5804
  super();
5805
+ this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
5789
5806
  const { chain, when, valueOf } = Dsl.disposeWith(this);
5790
5807
  const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5791
5808
  const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
@@ -5806,7 +5823,7 @@ class InlineStringEditorComponent extends DisposableComponent {
5806
5823
  finally {
5807
5824
  this.editorModel.editing.value = false;
5808
5825
  }
5809
- }));
5826
+ })).enableWhile(this.editingEnabled);
5810
5827
  this.onDispose(() => this.cancelEdit());
5811
5828
  }
5812
5829
  ngOnInit() {
@@ -5816,6 +5833,7 @@ class InlineStringEditorComponent extends DisposableComponent {
5816
5833
  if (!this.editorModel) {
5817
5834
  lang$1.illegalState('editorModel is required');
5818
5835
  }
5836
+ this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
5819
5837
  when(this.editorModel.editing).becomesTruthy(() => {
5820
5838
  this.editCommand.execute();
5821
5839
  }, { asLongAs: this.editCommand.enabled });
@@ -5863,7 +5881,7 @@ class InlineStringEditorComponent extends DisposableComponent {
5863
5881
  InlineStringEditorComponent.decorators = [
5864
5882
  { type: Component, args: [{
5865
5883
  selector: 'aup-inline-string-editor',
5866
- template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
5884
+ template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" [class.editing-enabled]=\"editingEnabled.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
5867
5885
  },] }
5868
5886
  ];
5869
5887
  InlineStringEditorComponent.ctorParameters = () => [