ln-20-lib-components 0.0.34 → 0.0.36
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/{ln-20-lib-components-ln-20-lib-components-CGcyRumC.mjs → ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs} +61 -3
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs.map +1 -0
- package/fesm2022/{ln-20-lib-components-ln-20-lib-components-S4S-xzdU.mjs → ln-20-lib-components-ln-20-lib-components-pJLg_v6U.mjs} +69 -9
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-pJLg_v6U.mjs.map +1 -0
- package/fesm2022/{ln-20-lib-components-selected-items-management.component-BQOs4eoR.mjs → ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs} +2 -2
- package/fesm2022/{ln-20-lib-components-selected-items-management.component-BQOs4eoR.mjs.map → ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs.map} +1 -1
- package/fesm2022/{ln-20-lib-components-selected-items-management.component-BbSq7MWI.mjs → ln-20-lib-components-selected-items-management.component-qjE14pdH.mjs} +3 -3
- package/fesm2022/{ln-20-lib-components-selected-items-management.component-BbSq7MWI.mjs.map → ln-20-lib-components-selected-items-management.component-qjE14pdH.mjs.map} +1 -1
- package/fesm2022/ln-20-lib-components.mjs +1 -1
- package/lib/components/origin/pick-list/components/container-elements/container-elements.component.d.ts +1 -1
- package/lib/components/origin/pick-list/pick-list.component.d.ts +2 -2
- package/lib/components/prime-ng/index.d.ts +1 -0
- package/lib/components/prime-ng/speed-dial-ng/index.d.ts +2 -0
- package/lib/components/prime-ng/speed-dial-ng/interfaces/index.d.ts +13 -0
- package/lib/components/prime-ng/speed-dial-ng/speed-dial-ng.component.d.ts +19 -0
- package/lib/components/prime-ng/speed-dial-ng/speed-dial-ng.service.d.ts +18 -0
- package/lib/components/prime-ng/table-ng/table-ng.component.d.ts +3 -1
- package/package.json +1 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-BhSwuNM0.mjs +0 -3290
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-BhSwuNM0.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-BjLeyGgN.mjs +0 -3290
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-BjLeyGgN.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-CGcyRumC.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP4_oRk0.mjs +0 -3283
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP4_oRk0.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP_PR13e.mjs +0 -3289
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP_PR13e.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-JmwI9HzY.mjs +0 -3290
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-JmwI9HzY.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-S4S-xzdU.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-WAYdU9AC.mjs +0 -3283
- package/fesm2022/ln-20-lib-components-ln-20-lib-components-WAYdU9AC.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-BhowuQlD.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-BhowuQlD.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-Bzb7ghBP.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-Bzb7ghBP.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-CU8_EQTv.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-CU8_EQTv.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-ClOEb53t.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-ClOEb53t.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-D_IuqOkE.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-D_IuqOkE.mjs.map +0 -1
- package/fesm2022/ln-20-lib-components-selected-items-management.component-KWZZ_fuQ.mjs +0 -55
- package/fesm2022/ln-20-lib-components-selected-items-management.component-KWZZ_fuQ.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { computed, ViewChild, Component } from '@angular/core';
|
|
3
|
-
import { B as BaseDialogComponent, T as TableNgComponent, a as ButtonNgComponent } from './ln-20-lib-components-ln-20-lib-components-
|
|
3
|
+
import { B as BaseDialogComponent, T as TableNgComponent, a as ButtonNgComponent } from './ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs';
|
|
4
4
|
|
|
5
5
|
class SelectedItemsManagementComponent extends BaseDialogComponent {
|
|
6
6
|
tableNg;
|
|
@@ -52,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
52
52
|
}] } });
|
|
53
53
|
|
|
54
54
|
export { SelectedItemsManagementComponent };
|
|
55
|
-
//# sourceMappingURL=ln-20-lib-components-selected-items-management.component-
|
|
55
|
+
//# sourceMappingURL=ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ln-20-lib-components-selected-items-management.component-
|
|
1
|
+
{"version":3,"file":"ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs","sources":["../../../projects/lib-components/src/lib/components/prime-ng/table-ng/components/selected-items-management/selected-items-management.component.ts","../../../projects/lib-components/src/lib/components/prime-ng/table-ng/components/selected-items-management/selected-items-management.component.html"],"sourcesContent":["import type { OnInit, Signal } from '@angular/core'\r\nimport { Component, computed, ViewChild } from '@angular/core'\r\nimport { ButtonNgComponent } from '../../../button-ng/button-ng.component'\r\nimport type { IButtonConfig } from '../../../button-ng/interfaces'\r\nimport { BaseDialogComponent } from '../../../dynamic-dialog/components/base-dialog.component'\r\nimport type { ITableNgConfig, ITableNgData } from '../../interfaces'\r\nimport { TableNgComponent } from '../../table-ng.component'\r\n\r\n@Component({\r\n selector: 'lib-selected-items-management',\r\n imports: [TableNgComponent, ButtonNgComponent],\r\n templateUrl: './selected-items-management.component.html',\r\n styleUrl: './selected-items-management.component.scss'\r\n})\r\nexport class SelectedItemsManagementComponent extends BaseDialogComponent implements OnInit {\r\n @ViewChild('tableNg') tableNg!: TableNgComponent\r\n\r\n constructor(\r\n ) {\r\n super()\r\n }\r\n protected selectedItems: ITableNgData[] = []\r\n protected configTable?: ITableNgConfig | undefined\r\n ngOnInit(): void {\r\n if (this.data) {\r\n const selectedItems: ITableNgData[] = this.data?.selectedItems as ITableNgData[] ?? []\r\n const config: ITableNgConfig | undefined = this.data?.config as ITableNgConfig | undefined\r\n this.selectedItems = selectedItems\r\n this.configTable = config\r\n }\r\n }\r\n\r\n buttonsSubmit: Signal<IButtonConfig[]> = computed(() => {\r\n const buttons: IButtonConfig[] = [\r\n {\r\n label: 'Aceptar',\r\n severity: 'success',\r\n onClick: () => {\r\n this.submitSelection('accept')\r\n }\r\n },\r\n {\r\n label: 'Cerrar',\r\n severity: 'info',\r\n onClick: () => {\r\n this.submitSelection('reject')\r\n }\r\n }\r\n ]\r\n return buttons\r\n })\r\n\r\n submitSelection(flag: 'accept' | 'reject') {\r\n const selectedItems: ITableNgData[] = this.tableNg.dt.selection as ITableNgData[]\r\n this.ref.close(flag === 'accept' ? selectedItems : undefined)\r\n }\r\n\r\n}\r\n","<div class=\"flex flex-col gap-4\">\r\n <lib-table-ng\r\n #tableNg\r\n [data]=\"selectedItems\"\r\n [config]=\"configTable\"\r\n [selectedItems]=\"selectedItems\"\r\n ></lib-table-ng>\r\n <div class=\"flex gap-2 mr-5 justify-end items-end sticky bottom-6 z-50\">\r\n @for (btn of buttonsSubmit(); track $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AzCW,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gCAAgC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,SAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECd7C,4cAcA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDJY,gBAAgB,8lBAAE,iBAAiB,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAAA,oBAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAIlC,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAN5C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,EAAA,QAAA,EAAA,4cAAA,EAAA;wDAKxB,OAAO,EAAA,CAAA;sBAA5B,SAAS;uBAAC,SAAS;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { computed, ViewChild, Component } from '@angular/core';
|
|
3
|
-
import { B as BaseDialogComponent, T as TableNgComponent, a as ButtonNgComponent } from './ln-20-lib-components-ln-20-lib-components-
|
|
3
|
+
import { B as BaseDialogComponent, T as TableNgComponent, a as ButtonNgComponent } from './ln-20-lib-components-ln-20-lib-components-pJLg_v6U.mjs';
|
|
4
4
|
|
|
5
5
|
class SelectedItemsManagementComponent extends BaseDialogComponent {
|
|
6
6
|
tableNg;
|
|
@@ -41,7 +41,7 @@ class SelectedItemsManagementComponent extends BaseDialogComponent {
|
|
|
41
41
|
this.ref.close(flag === 'accept' ? selectedItems : undefined);
|
|
42
42
|
}
|
|
43
43
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SelectedItemsManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: SelectedItemsManagementComponent, isStandalone: true, selector: "lib-selected-items-management", viewQueries: [{ propertyName: "tableNg", first: true, predicate: ["tableNg"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"flex flex-col gap-4\">\r\n <lib-table-ng\r\n #tableNg\r\n [data]=\"selectedItems\"\r\n [config]=\"configTable\"\r\n [selectedItems]=\"selectedItems\"\r\n ></lib-table-ng>\r\n <div class=\"flex gap-2 mr-5 justify-end items-end sticky bottom-6 z-50\">\r\n @for (btn of buttonsSubmit(); track $index) {\r\n <lib-button-ng [buttonConfig]=\"btn\"></lib-button-ng>\r\n }\r\n </div>\r\n</div>\r\n<div class=\"mb-10\"></div>\r\n", styles: [""], dependencies: [{ kind: "component", type: TableNgComponent, selector: "lib-table-ng", inputs: ["data", "config", "editConfig", "footerConfig", "toolbarButtons", "sourceElements", "targetElements", "httpMessage", "selectedItems", "itemTemplateInput"], outputs: ["dataChange", "configChange", "editConfigChange", "footerConfigChange", "toolbarButtonsChange", "sourceElementsChange", "targetElementsChange", "httpMessageChange", "lazyLoading", "outputChangeData", "outputHandleEditInitButton", "outputAddRow", "outputDeleteRow", "outputRowInlineChange", "outputRowDataChange", "outputEditData", "outputIsEditing", "selectedItemsChange"] }, { kind: "component", type: ButtonNgComponent, selector: "lib-button-ng", inputs: ["buttonConfig"], outputs: ["buttonConfigChange", "onClick"] }] });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: SelectedItemsManagementComponent, isStandalone: true, selector: "lib-selected-items-management", viewQueries: [{ propertyName: "tableNg", first: true, predicate: ["tableNg"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"flex flex-col gap-4\">\r\n <lib-table-ng\r\n #tableNg\r\n [data]=\"selectedItems\"\r\n [config]=\"configTable\"\r\n [selectedItems]=\"selectedItems\"\r\n ></lib-table-ng>\r\n <div class=\"flex gap-2 mr-5 justify-end items-end sticky bottom-6 z-50\">\r\n @for (btn of buttonsSubmit(); track $index) {\r\n <lib-button-ng [buttonConfig]=\"btn\"></lib-button-ng>\r\n }\r\n </div>\r\n</div>\r\n<div class=\"mb-10\"></div>\r\n", styles: [""], dependencies: [{ kind: "component", type: TableNgComponent, selector: "lib-table-ng", inputs: ["data", "config", "editConfig", "footerConfig", "toolbarButtons", "toolbarSpeedDialButtons", "sourceElements", "targetElements", "httpMessage", "selectedItems", "itemTemplateInput"], outputs: ["dataChange", "configChange", "editConfigChange", "footerConfigChange", "toolbarButtonsChange", "toolbarSpeedDialButtonsChange", "sourceElementsChange", "targetElementsChange", "httpMessageChange", "lazyLoading", "outputChangeData", "outputHandleEditInitButton", "outputAddRow", "outputDeleteRow", "outputRowInlineChange", "outputRowDataChange", "outputEditData", "outputIsEditing", "selectedItemsChange"] }, { kind: "component", type: ButtonNgComponent, selector: "lib-button-ng", inputs: ["buttonConfig"], outputs: ["buttonConfigChange", "onClick"] }] });
|
|
45
45
|
}
|
|
46
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SelectedItemsManagementComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
@@ -52,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
52
52
|
}] } });
|
|
53
53
|
|
|
54
54
|
export { SelectedItemsManagementComponent };
|
|
55
|
-
//# sourceMappingURL=ln-20-lib-components-selected-items-management.component-
|
|
55
|
+
//# sourceMappingURL=ln-20-lib-components-selected-items-management.component-qjE14pdH.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ln-20-lib-components-selected-items-management.component-
|
|
1
|
+
{"version":3,"file":"ln-20-lib-components-selected-items-management.component-qjE14pdH.mjs","sources":["../../../projects/lib-components/src/lib/components/prime-ng/table-ng/components/selected-items-management/selected-items-management.component.ts","../../../projects/lib-components/src/lib/components/prime-ng/table-ng/components/selected-items-management/selected-items-management.component.html"],"sourcesContent":["import type { OnInit, Signal } from '@angular/core'\r\nimport { Component, computed, ViewChild } from '@angular/core'\r\nimport { ButtonNgComponent } from '../../../button-ng/button-ng.component'\r\nimport type { IButtonConfig } from '../../../button-ng/interfaces'\r\nimport { BaseDialogComponent } from '../../../dynamic-dialog/components/base-dialog.component'\r\nimport type { ITableNgConfig, ITableNgData } from '../../interfaces'\r\nimport { TableNgComponent } from '../../table-ng.component'\r\n\r\n@Component({\r\n selector: 'lib-selected-items-management',\r\n imports: [TableNgComponent, ButtonNgComponent],\r\n templateUrl: './selected-items-management.component.html',\r\n styleUrl: './selected-items-management.component.scss'\r\n})\r\nexport class SelectedItemsManagementComponent extends BaseDialogComponent implements OnInit {\r\n @ViewChild('tableNg') tableNg!: TableNgComponent\r\n\r\n constructor(\r\n ) {\r\n super()\r\n }\r\n protected selectedItems: ITableNgData[] = []\r\n protected configTable?: ITableNgConfig | undefined\r\n ngOnInit(): void {\r\n if (this.data) {\r\n const selectedItems: ITableNgData[] = this.data?.selectedItems as ITableNgData[] ?? []\r\n const config: ITableNgConfig | undefined = this.data?.config as ITableNgConfig | undefined\r\n this.selectedItems = selectedItems\r\n this.configTable = config\r\n }\r\n }\r\n\r\n buttonsSubmit: Signal<IButtonConfig[]> = computed(() => {\r\n const buttons: IButtonConfig[] = [\r\n {\r\n label: 'Aceptar',\r\n severity: 'success',\r\n onClick: () => {\r\n this.submitSelection('accept')\r\n }\r\n },\r\n {\r\n label: 'Cerrar',\r\n severity: 'info',\r\n onClick: () => {\r\n this.submitSelection('reject')\r\n }\r\n }\r\n ]\r\n return buttons\r\n })\r\n\r\n submitSelection(flag: 'accept' | 'reject') {\r\n const selectedItems: ITableNgData[] = this.tableNg.dt.selection as ITableNgData[]\r\n this.ref.close(flag === 'accept' ? selectedItems : undefined)\r\n }\r\n\r\n}\r\n","<div class=\"flex flex-col gap-4\">\r\n <lib-table-ng\r\n #tableNg\r\n [data]=\"selectedItems\"\r\n [config]=\"configTable\"\r\n [selectedItems]=\"selectedItems\"\r\n ></lib-table-ng>\r\n <div class=\"flex gap-2 mr-5 justify-end items-end sticky bottom-6 z-50\">\r\n @for (btn of buttonsSubmit(); track $index) {\r\n <lib-button-ng [buttonConfig]=\"btn\"></lib-button-ng>\r\n }\r\n </div>\r\n</div>\r\n<div class=\"mb-10\"></div>\r\n"],"names":[],"mappings":";;;;AAcM,MAAO,gCAAiC,SAAQ,mBAAmB,CAAA;AACjD,IAAA,OAAO;AAE7B,IAAA,WAAA,GAAA;AAEE,QAAA,KAAK,EAAE;IACT;IACU,aAAa,GAAmB,EAAE;AAClC,IAAA,WAAW;IACrB,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,aAAa,GAAmB,IAAI,CAAC,IAAI,EAAE,aAA+B,IAAI,EAAE;AACtF,YAAA,MAAM,MAAM,GAA+B,IAAI,CAAC,IAAI,EAAE,MAAoC;AAC1F,YAAA,IAAI,CAAC,aAAa,GAAG,aAAa;AAClC,YAAA,IAAI,CAAC,WAAW,GAAG,MAAM;QAC3B;IACF;AAEA,IAAA,aAAa,GAA4B,QAAQ,CAAC,MAAK;AACrD,QAAA,MAAM,OAAO,GAAoB;AAC/B,YAAA;AACE,gBAAA,KAAK,EA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AA,cAAA,CAAA,EAAA,OAAA,EAAA,CAAA,oBAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAIlC,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAN5C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,EAAA,QAAA,EAAA,4cAAA,EAAA;wDAKxB,OAAO,EAAA,CAAA;sBAA5B,SAAS;uBAAC,SAAS;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AminatedContainerComponent, a as ButtonNgComponent, D as DisabledContainerComponent, E as ETypeInput, F as FormComponent, H as HttpMessageComponent, I as InlineInputComponent, b as LibComponentsComponent, L as LibComponentsService, T as TableNgComponent } from './ln-20-lib-components-ln-20-lib-components-
|
|
1
|
+
export { A as AminatedContainerComponent, a as ButtonNgComponent, D as DisabledContainerComponent, E as ETypeInput, F as FormComponent, H as HttpMessageComponent, I as InlineInputComponent, b as LibComponentsComponent, L as LibComponentsService, S as SpeedDialNgComponent, T as TableNgComponent } from './ln-20-lib-components-ln-20-lib-components-pJLg_v6U.mjs';
|
|
2
2
|
//# sourceMappingURL=ln-20-lib-components.mjs.map
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class ContainerElementsComponent implements OnInit {
|
|
6
6
|
cols: import("@angular/core").InputSignal<number>;
|
|
7
7
|
elements: import("@angular/core").ModelSignal<IPickListElement[]>;
|
|
8
|
-
severityButton: import("@angular/core").InputSignal<"
|
|
8
|
+
severityButton: import("@angular/core").InputSignal<"contrast" | "secondary" | "success" | "info" | "warn" | "help" | "danger">;
|
|
9
9
|
outputElements: import("@angular/core").OutputEmitterRef<IPickListElement[]>;
|
|
10
10
|
constructor();
|
|
11
11
|
ngOnInit(): void;
|
|
@@ -14,8 +14,8 @@ export declare class PickListComponent implements OnInit {
|
|
|
14
14
|
sourceElements: IPickListElement[];
|
|
15
15
|
targetElements: IPickListElement[];
|
|
16
16
|
}>;
|
|
17
|
-
protected sourceSeverityButton: Signal<"
|
|
18
|
-
protected targetSeverityButton: Signal<"
|
|
17
|
+
protected sourceSeverityButton: Signal<"contrast" | "secondary" | "success" | "info" | "warn" | "help" | "danger">;
|
|
18
|
+
protected targetSeverityButton: Signal<"contrast" | "secondary" | "success" | "info" | "warn" | "help" | "danger">;
|
|
19
19
|
protected controlButtons: Signal<IButtonConfig[]>;
|
|
20
20
|
/**
|
|
21
21
|
* Mueve todos los elementos del sourceElements al targetElements,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MenuItem, TooltipOptions } from "primeng/api";
|
|
2
|
+
import { ButtonProps } from "primeng/button";
|
|
3
|
+
export interface ISpeedDialNgConfig {
|
|
4
|
+
items: ISpeedDialNgItem[];
|
|
5
|
+
buttonProps?: ButtonProps;
|
|
6
|
+
tooltipOptions?: TooltipOptions;
|
|
7
|
+
style?: Record<string, string>;
|
|
8
|
+
direction?: ISpeedDialNgDirection;
|
|
9
|
+
}
|
|
10
|
+
export interface ISpeedDialNgItem extends MenuItem {
|
|
11
|
+
isSpeedDial?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type ISpeedDialNgDirection = 'up' | 'down' | 'left' | 'right';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ISpeedDialNgConfig, ISpeedDialNgDirection, ISpeedDialNgItem } from './interfaces';
|
|
3
|
+
import { ButtonProps } from 'primeng/button';
|
|
4
|
+
import { TooltipOptions } from 'primeng/api';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SpeedDialNgComponent implements OnInit {
|
|
7
|
+
private readonly speedDialNgService;
|
|
8
|
+
readonly configInput: import("@angular/core").InputSignal<ISpeedDialNgConfig>;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
get config(): ISpeedDialNgConfig;
|
|
12
|
+
get items(): ISpeedDialNgItem[];
|
|
13
|
+
get buttonProps(): ButtonProps;
|
|
14
|
+
get tooltipOptions(): TooltipOptions;
|
|
15
|
+
get style(): Record<string, string>;
|
|
16
|
+
get direction(): ISpeedDialNgDirection;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpeedDialNgComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpeedDialNgComponent, "lib-speed-dial-ng", never, { "configInput": { "alias": "configInput"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { ISpeedDialNgConfig, ISpeedDialNgDirection, ISpeedDialNgItem } from './interfaces';
|
|
3
|
+
import { ButtonProps } from 'primeng/button';
|
|
4
|
+
import { TooltipOptions } from 'primeng/api';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SpeedDialNgService {
|
|
7
|
+
constructor();
|
|
8
|
+
private _config;
|
|
9
|
+
config: Signal<ISpeedDialNgConfig>;
|
|
10
|
+
items: Signal<ISpeedDialNgItem[]>;
|
|
11
|
+
buttonProps: Signal<ButtonProps>;
|
|
12
|
+
tooltipOptions: Signal<TooltipOptions>;
|
|
13
|
+
style: Signal<Record<string, string>>;
|
|
14
|
+
direction: Signal<ISpeedDialNgDirection>;
|
|
15
|
+
setConfig(value: ISpeedDialNgConfig): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpeedDialNgService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpeedDialNgService>;
|
|
18
|
+
}
|
|
@@ -9,6 +9,7 @@ import type { IPickListElement } from '../../origin/pick-list/interfaces';
|
|
|
9
9
|
import type { IButtonConfig } from '../button-ng/interfaces';
|
|
10
10
|
import { IPrimeNgSelection } from '../interfaces';
|
|
11
11
|
import type { IEditTableNgConfig, IErrorConfig, IFooterConfig, IGlobalSearchForm, ILazyLoadResponse, IPipeConfig, ITableNgConfig, ITableNgData } from './interfaces';
|
|
12
|
+
import { ISpeedDialNgConfig } from '../speed-dial-ng';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class TableNgComponent<T extends Record<string, any> = Record<string, any>> implements OnInit, OnDestroy {
|
|
14
15
|
private readonly tableNgService;
|
|
@@ -22,6 +23,7 @@ export declare class TableNgComponent<T extends Record<string, any> = Record<str
|
|
|
22
23
|
readonly editConfig: import("@angular/core").ModelSignal<IEditTableNgConfig<T> | undefined>;
|
|
23
24
|
readonly footerConfig: import("@angular/core").ModelSignal<IFooterConfig | undefined>;
|
|
24
25
|
toolbarButtons: import("@angular/core").ModelSignal<IButtonConfig<any>[]>;
|
|
26
|
+
toolbarSpeedDialButtons: import("@angular/core").ModelSignal<ISpeedDialNgConfig[]>;
|
|
25
27
|
sourceElements: import("@angular/core").ModelSignal<IPickListElement[]>;
|
|
26
28
|
targetElements: import("@angular/core").ModelSignal<IPickListElement[]>;
|
|
27
29
|
httpMessage: import("@angular/core").ModelSignal<IHttpMessage | undefined>;
|
|
@@ -171,5 +173,5 @@ export declare class TableNgComponent<T extends Record<string, any> = Record<str
|
|
|
171
173
|
get enableRefreshButton(): boolean;
|
|
172
174
|
get refreshButton(): IButtonConfig;
|
|
173
175
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableNgComponent<any>, never>;
|
|
174
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableNgComponent<any>, "lib-table-ng", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "editConfig": { "alias": "editConfig"; "required": false; "isSignal": true; }; "footerConfig": { "alias": "footerConfig"; "required": false; "isSignal": true; }; "toolbarButtons": { "alias": "toolbarButtons"; "required": false; "isSignal": true; }; "sourceElements": { "alias": "sourceElements"; "required": false; "isSignal": true; }; "targetElements": { "alias": "targetElements"; "required": false; "isSignal": true; }; "httpMessage": { "alias": "httpMessage"; "required": false; "isSignal": true; }; "selectedItems": { "alias": "selectedItems"; "required": false; "isSignal": true; }; "itemTemplateInput": { "alias": "itemTemplateInput"; "required": false; "isSignal": true; }; }, { "data": "dataChange"; "config": "configChange"; "editConfig": "editConfigChange"; "footerConfig": "footerConfigChange"; "toolbarButtons": "toolbarButtonsChange"; "sourceElements": "sourceElementsChange"; "targetElements": "targetElementsChange"; "httpMessage": "httpMessageChange"; "lazyLoading": "lazyLoading"; "outputChangeData": "outputChangeData"; "outputHandleEditInitButton": "outputHandleEditInitButton"; "outputAddRow": "outputAddRow"; "outputDeleteRow": "outputDeleteRow"; "outputRowInlineChange": "outputRowInlineChange"; "outputRowDataChange": "outputRowDataChange"; "outputEditData": "outputEditData"; "outputIsEditing": "outputIsEditing"; "selectedItems": "selectedItemsChange"; }, ["itemTemplate"], never, true, never>;
|
|
176
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableNgComponent<any>, "lib-table-ng", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "editConfig": { "alias": "editConfig"; "required": false; "isSignal": true; }; "footerConfig": { "alias": "footerConfig"; "required": false; "isSignal": true; }; "toolbarButtons": { "alias": "toolbarButtons"; "required": false; "isSignal": true; }; "toolbarSpeedDialButtons": { "alias": "toolbarSpeedDialButtons"; "required": false; "isSignal": true; }; "sourceElements": { "alias": "sourceElements"; "required": false; "isSignal": true; }; "targetElements": { "alias": "targetElements"; "required": false; "isSignal": true; }; "httpMessage": { "alias": "httpMessage"; "required": false; "isSignal": true; }; "selectedItems": { "alias": "selectedItems"; "required": false; "isSignal": true; }; "itemTemplateInput": { "alias": "itemTemplateInput"; "required": false; "isSignal": true; }; }, { "data": "dataChange"; "config": "configChange"; "editConfig": "editConfigChange"; "footerConfig": "footerConfigChange"; "toolbarButtons": "toolbarButtonsChange"; "toolbarSpeedDialButtons": "toolbarSpeedDialButtonsChange"; "sourceElements": "sourceElementsChange"; "targetElements": "targetElementsChange"; "httpMessage": "httpMessageChange"; "lazyLoading": "lazyLoading"; "outputChangeData": "outputChangeData"; "outputHandleEditInitButton": "outputHandleEditInitButton"; "outputAddRow": "outputAddRow"; "outputDeleteRow": "outputDeleteRow"; "outputRowInlineChange": "outputRowInlineChange"; "outputRowDataChange": "outputRowDataChange"; "outputEditData": "outputEditData"; "outputIsEditing": "outputIsEditing"; "selectedItems": "selectedItemsChange"; }, ["itemTemplate"], never, true, never>;
|
|
175
177
|
}
|