ln-20-lib-components 0.0.33 → 0.0.35

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.
Files changed (33) hide show
  1. package/fesm2022/{ln-20-lib-components-ln-20-lib-components-S4S-xzdU.mjs → ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs} +64 -6
  2. package/fesm2022/ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs.map +1 -0
  3. package/fesm2022/{ln-20-lib-components-selected-items-management.component-BQOs4eoR.mjs → ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs} +2 -2
  4. 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
  5. package/fesm2022/ln-20-lib-components.mjs +1 -1
  6. package/lib/components/prime-ng/index.d.ts +1 -0
  7. package/lib/components/prime-ng/speed-dial-ng/index.d.ts +2 -0
  8. package/lib/components/prime-ng/speed-dial-ng/interfaces/index.d.ts +13 -0
  9. package/lib/components/prime-ng/speed-dial-ng/speed-dial-ng.component.d.ts +19 -0
  10. package/lib/components/prime-ng/speed-dial-ng/speed-dial-ng.service.d.ts +18 -0
  11. package/lib/components/prime-ng/table-ng/interfaces/index.d.ts +11 -0
  12. package/package.json +1 -1
  13. package/fesm2022/ln-20-lib-components-ln-20-lib-components-BhSwuNM0.mjs +0 -3290
  14. package/fesm2022/ln-20-lib-components-ln-20-lib-components-BhSwuNM0.mjs.map +0 -1
  15. package/fesm2022/ln-20-lib-components-ln-20-lib-components-BjLeyGgN.mjs +0 -3290
  16. package/fesm2022/ln-20-lib-components-ln-20-lib-components-BjLeyGgN.mjs.map +0 -1
  17. package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP4_oRk0.mjs +0 -3283
  18. package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP4_oRk0.mjs.map +0 -1
  19. package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP_PR13e.mjs +0 -3289
  20. package/fesm2022/ln-20-lib-components-ln-20-lib-components-DP_PR13e.mjs.map +0 -1
  21. package/fesm2022/ln-20-lib-components-ln-20-lib-components-S4S-xzdU.mjs.map +0 -1
  22. package/fesm2022/ln-20-lib-components-ln-20-lib-components-WAYdU9AC.mjs +0 -3283
  23. package/fesm2022/ln-20-lib-components-ln-20-lib-components-WAYdU9AC.mjs.map +0 -1
  24. package/fesm2022/ln-20-lib-components-selected-items-management.component-BhowuQlD.mjs +0 -55
  25. package/fesm2022/ln-20-lib-components-selected-items-management.component-BhowuQlD.mjs.map +0 -1
  26. package/fesm2022/ln-20-lib-components-selected-items-management.component-Bzb7ghBP.mjs +0 -55
  27. package/fesm2022/ln-20-lib-components-selected-items-management.component-Bzb7ghBP.mjs.map +0 -1
  28. package/fesm2022/ln-20-lib-components-selected-items-management.component-ClOEb53t.mjs +0 -55
  29. package/fesm2022/ln-20-lib-components-selected-items-management.component-ClOEb53t.mjs.map +0 -1
  30. package/fesm2022/ln-20-lib-components-selected-items-management.component-D_IuqOkE.mjs +0 -55
  31. package/fesm2022/ln-20-lib-components-selected-items-management.component-D_IuqOkE.mjs.map +0 -1
  32. package/fesm2022/ln-20-lib-components-selected-items-management.component-KWZZ_fuQ.mjs +0 -55
  33. package/fesm2022/ln-20-lib-components-selected-items-management.component-KWZZ_fuQ.mjs.map +0 -1
@@ -47,6 +47,8 @@ import { BadgeModule } from 'primeng/badge';
47
47
  import * as i1$4 from 'primeng/toolbar';
48
48
  import { ToolbarModule } from 'primeng/toolbar';
49
49
  import { DialogService, DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
50
+ import * as i1$5 from 'primeng/speeddial';
51
+ import { SpeedDialModule } from 'primeng/speeddial';
50
52
 
51
53
  class LibComponentsService {
52
54
  constructor() { }
@@ -1668,7 +1670,7 @@ class TableNgService {
1668
1670
  //#endregion
1669
1671
  //#region Selection
1670
1672
  async openModalManagementSelectedItems(selectedItems, config) {
1671
- const { SelectedItemsManagementComponent } = await import('./ln-20-lib-components-selected-items-management.component-BQOs4eoR.mjs');
1673
+ const { SelectedItemsManagementComponent } = await import('./ln-20-lib-components-selected-items-management.component-AanG8joZ.mjs');
1672
1674
  let configSelectedItems = config;
1673
1675
  if (config) {
1674
1676
  configSelectedItems = structuredClone(config);
@@ -1707,7 +1709,7 @@ class TableNgService {
1707
1709
  raised: true,
1708
1710
  size: 'large',
1709
1711
  tooltipConfig: {
1710
- pTooltip: 'Exportar a Excel',
1712
+ pTooltip: this.config()?.labelsConfig?.exportExcelTooltip ?? 'Exportar a Excel',
1711
1713
  tooltipPosition: 'top'
1712
1714
  }
1713
1715
  };
@@ -1721,7 +1723,7 @@ class TableNgService {
1721
1723
  raised: true,
1722
1724
  size: 'large',
1723
1725
  tooltipConfig: {
1724
- pTooltip: 'Exportar a PDF',
1726
+ pTooltip: this.config()?.labelsConfig?.exportPdfTooltip ?? 'Exportar a PDF',
1725
1727
  tooltipPosition: 'top'
1726
1728
  }
1727
1729
  };
@@ -1738,7 +1740,7 @@ class TableNgService {
1738
1740
  this.refreshTable();
1739
1741
  },
1740
1742
  tooltipConfig: {
1741
- pTooltip: 'Refrescar',
1743
+ pTooltip: this.config()?.labelsConfig?.refreshTooltip ?? 'Refrescar',
1742
1744
  tooltipPosition: 'top'
1743
1745
  },
1744
1746
  loading: this.isLoadingRefreshButton(),
@@ -3270,6 +3272,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
3270
3272
  args: ['item', { static: true }]
3271
3273
  }] } });
