ngx-histaff-alpha 5.9.3 → 5.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-BzUUTmoN.mjs → ngx-histaff-alpha-ai-hint-for-table.component-DLAzu91v.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-BzUUTmoN.mjs.map → ngx-histaff-alpha-ai-hint-for-table.component-DLAzu91v.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-form-design.component-C_yKnqtf.mjs → ngx-histaff-alpha-core-form-design.component-XnxFJVMG.mjs} +8 -8
- package/fesm2022/{ngx-histaff-alpha-core-form-design.component-C_yKnqtf.mjs.map → ngx-histaff-alpha-core-form-design.component-XnxFJVMG.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-sticker-collection.component-Bl-aiwIo.mjs → ngx-histaff-alpha-core-sticker-collection.component-CZkBMdmR.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-core-sticker-collection.component-Bl-aiwIo.mjs.map → ngx-histaff-alpha-core-sticker-collection.component-CZkBMdmR.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-B74LCLn2.mjs → ngx-histaff-alpha-core-toast-loading.component-D4TOLB1x.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-B74LCLn2.mjs.map → ngx-histaff-alpha-core-toast-loading.component-D4TOLB1x.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-BDBQQUAT.mjs → ngx-histaff-alpha-core-workflow-consume.component-gfl1QYVw.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-BDBQQUAT.mjs.map → ngx-histaff-alpha-core-workflow-consume.component-gfl1QYVw.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-BVIb2eWg.mjs → ngx-histaff-alpha-db-settings.component-Ctk7HaEI.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-BVIb2eWg.mjs.map → ngx-histaff-alpha-db-settings.component-Ctk7HaEI.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-KuubA0Jn.mjs → ngx-histaff-alpha-design-wrapper.component-CxD9dq2U.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-KuubA0Jn.mjs.map → ngx-histaff-alpha-design-wrapper.component-CxD9dq2U.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-CSmaOUHg.mjs → ngx-histaff-alpha-design-wrapper.route-BpNyW39l.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-CSmaOUHg.mjs.map → ngx-histaff-alpha-design-wrapper.route-BpNyW39l.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-form-array-props.component-DuM5ZMkG.mjs → ngx-histaff-alpha-form-array-props.component-2LAdaUGH.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-form-array-props.component-DuM5ZMkG.mjs.map → ngx-histaff-alpha-form-array-props.component-2LAdaUGH.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-live-form.component-D7oAY8-L.mjs → ngx-histaff-alpha-live-form.component-D5QmNGTt.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-live-form.component-D7oAY8-L.mjs.map → ngx-histaff-alpha-live-form.component-D5QmNGTt.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-ngx-histaff-alpha-Dh4tWGKT.mjs → ngx-histaff-alpha-ngx-histaff-alpha-CNgfQzS2.mjs} +73 -20
- package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-CNgfQzS2.mjs.map +1 -0
- package/fesm2022/ngx-histaff-alpha-simple-chat.component-B9DuVF_F.mjs +58 -0
- package/fesm2022/ngx-histaff-alpha-simple-chat.component-B9DuVF_F.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-D77fag1W.mjs → ngx-histaff-alpha-tracker-studio.component-DTHqwNht.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-D77fag1W.mjs.map → ngx-histaff-alpha-tracker-studio.component-DTHqwNht.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-CixDiq8u.mjs → ngx-histaff-alpha-wf-form-assign.component-DEe0Yo2C.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-CixDiq8u.mjs.map → ngx-histaff-alpha-wf-form-assign.component-DEe0Yo2C.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-oBkeUjfP.mjs → ngx-histaff-alpha-wf-instance-status.component-ru70eRA8.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-oBkeUjfP.mjs.map → ngx-histaff-alpha-wf-instance-status.component-ru70eRA8.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-D53ZEW27.mjs → ngx-histaff-alpha-wf-instance-step-react.component-CWWhTLxl.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-D53ZEW27.mjs.map → ngx-histaff-alpha-wf-instance-step-react.component-CWWhTLxl.mjs.map} +1 -1
- package/fesm2022/ngx-histaff-alpha.mjs +1 -1
- package/lib/app/enum/EnumSignalRType.d.ts +2 -1
- package/lib/app/libraries/core-form-design/core-form-design.service.d.ts +1 -0
- package/lib/app/root/simple-chat/simple-chat.component.d.ts +22 -0
- package/lib/app/root/simple-chat/simple-chat.routes.d.ts +2 -0
- package/lib/app/services/chat.service.d.ts +10 -0
- package/lib/app/services/socket.service.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-Dh4tWGKT.mjs.map +0 -1
|
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, signal, inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import {
|
|
6
|
-
import { D as DbService } from './ngx-histaff-alpha-core-toast-loading.component-
|
|
5
|
+
import { f as BaseComponent, c as CoreWorkflowService, T as TranslatePipe, h as TooltipDirective } from './ngx-histaff-alpha-ngx-histaff-alpha-CNgfQzS2.mjs';
|
|
6
|
+
import { D as DbService } from './ngx-histaff-alpha-core-toast-loading.component-D4TOLB1x.mjs';
|
|
7
7
|
import { take } from 'rxjs';
|
|
8
8
|
|
|
9
9
|
class AiHintForTableComponent extends BaseComponent {
|
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
51
51
|
}] });
|
|
52
52
|
|
|
53
53
|
export { AiHintForTableComponent };
|
|
54
|
-
//# sourceMappingURL=ngx-histaff-alpha-ai-hint-for-table.component-
|
|
54
|
+
//# sourceMappingURL=ngx-histaff-alpha-ai-hint-for-table.component-DLAzu91v.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-histaff-alpha-ai-hint-for-table.component-
|
|
1
|
+
{"version":3,"file":"ngx-histaff-alpha-ai-hint-for-table.component-DLAzu91v.mjs","sources":["../../../projects/ngx-histaff-alpha/src/lib/app/libraries/core-workflow-builder/db-settings/ai-hint-for-table/ai-hint-for-table.component.ts","../../../projects/ngx-histaff-alpha/src/lib/app/libraries/core-workflow-builder/db-settings/ai-hint-for-table/ai-hint-for-table.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, input, signal } from '@angular/core';\r\nimport { IWorkflowSchemaTable } from '../../interfaces/IWorkflowSchema';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { TranslatePipe } from '../../../../app-pipes/translate.pipe';\r\nimport { TooltipDirective } from '../../../tooltip/tooltip.directive';\r\nimport { BaseComponent } from '../../../base-component/base/base.component';\r\nimport { DbService } from '../../../../services/db.service';\r\nimport { CoreWorkflowService } from '../../core-workflow.service';\r\nimport { take } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'ai-hint-for-table',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n TranslatePipe,\r\n TooltipDirective,\r\n ReactiveFormsModule,\r\n ],\r\n templateUrl: './ai-hint-for-table.component.html',\r\n styleUrl: './ai-hint-for-table.component.scss'\r\n})\r\nexport class AiHintForTableComponent extends BaseComponent {\r\n $table = input.required<IWorkflowSchemaTable>()\r\n\r\n $editing = signal(false);\r\n hintControl = new FormControl('');\r\n\r\n dbs = inject(DbService);\r\n wfs = inject(CoreWorkflowService);\r\n\r\n override ngOnInit() {\r\n this.subscriptions.push(\r\n this.mls.lang$.subscribe(x => this.lang = x)\r\n )\r\n this.hintControl.setValue(this.$table().hintForAi || '');\r\n }\r\n\r\n startEditing(): void {\r\n this.$editing.set(true);\r\n }\r\n\r\n save(): void {\r\n this.$editing.set(false);\r\n this.wfs.$workflowDbSchema.update(current => {\r\n const founds = current.filter(x => x.id === this.$table().id);\r\n if (founds) {\r\n founds[0].hintForAi = this.hintControl.getRawValue() ?? ''\r\n }\r\n return [...current];\r\n })\r\n this.dbs.updateTableHint(this.$table().table, this.hintControl.getRawValue() ?? '')\r\n .pipe(take(1))\r\n .subscribe({\r\n next: () => console.log('Hint saved'),\r\n error: err => console.error('Failed to save hint', err)\r\n });\r\n }\r\n}\r\n","<span class=\"ai-table-hint-wrapper\">\r\n @if (!$editing()) {\r\n <i\r\n class=\"feather feather-more-vertical ai-table-icon\"\r\n [appTooltip]=\"'Edit Hint for AI' | translate : lang\" [showAnyway]=\"true\"\r\n (click)=\"startEditing()\">\r\n </i>\r\n } @else {\r\n <input\r\n type=\"text\"\r\n class=\"form-control form-control-sm ai-table-hint-input\"\r\n [formControl]=\"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EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAXnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mBAAmB,EACZ,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA;wBACP,aAAa;wBACb,gBAAgB;wBAChB,mBAAmB;AACpB,qBAAA,EAAA,QAAA,EAAA,8gBAAA,EAAA,MAAA,EAAA,CAAA,4RAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, ChangeDetectorRef, Component, signal, effect, HostListener, ChangeDetectionStrategy, Injectable, input, computed, viewChild, ViewContainerRef, Input, EventEmitter, Output, Renderer2, isDevMode } from '@angular/core';
|
|
3
3
|
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
4
|
-
import {
|
|
4
|
+
import { o as CoreFormDesignService, c as CoreWorkflowService, B as BaseEditComponent, j as AlertService, O as AppConfigService, P as EnumCorePageEditMode, Q as EnumCoreButtonVNSCode, R as READONLY_WORKFLOW_FIELDS, U as noneAutoClosedAlertOptions, q as DialogService, M as MultiLanguageService, a as CorePageHeaderComponent, V as CoreFormComponent, W as CoreButtonGroupVnsComponent, T as TranslatePipe, E as EnumFormBaseContolType, f as BaseComponent, X as EnumCoreTablePipeType, K as CoreCheckboxComponent, s as CoreDropdownComponent, h as TooltipDirective, G as GptService, m as alertOptions, z as CoreRadioGroupComponent, Y as HtmlTooltipDirective, d as EnumCoreFormControlSeekerSourceType, Z as CoreControlNoFormArrayComponent, _ as EnumFormDesignMode, r as DomService, L as JsonService, H as ApplicationHelpService, $ as CoreControlComponent, a0 as JsonSafePipe, k as TableCellPipe, J as HotKeysDirective, t as CoreChecklistComponent, v as CoreFormControlSeekerComponent, a1 as CoreAttachmentComponent, u as CoreDatePickerComponent, a2 as CoreMonthSelectorComponent, w as CoreCurrencyInputComponent } from './ngx-histaff-alpha-ngx-histaff-alpha-CNgfQzS2.mjs';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
6
|
import { FormsModule, FormGroup, FormControl, FormArray, Validators, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import { NgStyle, JsonPipe, AsyncPipe, NgTemplateOutlet } from '@angular/common';
|
|
8
8
|
import { BehaviorSubject, catchError, of, filter, distinctUntilChanged, tap, switchMap } from 'rxjs';
|
|
9
9
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
10
|
-
import { CoreStickerCollectionComponent } from './ngx-histaff-alpha-core-sticker-collection.component-
|
|
11
|
-
import { D as DbService, C as CoreToastLoadingComponent } from './ngx-histaff-alpha-core-toast-loading.component-
|
|
10
|
+
import { CoreStickerCollectionComponent } from './ngx-histaff-alpha-core-sticker-collection.component-CZkBMdmR.mjs';
|
|
11
|
+
import { D as DbService, C as CoreToastLoadingComponent } from './ngx-histaff-alpha-core-toast-loading.component-D4TOLB1x.mjs';
|
|
12
12
|
import { EnumTranslateKey } from 'alpha-global-constants';
|
|
13
|
-
import { L as LiveFormComponent } from './ngx-histaff-alpha-live-form.component-
|
|
13
|
+
import { L as LiveFormComponent } from './ngx-histaff-alpha-live-form.component-D5QmNGTt.mjs';
|
|
14
14
|
|
|
15
15
|
const slideFromTopFadeIn = trigger('slideFromTopFadeIn', [
|
|
16
16
|
state('in', style({ opacity: 1, transform: 'translateY(0)' })),
|
|
@@ -1152,7 +1152,7 @@ class FieldSettingComponent extends BaseComponent {
|
|
|
1152
1152
|
'number-props': () => Promise.resolve().then(function () { return numberProps_component; }).then(m => m.NumberPropsComponent),
|
|
1153
1153
|
'email-props': () => import('./ngx-histaff-alpha-email-props.component-Cf35Pexq.mjs').then(m => m.EmailPropsComponent),
|
|
1154
1154
|
'dropdown-props': () => Promise.resolve().then(function () { return dropdownProps_component; }).then(m => m.DropdownPropsComponent),
|
|
1155
|
-
'form-array-props': () => import('./ngx-histaff-alpha-form-array-props.component-
|
|
1155
|
+
'form-array-props': () => import('./ngx-histaff-alpha-form-array-props.component-2LAdaUGH.mjs').then(m => m.FormArrayPropsComponent),
|
|
1156
1156
|
// etc...
|
|
1157
1157
|
};
|
|
1158
1158
|
}
|
|
@@ -2567,7 +2567,7 @@ class CoreFormDesignMonitorComponent {
|
|
|
2567
2567
|
}
|
|
2568
2568
|
ngAfterViewInit() { }
|
|
2569
2569
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: CoreFormDesignMonitorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2570
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.5", type: CoreFormDesignMonitorComponent, isStandalone: true, selector: "core-form-design-monitor", inputs: { $mode: { classPropertyName: "$mode", publicName: "$mode", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"core-form-design-monitor-container\">\r\n <div class=\"list-wrapper\">\r\n <ul>\r\n <li [appTooltip]=\"'Click to view form in the Console'\" [showAnyway]=\"true\" (click)=\"viewFormInConsole()\">\uD83D\uDCE6</li>\r\n <li [appTooltip]=\"'The normalize function called count'\" [showAnyway]=\"true\">{{ normalizeCalledCount$ | async }}</li>\r\n <li [htmlTooltip]=\"controlTemplate\" [hold$]=\"holdControlTemplate$\"\r\n [class.hold]=\"holdControlTemplate$ | async\" (click)=\"toggleHold('controlTemplate')\">CT\r\n </li>\r\n <li [htmlTooltip]=\"nestedControlTemplate\" [hold$]=\"holdNestedControlTemplate$\"\r\n [class.hold]=\"holdNestedControlTemplate$ | async\"\r\n (click)=\"toggleHold('nestedControlTemplate')\">NCT</li>\r\n <li [htmlTooltip]=\"selectedCell\" [hold$]=\"holdSelectedCell$\" [class.hold]=\"holdSelectedCell$ | async\"\r\n (click)=\"toggleHold('selectedCell')\">SC</li>\r\n <li [htmlTooltip]=\"nestedSelectedCell\" [hold$]=\"holdNestedSelectedCell$\"\r\n [class.hold]=\"holdNestedSelectedCell$ | async\" (click)=\"toggleHold('nestedSelectedCell')\">NSC</li>\r\n <li [htmlTooltip]=\"control\" [hold$]=\"holdControl$\" [class.hold]=\"holdControl$ | async\"\r\n (click)=\"toggleHold('control')\">
|
|
2570
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.5", type: CoreFormDesignMonitorComponent, isStandalone: true, selector: "core-form-design-monitor", inputs: { $mode: { classPropertyName: "$mode", publicName: "$mode", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"core-form-design-monitor-container\">\r\n <div class=\"list-wrapper\">\r\n <ul>\r\n <li [appTooltip]=\"'Click to view form in the Console'\" [showAnyway]=\"true\" (click)=\"viewFormInConsole()\">\uD83D\uDCE6</li>\r\n <li [appTooltip]=\"'The normalize function called count'\" [showAnyway]=\"true\">{{ normalizeCalledCount$ | async }}</li>\r\n <li [htmlTooltip]=\"controlTemplate\" [hold$]=\"holdControlTemplate$\"\r\n [class.hold]=\"holdControlTemplate$ | async\" (click)=\"toggleHold('controlTemplate')\">CT\r\n </li>\r\n <li [htmlTooltip]=\"nestedControlTemplate\" [hold$]=\"holdNestedControlTemplate$\"\r\n [class.hold]=\"holdNestedControlTemplate$ | async\"\r\n (click)=\"toggleHold('nestedControlTemplate')\">NCT</li>\r\n <li [htmlTooltip]=\"selectedCell\" [hold$]=\"holdSelectedCell$\" [class.hold]=\"holdSelectedCell$ | async\"\r\n (click)=\"toggleHold('selectedCell')\">SC</li>\r\n <li [htmlTooltip]=\"nestedSelectedCell\" [hold$]=\"holdNestedSelectedCell$\"\r\n [class.hold]=\"holdNestedSelectedCell$ | async\" (click)=\"toggleHold('nestedSelectedCell')\">NSC</li>\r\n <li [htmlTooltip]=\"control\" [hold$]=\"holdControl$\" [class.hold]=\"holdControl$ | async\"\r\n (click)=\"toggleHold('control')\">C</li>\r\n <li [htmlTooltip]=\"nestedControl\" [hold$]=\"holdNestedControl$\"\r\n [class.hold]=\"holdNestedControl$ | async\" (click)=\"toggleHold('nestedControl')\">NC</li>\r\n <li [htmlTooltip]=\"placeholderSections\" [hold$]=\"holdPlaceholderSections$\"\r\n [class.hold]=\"holdPlaceholderSections$ | async\" (click)=\"toggleHold('placeholderSections')\">PHS</li>\r\n <li [htmlTooltip]=\"nestedPlaceholderSections\" [hold$]=\"holdNestedPlaceholderSections$\"\r\n [class.hold]=\"holdNestedPlaceholderSections$ | async\" (click)=\"toggleHold('nestedPlaceholderSections')\">\r\n NPHS</li>\r\n </ul>\r\n </div>\r\n\r\n <ng-template #controlTemplate>\r\n <div class=\"pre-holder\">\r\n <p>$controlTemplate</p>\r\n <pre>{{ $controlTemplate() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedControlTemplate>\r\n <div class=\"pre-holder\">\r\n <p>$nestedControlTemplate</p>\r\n <pre>{{ $nestedControlTemplate() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #selectedCell>\r\n <div class=\"pre-holder\">\r\n <p>$selectedCell</p>\r\n <pre>{{ $selectedCell() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedSelectedCell>\r\n <div class=\"pre-holder\">\r\n <p>$nestedSelectedCell</p>\r\n <pre>{{ $nestedSelectedCell() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #control>\r\n <div class=\"pre-holder\">\r\n <p>$control</p>\r\n <pre>{{ $control() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedControl>\r\n <div class=\"pre-holder\">\r\n <p>$nestedControl</p>\r\n <pre>{{ $nestedControl() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #placeholderSections>\r\n <div class=\"pre-holder\">\r\n <p>$placeholderSections</p>\r\n <pre>{{ $placeholderSections() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedPlaceholderSections>\r\n <div class=\"pre-holder\">\r\n <p>$nestedPlaceholderSections</p>\r\n <pre>{{ $nestedPlaceholderSections() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n\r\n\r\n</div>", styles: [".core-form-design-monitor-container .list-wrapper{position:relative}.core-form-design-monitor-container .list-wrapper ul{display:flex;flex:auto;padding:0;margin:0}.core-form-design-monitor-container .list-wrapper ul li{height:34px;width:34px;display:flex;align-items:center;justify-content:center;border:1px solid #848484;cursor:pointer;margin-right:8px;font-size:10px}.core-form-design-monitor-container .list-wrapper ul li.hold{background-color:bisque}.core-form-design-monitor-container .pre-holder{max-height:60%;overflow:auto}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[appTooltip]", inputs: ["color", "backgroundColor", "appTooltip", "showAnyway", "position"] }, { kind: "pipe", type: JsonSafePipe, name: "jsonSafe" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: HtmlTooltipDirective, selector: "[htmlTooltip]", inputs: ["htmlTooltip", "tooltipContext", "maxWidthUnset", "backgroundColor", "hold$"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2571
2571
|
}
|
|
2572
2572
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: CoreFormDesignMonitorComponent, decorators: [{
|
|
2573
2573
|
type: Component,
|
|
@@ -2577,7 +2577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
2577
2577
|
JsonSafePipe,
|
|
2578
2578
|
AsyncPipe,
|
|
2579
2579
|
HtmlTooltipDirective,
|
|
2580
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"core-form-design-monitor-container\">\r\n <div class=\"list-wrapper\">\r\n <ul>\r\n <li [appTooltip]=\"'Click to view form in the Console'\" [showAnyway]=\"true\" (click)=\"viewFormInConsole()\">\uD83D\uDCE6</li>\r\n <li [appTooltip]=\"'The normalize function called count'\" [showAnyway]=\"true\">{{ normalizeCalledCount$ | async }}</li>\r\n <li [htmlTooltip]=\"controlTemplate\" [hold$]=\"holdControlTemplate$\"\r\n [class.hold]=\"holdControlTemplate$ | async\" (click)=\"toggleHold('controlTemplate')\">CT\r\n </li>\r\n <li [htmlTooltip]=\"nestedControlTemplate\" [hold$]=\"holdNestedControlTemplate$\"\r\n [class.hold]=\"holdNestedControlTemplate$ | async\"\r\n (click)=\"toggleHold('nestedControlTemplate')\">NCT</li>\r\n <li [htmlTooltip]=\"selectedCell\" [hold$]=\"holdSelectedCell$\" [class.hold]=\"holdSelectedCell$ | async\"\r\n (click)=\"toggleHold('selectedCell')\">SC</li>\r\n <li [htmlTooltip]=\"nestedSelectedCell\" [hold$]=\"holdNestedSelectedCell$\"\r\n [class.hold]=\"holdNestedSelectedCell$ | async\" (click)=\"toggleHold('nestedSelectedCell')\">NSC</li>\r\n <li [htmlTooltip]=\"control\" [hold$]=\"holdControl$\" [class.hold]=\"holdControl$ | async\"\r\n (click)=\"toggleHold('control')\">
|
|
2580
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"core-form-design-monitor-container\">\r\n <div class=\"list-wrapper\">\r\n <ul>\r\n <li [appTooltip]=\"'Click to view form in the Console'\" [showAnyway]=\"true\" (click)=\"viewFormInConsole()\">\uD83D\uDCE6</li>\r\n <li [appTooltip]=\"'The normalize function called count'\" [showAnyway]=\"true\">{{ normalizeCalledCount$ | async }}</li>\r\n <li [htmlTooltip]=\"controlTemplate\" [hold$]=\"holdControlTemplate$\"\r\n [class.hold]=\"holdControlTemplate$ | async\" (click)=\"toggleHold('controlTemplate')\">CT\r\n </li>\r\n <li [htmlTooltip]=\"nestedControlTemplate\" [hold$]=\"holdNestedControlTemplate$\"\r\n [class.hold]=\"holdNestedControlTemplate$ | async\"\r\n (click)=\"toggleHold('nestedControlTemplate')\">NCT</li>\r\n <li [htmlTooltip]=\"selectedCell\" [hold$]=\"holdSelectedCell$\" [class.hold]=\"holdSelectedCell$ | async\"\r\n (click)=\"toggleHold('selectedCell')\">SC</li>\r\n <li [htmlTooltip]=\"nestedSelectedCell\" [hold$]=\"holdNestedSelectedCell$\"\r\n [class.hold]=\"holdNestedSelectedCell$ | async\" (click)=\"toggleHold('nestedSelectedCell')\">NSC</li>\r\n <li [htmlTooltip]=\"control\" [hold$]=\"holdControl$\" [class.hold]=\"holdControl$ | async\"\r\n (click)=\"toggleHold('control')\">C</li>\r\n <li [htmlTooltip]=\"nestedControl\" [hold$]=\"holdNestedControl$\"\r\n [class.hold]=\"holdNestedControl$ | async\" (click)=\"toggleHold('nestedControl')\">NC</li>\r\n <li [htmlTooltip]=\"placeholderSections\" [hold$]=\"holdPlaceholderSections$\"\r\n [class.hold]=\"holdPlaceholderSections$ | async\" (click)=\"toggleHold('placeholderSections')\">PHS</li>\r\n <li [htmlTooltip]=\"nestedPlaceholderSections\" [hold$]=\"holdNestedPlaceholderSections$\"\r\n [class.hold]=\"holdNestedPlaceholderSections$ | async\" (click)=\"toggleHold('nestedPlaceholderSections')\">\r\n NPHS</li>\r\n </ul>\r\n </div>\r\n\r\n <ng-template #controlTemplate>\r\n <div class=\"pre-holder\">\r\n <p>$controlTemplate</p>\r\n <pre>{{ $controlTemplate() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedControlTemplate>\r\n <div class=\"pre-holder\">\r\n <p>$nestedControlTemplate</p>\r\n <pre>{{ $nestedControlTemplate() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #selectedCell>\r\n <div class=\"pre-holder\">\r\n <p>$selectedCell</p>\r\n <pre>{{ $selectedCell() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedSelectedCell>\r\n <div class=\"pre-holder\">\r\n <p>$nestedSelectedCell</p>\r\n <pre>{{ $nestedSelectedCell() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #control>\r\n <div class=\"pre-holder\">\r\n <p>$control</p>\r\n <pre>{{ $control() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedControl>\r\n <div class=\"pre-holder\">\r\n <p>$nestedControl</p>\r\n <pre>{{ $nestedControl() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #placeholderSections>\r\n <div class=\"pre-holder\">\r\n <p>$placeholderSections</p>\r\n <pre>{{ $placeholderSections() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n <ng-template #nestedPlaceholderSections>\r\n <div class=\"pre-holder\">\r\n <p>$nestedPlaceholderSections</p>\r\n <pre>{{ $nestedPlaceholderSections() | jsonSafe }}</pre>\r\n </div>\r\n </ng-template>\r\n\r\n\r\n</div>", styles: [".core-form-design-monitor-container .list-wrapper{position:relative}.core-form-design-monitor-container .list-wrapper ul{display:flex;flex:auto;padding:0;margin:0}.core-form-design-monitor-container .list-wrapper ul li{height:34px;width:34px;display:flex;align-items:center;justify-content:center;border:1px solid #848484;cursor:pointer;margin-right:8px;font-size:10px}.core-form-design-monitor-container .list-wrapper ul li.hold{background-color:bisque}.core-form-design-monitor-container .pre-holder{max-height:60%;overflow:auto}\n"] }]
|
|
2581
2581
|
}] });
|
|
2582
2582
|
|
|
2583
2583
|
class CoreFormArrayLayoutEditorComponent {
|
|
@@ -3253,4 +3253,4 @@ var coreFormDesign_component = /*#__PURE__*/Object.freeze({
|
|
|
3253
3253
|
});
|
|
3254
3254
|
|
|
3255
3255
|
export { BasePropsComponent as B, CoreFormDesignComponent as C, coreFormDesign_component as c };
|
|
3256
|
-
//# sourceMappingURL=ngx-histaff-alpha-core-form-design.component-
|
|
3256
|
+
//# sourceMappingURL=ngx-histaff-alpha-core-form-design.component-XnxFJVMG.mjs.map
|