@pepperi-addons/ngx-composite-lib 0.4.2-beta.72 → 0.4.2-beta.74

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 +1 @@
1
- {"version":3,"file":"pepperi-addons-ngx-composite-lib-flow-picker-button.mjs","sources":["../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.service.ts","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.component.ts","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.component.html","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.module.ts","../../../projects/ngx-composite-lib/flow-picker-button/public-api.ts","../../../projects/ngx-composite-lib/flow-picker-button/pepperi-addons-ngx-composite-lib-flow-picker-button.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\nimport { PepHttpService, PepSessionService } from '@pepperi-addons/ngx-lib';\nimport { lastValueFrom } from \"rxjs\";\n\n@Injectable({\n providedIn: 'root',\n})\nexport class FlowPickerService {\n \n constructor(\n private httpService: PepHttpService\n ) {\n }\n \n async searchFlows(flowKey: string): Promise<any> {\n return lastValueFrom(await this.httpService.postPapiApiCall('/user_defined_flows/search', { KeyList: [flowKey], Fields: ['Key', 'Name']}));\n }\n}","import { Component, EventEmitter, Input, OnInit, Output, ViewContainerRef } from '@angular/core';\nimport { PepStyleType } from '@pepperi-addons/ngx-lib';\nimport { PepAddonBlockLoaderService } from '@pepperi-addons/ngx-lib/remote-loader';\nimport { FlowPickerService } from './flow-picker-button.service';\nimport { PepDialogSizeType } from '@pepperi-addons/ngx-lib/dialog';\n\n@Component({\n selector: 'pep-flow-picker-button',\n templateUrl: './flow-picker-button.component.html',\n styleUrls: ['./flow-picker-button.component.scss']\n})\nexport class FlowPickerButtonComponent implements OnInit {\n\n private _flowHostObject: any = undefined;\n @Input()\n set flowHostObject(value: any) {\n this._flowHostObject = value;\n \n // If there is a flow key - search for the flow name.\n if (value?.runFlowData?.FlowKey) {\n this.setChoosenFlow(value.runFlowData.FlowKey);\n } else {\n this.initChoosenFlow('');\n }\n }\n get flowHostObject(): any {\n return this._flowHostObject;\n }\n\n @Input() disabled = false;\n @Input() styleType: PepStyleType = 'weak';\n @Input() flowDlgSize: PepDialogSizeType = 'small';\n @Output()\n flowChange: EventEmitter<any> = new EventEmitter<any>();\n \n protected choosenFlowName = '';\n protected choosenFlowKey = '';\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private addonBlockLoaderService: PepAddonBlockLoaderService, \n private flowPickerService: FlowPickerService) { }\n\n private initChoosenFlow(flowKey: string) {\n this.choosenFlowKey = flowKey;\n this.choosenFlowName = '';\n }\n\n private setChoosenFlow(flowKey: string) {\n // If this is not the same flow key\n if (this.choosenFlowKey !== flowKey) {\n this.initChoosenFlow(flowKey);\n \n // Search for the flow name.\n this.flowPickerService.searchFlows(flowKey).then(flows => {\n if (flows?.Objects?.length > 0) {\n this.choosenFlowName = flows.Objects[0].Name || undefined;\n }\n });\n }\n }\n\n ngOnInit() {\n // Do nothing.\n }\n\n openFlowPickerDialog() {\n const dialogRef = this.addonBlockLoaderService.loadAddonBlockInDialog({\n container: this.viewContainerRef,\n name: 'FlowPicker',\n size: this.flowDlgSize,\n hostObject: this.flowHostObject,\n hostEventsCallback: async (event) => {\n if (event.action === 'on-done') {\n // If flow key exist - search for the flow name.\n if (event.data?.FlowKey) {\n this.setChoosenFlow(event.data.FlowKey);\n this.flowChange.emit(event.data);\n } else {\n this.initChoosenFlow('');\n this.flowChange.emit(null);\n }\n\n dialogRef?.close();\n } else if (event.action === 'on-cancel') {\n dialogRef?.close();\n }\n }\n });\n }\n}\n","<pep-button class=\"flow-button\" [styleType]=\"styleType\"\n [value]=\"choosenFlowKey ? (choosenFlowName || choosenFlowKey) : ('FLOW_PICKER_BUTTON.CHOOSE_FLOW' | translate)\" \n [disabled]=\"disabled\" (buttonClick)=\"openFlowPickerDialog()\">\n</pep-button>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PepNgxLibModule } from '@pepperi-addons/ngx-lib';\nimport { PepButtonModule } from '@pepperi-addons/ngx-lib/button';\nimport { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';\n\nimport { FlowPickerButtonComponent } from './flow-picker-button.component';\nimport { FlowPickerService } from './flow-picker-button.service';\n\n@NgModule({\n declarations: [\n FlowPickerButtonComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepButtonModule,\n PepRemoteLoaderModule\n ],\n providers: [FlowPickerService],\n exports: [FlowPickerButtonComponent],\n})\nexport class PepFlowPickerButtonModule { }\n","/*\n * Public API Surface of ngx-composite-lib/flow-picker-button\n */\nexport * from './flow-picker-button.module';\nexport * from './flow-picker-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.FlowPickerService"],"mappings":";;;;;;;;;;;;;MAOa,iBAAiB,CAAA;AAE1B,IAAA,WAAA,CACY,WAA2B,EAAA;AAA3B,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAgB;KAEtC;AAEK,IAAA,WAAW,CAAC,OAAe,EAAA;;AAC7B,YAAA,OAAO,aAAa,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,4BAA4B,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAAC,CAAC,CAAC,CAAC;SAC9I,CAAA,CAAA;AAAA,KAAA;;8GATQ,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,cAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,E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A,EAAA,IAAA,EAAA,yBAAyB,EAHvB,SAAA,EAAA,CAAC,iBAAiB,CAAC,YAL1B,YAAY;QACZ,eAAe;QACf,eAAe;QACf,qBAAqB,CAAA,EAAA,CAAA,CAAA;2FAKhB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAbrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,yBAAyB;AAC5B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,qBAAqB;AACxB,qBAAA;oBACD,SAAS,EAAE,CAAC,iBAAiB,CAAC;oBAC9B,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACvC,CAAA;;;ACrBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"pepperi-addons-ngx-composite-lib-flow-picker-button.mjs","sources":["../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.service.ts","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.component.ts","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.component.html","../../../projects/ngx-composite-lib/flow-picker-button/flow-picker-button.module.ts","../../../projects/ngx-composite-lib/flow-picker-button/public-api.ts","../../../projects/ngx-composite-lib/flow-picker-button/pepperi-addons-ngx-composite-lib-flow-picker-button.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\nimport { PepHttpService, PepSessionService } from '@pepperi-addons/ngx-lib';\nimport { lastValueFrom } from \"rxjs\";\n\n@Injectable({\n providedIn: 'root',\n})\nexport class FlowPickerService {\n \n constructor(\n private httpService: PepHttpService\n ) {\n }\n \n async searchFlows(flowKey: string): Promise<any> {\n return lastValueFrom(await this.httpService.postPapiApiCall('/user_defined_flows/search', { KeyList: [flowKey], Fields: ['Key', 'Name']}));\n }\n}","import { Component, EventEmitter, Input, OnInit, Output, ViewContainerRef } from '@angular/core';\nimport { PepStyleType } from '@pepperi-addons/ngx-lib';\nimport { PepAddonBlockLoaderService } from '@pepperi-addons/ngx-lib/remote-loader';\nimport { FlowPickerService } from './flow-picker-button.service';\nimport { PepDialogSizeType } from '@pepperi-addons/ngx-lib/dialog';\n\n@Component({\n selector: 'pep-flow-picker-button',\n templateUrl: './flow-picker-button.component.html',\n styleUrls: ['./flow-picker-button.component.scss']\n})\nexport class FlowPickerButtonComponent implements OnInit {\n\n private _flowHostObject: any = undefined;\n @Input()\n set flowHostObject(value: any) {\n this._flowHostObject = value;\n \n // If there is a flow key - search for the flow name.\n if (value?.runFlowData?.FlowKey) {\n this.setChoosenFlow(value.runFlowData.FlowKey);\n } else {\n this.initChoosenFlow('');\n }\n }\n get flowHostObject(): any {\n return this._flowHostObject;\n }\n\n @Input() disabled = false;\n @Input() styleType: PepStyleType = 'weak';\n @Input() flowDlgSize: PepDialogSizeType = 'regular';\n @Output()\n flowChange: EventEmitter<any> = new EventEmitter<any>();\n \n protected choosenFlowName = '';\n protected choosenFlowKey = '';\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private addonBlockLoaderService: PepAddonBlockLoaderService, \n private flowPickerService: FlowPickerService) { }\n\n private initChoosenFlow(flowKey: string) {\n this.choosenFlowKey = flowKey;\n this.choosenFlowName = '';\n }\n\n private setChoosenFlow(flowKey: string) {\n // If this is not the same flow key\n if (this.choosenFlowKey !== flowKey) {\n this.initChoosenFlow(flowKey);\n \n // Search for the flow name.\n this.flowPickerService.searchFlows(flowKey).then(flows => {\n if (flows?.Objects?.length > 0) {\n this.choosenFlowName = flows.Objects[0].Name || undefined;\n }\n });\n }\n }\n\n ngOnInit() {\n // Do nothing.\n }\n\n openFlowPickerDialog() {\n const dialogRef = this.addonBlockLoaderService.loadAddonBlockInDialog({\n container: this.viewContainerRef,\n name: 'FlowPicker',\n size: this.flowDlgSize,\n hostObject: this.flowHostObject,\n hostEventsCallback: async (event) => {\n if (event.action === 'on-done') {\n // If flow key exist - search for the flow name.\n if (event.data?.FlowKey) {\n this.setChoosenFlow(event.data.FlowKey);\n this.flowChange.emit(event.data);\n } else {\n this.initChoosenFlow('');\n this.flowChange.emit(null);\n }\n\n dialogRef?.close();\n } else if (event.action === 'on-cancel') {\n dialogRef?.close();\n }\n }\n });\n }\n}\n","<pep-button class=\"flow-button\" [styleType]=\"styleType\"\n [value]=\"choosenFlowKey ? (choosenFlowName || choosenFlowKey) : ('FLOW_PICKER_BUTTON.CHOOSE_FLOW' | translate)\" \n [disabled]=\"disabled\" (buttonClick)=\"openFlowPickerDialog()\">\n</pep-button>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PepNgxLibModule } from '@pepperi-addons/ngx-lib';\nimport { PepButtonModule } from '@pepperi-addons/ngx-lib/button';\nimport { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';\n\nimport { FlowPickerButtonComponent } from './flow-picker-button.component';\nimport { FlowPickerService } from './flow-picker-button.service';\n\n@NgModule({\n declarations: [\n FlowPickerButtonComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepButtonModule,\n PepRemoteLoaderModule\n ],\n providers: [FlowPickerService],\n exports: [FlowPickerButtonComponent],\n})\nexport class PepFlowPickerButtonModule { }\n","/*\n * Public API Surface of ngx-composite-lib/flow-picker-button\n */\nexport * from './flow-picker-button.module';\nexport * from './flow-picker-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.FlowPickerService"],"mappings":";;;;;;;;;;;;;MAOa,iBAAiB,CAAA;AAE1B,IAAA,WAAA,CACY,WAA2B,EAAA;AAA3B,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAgB;KAEtC;AAEK,IAAA,WAAW,CAAC,OAAe,EAAA;;AAC7B,YAAA,OAAO,aAAa,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,4BAA4B,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC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EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;uHAAzB,yBAAyB,EAAA,YAAA,EAAA,CAX9B,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAGzB,YAAY;QACZ,eAAe;QACf,eAAe;QACf,qBAAqB,aAGf,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAE1B,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,EAHvB,SAAA,EAAA,CAAC,iBAAiB,CAAC,YAL1B,YAAY;QACZ,eAAe;QACf,eAAe;QACf,qBAAqB,CAAA,EAAA,CAAA,CAAA;2FAKhB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAbrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,yBAAyB;AAC5B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,qBAAqB;AACxB,qBAAA;oBACD,SAAS,EAAE,CAAC,iBAAiB,CAAC;oBAC9B,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACvC,CAAA;;;ACrBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -325,14 +325,16 @@ class LayoutBuilderInternalService {
325
325
  loadDefaultEditor(layoutView) {
326
326
  this._editorsBreadCrumb = new Array();
327
327
  if (layoutView) {
328
- this._editorsBreadCrumb.push({
329
- id: LayoutBuilderInternalService.MAIN_EDITOR_ID,
330
- type: 'layout-builder',
331
- title: this.translate.instant('LAYOUT_BUILDER.DEFAULT_TITLE'),
332
- // hostObject: {} // Updates in updateLayoutEditorProperties function above.
328
+ this.translate.get('LAYOUT_BUILDER.DEFAULT_TITLE').subscribe((title) => {
329
+ this._editorsBreadCrumb.push({
330
+ id: LayoutBuilderInternalService.MAIN_EDITOR_ID,
331
+ type: 'layout-builder',
332
+ title: title,
333
+ // hostObject: {} // Updates in updateLayoutEditorProperties function above.
334
+ });
335
+ this.updateLayoutEditorProperties(layoutView);
336
+ this.notifyEditorChange(this._editorsBreadCrumb[0]);
333
337
  });
334
- this.updateLayoutEditorProperties(layoutView);
335
- this.notifyEditorChange(this._editorsBreadCrumb[0]);
336
338
  }
337
339
  else {
338
340
  this.notifyEditorChange(null);
@@ -997,7 +999,8 @@ class SectionComponent extends BaseDestroyerDirective {
997
999
  // this.refreshSplit();
998
1000
  // }
999
1001
  get editable() {
1000
- return true; //this.layoutBuilderInternalService.editableState;;
1002
+ return this.layoutBuilderInternalService.editableState;
1003
+ ;
1001
1004
  }
1002
1005
  set screenSize(value) {
1003
1006
  this._screenSize = value;