3272
3274
 
3275
+ class SpeedDialNgService {
3276
+ constructor() { }
3277
+ _config = signal({});
3278
+ config = this._config.asReadonly();
3279
+ items = computed(() => this.config().items);
3280
+ buttonProps = computed(() => this.config().buttonProps ?? { severity: 'primary', rounded: true });
3281
+ tooltipOptions = computed(() => this.config().tooltipOptions ?? { tooltipPosition: 'top' });
3282
+ style = computed(() => this.config().style ?? {});
3283
+ direction = computed(() => this.config().direction ?? 'down');
3284
+ setConfig(value) {
3285
+ this._config.set(value);
3286
+ }
3287
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SpeedDialNgService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3288
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SpeedDialNgService, providedIn: 'root' });
3289
+ }
3290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SpeedDialNgService, decorators: [{
3291
+ type: Injectable,
3292
+ args: [{
3293
+ providedIn: 'root'
3294
+ }]
3295
+ }], ctorParameters: () => [] });
3296
+
3297
+ class SpeedDialNgComponent {
3298
+ speedDialNgService = inject(SpeedDialNgService);
3299
+ configInput = input.required();
3300
+ constructor() {
3301
+ }
3302
+ ngOnInit() {
3303
+ this.speedDialNgService.setConfig(this.configInput());
3304
+ }
3305
+ get config() {
3306
+ return this.speedDialNgService.config();
3307
+ }
3308
+ get items() {
3309
+ return this.speedDialNgService.items();
3310
+ }
3311
+ get buttonProps() {
3312
+ return this.speedDialNgService.buttonProps();
3313
+ }
3314
+ get tooltipOptions() {
3315
+ return this.speedDialNgService.tooltipOptions();
3316
+ }
3317
+ get style() {
3318
+ return this.speedDialNgService.style();
3319
+ }
3320
+ get direction() {
3321
+ return this.speedDialNgService.direction();
3322
+ }
3323
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SpeedDialNgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3324
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.17", type: SpeedDialNgComponent, isStandalone: true, selector: "lib-speed-dial-ng", inputs: { configInput: { classPropertyName: "configInput", publicName: "configInput", isSignal: true, isRequired: true, transformFunction: null } }, providers: [SpeedDialNgService], ngImport: i0, template: "\r\n<p-speeddial \r\n[model]=\"items\" \r\ndirection=\"up\" \r\n[style]=\"style\" \r\n[buttonProps]=\"buttonProps\" \r\n[tooltipOptions]=\"tooltipOptions\" \r\n[direction]=\"direction\"\r\n/>", styles: [""], dependencies: [{ kind: "ngmodule", type: SpeedDialModule }, { kind: "component", type: i1$5.SpeedDial, selector: "p-speeddial, p-speedDial, p-speed-dial", inputs: ["id", "model", "visible", "style", "className", "direction", "transitionDelay", "type", "radius", "mask", "disabled", "hideOnClickOutside", "buttonStyle", "buttonClassName", "maskStyle", "maskClassName", "showIcon", "hideIcon", "rotateAnimation", "ariaLabel", "ariaLabelledBy", "tooltipOptions", "buttonProps"], outputs: ["onVisibleChange", "visibleChange", "onClick", "onShow", "onHide"] }] });
3325
+ }
3326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SpeedDialNgComponent, decorators: [{
3327
+ type: Component,
3328
+ args: [{ selector: 'lib-speed-dial-ng', imports: [SpeedDialModule], providers: [SpeedDialNgService], template: "\r\n<p-speeddial \r\n[model]=\"items\" \r\ndirection=\"up\" \r\n[style]=\"style\" \r\n[buttonProps]=\"buttonProps\" \r\n[tooltipOptions]=\"tooltipOptions\" \r\n[direction]=\"direction\"\r\n/>" }]
3329
+ }], ctorParameters: () => [] });
3330
+
3273
3331
  /*
3274
3332
  * Public API Surface of lib-components
3275
3333
 
@@ -3285,5 +3343,5 @@ de13d65e8a0357ce9f2e18c899c8e7f6f728181baa031761ecdd7ef5cb166eb2
3285
3343
  * Generated bundle index. Do not edit.
3286
3344
  */
3287
3345
 
3288
- export { AminatedContainerComponent as A, BaseDialogComponent as B, DisabledContainerComponent as D, ETypeInput as E, FormComponent as F, HttpMessageComponent as H, InlineInputComponent as I, LibComponentsService as L, TableNgComponent as T, ButtonNgComponent as a, LibComponentsComponent as b };
3289
- //# sourceMappingURL=ln-20-lib-components-ln-20-lib-components-S4S-xzdU.mjs.map
3346
+ export { AminatedContainerComponent as A, BaseDialogComponent as B, DisabledContainerComponent as D, ETypeInput as E, FormComponent as F, HttpMessageComponent as H, InlineInputComponent as I, LibComponentsService as L, SpeedDialNgComponent as S, TableNgComponent as T, ButtonNgComponent as a, LibComponentsComponent as b };
3347
+ //# sourceMappingURL=ln-20-lib-components-ln-20-lib-components-DE-pK0LP.mjs.map