ngx-histaff-alpha 5.9.3 → 5.9.4
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-DcRIHRd_.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-BzUUTmoN.mjs.map → ngx-histaff-alpha-ai-hint-for-table.component-DcRIHRd_.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-form-design.component-C_yKnqtf.mjs → ngx-histaff-alpha-core-form-design.component-CNOV3O1a.mjs} +6 -6
- package/fesm2022/{ngx-histaff-alpha-core-form-design.component-C_yKnqtf.mjs.map → ngx-histaff-alpha-core-form-design.component-CNOV3O1a.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-sticker-collection.component-Bl-aiwIo.mjs → ngx-histaff-alpha-core-sticker-collection.component-5ZXOkgXE.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-core-sticker-collection.component-Bl-aiwIo.mjs.map → ngx-histaff-alpha-core-sticker-collection.component-5ZXOkgXE.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-B74LCLn2.mjs → ngx-histaff-alpha-core-toast-loading.component-B3Z272Dz.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-B74LCLn2.mjs.map → ngx-histaff-alpha-core-toast-loading.component-B3Z272Dz.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-BDBQQUAT.mjs → ngx-histaff-alpha-core-workflow-consume.component-Coq4i7hp.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-BDBQQUAT.mjs.map → ngx-histaff-alpha-core-workflow-consume.component-Coq4i7hp.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-BVIb2eWg.mjs → ngx-histaff-alpha-db-settings.component-B4Lm-0DP.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-BVIb2eWg.mjs.map → ngx-histaff-alpha-db-settings.component-B4Lm-0DP.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-KuubA0Jn.mjs → ngx-histaff-alpha-design-wrapper.component-B1xJZncW.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-KuubA0Jn.mjs.map → ngx-histaff-alpha-design-wrapper.component-B1xJZncW.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-CSmaOUHg.mjs → ngx-histaff-alpha-design-wrapper.route-BX6XCtkc.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-CSmaOUHg.mjs.map → ngx-histaff-alpha-design-wrapper.route-BX6XCtkc.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-form-array-props.component-DuM5ZMkG.mjs → ngx-histaff-alpha-form-array-props.component-B43tGS0w.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-form-array-props.component-DuM5ZMkG.mjs.map → ngx-histaff-alpha-form-array-props.component-B43tGS0w.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-live-form.component-D7oAY8-L.mjs → ngx-histaff-alpha-live-form.component-BMA8yHBZ.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-live-form.component-D7oAY8-L.mjs.map → ngx-histaff-alpha-live-form.component-BMA8yHBZ.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-ngx-histaff-alpha-Dh4tWGKT.mjs → ngx-histaff-alpha-ngx-histaff-alpha-DblZXsAj.mjs} +13 -13
- package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-DblZXsAj.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-D77fag1W.mjs → ngx-histaff-alpha-tracker-studio.component-BrvANynv.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-D77fag1W.mjs.map → ngx-histaff-alpha-tracker-studio.component-BrvANynv.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-CixDiq8u.mjs → ngx-histaff-alpha-wf-form-assign.component-BccHrJ7B.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-CixDiq8u.mjs.map → ngx-histaff-alpha-wf-form-assign.component-BccHrJ7B.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-oBkeUjfP.mjs → ngx-histaff-alpha-wf-instance-status.component-DfglF5PD.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-oBkeUjfP.mjs.map → ngx-histaff-alpha-wf-instance-status.component-DfglF5PD.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-D53ZEW27.mjs → ngx-histaff-alpha-wf-instance-step-react.component-BxlV-j5x.mjs} +3 -3
- package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-D53ZEW27.mjs.map → ngx-histaff-alpha-wf-instance-step-react.component-BxlV-j5x.mjs.map} +1 -1
- package/fesm2022/ngx-histaff-alpha.mjs +1 -1
- package/package.json +1 -1
- 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 { e as BaseComponent, b as CoreWorkflowService, T as TranslatePipe, g as TooltipDirective } from './ngx-histaff-alpha-ngx-histaff-alpha-
|
|
6
|
-
import { D as DbService } from './ngx-histaff-alpha-core-toast-loading.component-
|
|
5
|
+
import { e as BaseComponent, b as CoreWorkflowService, T as TranslatePipe, g as TooltipDirective } from './ngx-histaff-alpha-ngx-histaff-alpha-DblZXsAj.mjs';
|
|
6
|
+
import { D as DbService } from './ngx-histaff-alpha-core-toast-loading.component-B3Z272Dz.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-DcRIHRd_.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-DcRIHRd_.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]=\"hintControl\"\r\n (blur)=\"save()\"\r\n (keydown.enter)=\"save()\" />\r\n }\r\n</span>\r\n"],"names":[],"mappings":";;;;;;;;AAqBM,MAAO,uBAAwB,SAAQ,aAAa,CAAA;AAX1D,IAAA,WAAA,GAAA;;AAYE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAwB;AAE/C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK,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AAA,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 { n as CoreFormDesignService, b as CoreWorkflowService, B as BaseEditComponent, i as AlertService, L as AppConfigService, O as EnumCorePageEditMode, P as EnumCoreButtonVNSCode, R as READONLY_WORKFLOW_FIELDS, Q as noneAutoClosedAlertOptions, p as DialogService, M as MultiLanguageService, C as CorePageHeaderComponent, U as CoreFormComponent, V as CoreButtonGroupVnsComponent, T as TranslatePipe, E as EnumFormBaseContolType, e as BaseComponent, W as EnumCoreTablePipeType, J as CoreCheckboxComponent, r as CoreDropdownComponent, g as TooltipDirective, G as GptService, l as alertOptions, y as CoreRadioGroupComponent, X as HtmlTooltipDirective, c as EnumCoreFormControlSeekerSourceType, Y as CoreControlNoFormArrayComponent, Z as EnumFormDesignMode, q as DomService, K as JsonService, z as ApplicationHelpService, _ as CoreControlComponent, $ as JsonSafePipe, j as TableCellPipe, H as HotKeysDirective, s as CoreChecklistComponent, u as CoreFormControlSeekerComponent, a0 as CoreAttachmentComponent, t as CoreDatePickerComponent, a1 as CoreMonthSelectorComponent, v as CoreCurrencyInputComponent } from './ngx-histaff-alpha-ngx-histaff-alpha-
|
|
4
|
+
import { n as CoreFormDesignService, b as CoreWorkflowService, B as BaseEditComponent, i as AlertService, L as AppConfigService, O as EnumCorePageEditMode, P as EnumCoreButtonVNSCode, R as READONLY_WORKFLOW_FIELDS, Q as noneAutoClosedAlertOptions, p as DialogService, M as MultiLanguageService, C as CorePageHeaderComponent, U as CoreFormComponent, V as CoreButtonGroupVnsComponent, T as TranslatePipe, E as EnumFormBaseContolType, e as BaseComponent, W as EnumCoreTablePipeType, J as CoreCheckboxComponent, r as CoreDropdownComponent, g as TooltipDirective, G as GptService, l as alertOptions, y as CoreRadioGroupComponent, X as HtmlTooltipDirective, c as EnumCoreFormControlSeekerSourceType, Y as CoreControlNoFormArrayComponent, Z as EnumFormDesignMode, q as DomService, K as JsonService, z as ApplicationHelpService, _ as CoreControlComponent, $ as JsonSafePipe, j as TableCellPipe, H as HotKeysDirective, s as CoreChecklistComponent, u as CoreFormControlSeekerComponent, a0 as CoreAttachmentComponent, t as CoreDatePickerComponent, a1 as CoreMonthSelectorComponent, v as CoreCurrencyInputComponent } from './ngx-histaff-alpha-ngx-histaff-alpha-DblZXsAj.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-5ZXOkgXE.mjs';
|
|
11
|
+
import { D as DbService, C as CoreToastLoadingComponent } from './ngx-histaff-alpha-core-toast-loading.component-B3Z272Dz.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-BMA8yHBZ.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-B43tGS0w.mjs').then(m => m.FormArrayPropsComponent),
|
|
1156
1156
|
// etc...
|
|
1157
1157
|
};
|
|
1158
1158
|
}
|
|
@@ -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-CNOV3O1a.mjs.map
|