@pumpkin-tech/pumpkin-tech-ng 0.2.29 → 0.2.30

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.
@@ -7513,7 +7513,11 @@ class ListPaginationComponent {
7513
7513
  <div class="ptech-list-pagination__left">
7514
7514
  <mat-form-field appearance="outline" class="ptech-list-pagination__size">
7515
7515
  <mat-label>{{ pageSizeLabel }}</mat-label>
7516
- <mat-select [value]="pageSize" (valueChange)="handlePageSizeChange($event)">
7516
+ <mat-select
7517
+ [value]="pageSize"
7518
+ panelClass="ptech-list-pagination-panel"
7519
+ (valueChange)="handlePageSizeChange($event)"
7520
+ >
7517
7521
  <mat-option *ngFor="let size of pageSizeOptions" [value]="size">{{ size }}</mat-option>
7518
7522
  </mat-select>
7519
7523
  </mat-form-field>
@@ -7544,7 +7548,7 @@ class ListPaginationComponent {
7544
7548
  </button>
7545
7549
  </div>
7546
7550
  </div>
7547
- `, isInline: true, styles: [".ptech-list-pagination{margin-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ptech-list-pagination__left{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0}.ptech-list-pagination__summary{display:flex;align-items:center;gap:8px;color:var(--ptech-muted, var(--app-muted, #64748b));font-size:13px;line-height:1.3;flex-wrap:wrap}.ptech-list-pagination__page{color:var(--ptech-text, var(--app-text, #0f172a));font-weight:700}.ptech-list-pagination__dot{opacity:.6}.ptech-list-pagination__size{width:170px;margin-bottom:-20px}.ptech-list-pagination__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ptech-list-pagination__button{color:var(--ptech-text, var(--app-text, inherit));border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.24)))!important}:host ::ng-deep .ptech-list-pagination__size .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-list-pagination__size .mdc-floating-label,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value{color:var(--ptech-field-label, var(--app-text, inherit))!important}@media (max-width: 900px){.ptech-list-pagination{justify-content:flex-start}.ptech-list-pagination__actions{width:100%;justify-content:flex-start}.ptech-list-pagination__summary{width:100%}.ptech-list-pagination__dot{display:none}.ptech-list-pagination__range{display:block;width:100%}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }] });
7551
+ `, isInline: true, styles: [".ptech-list-pagination{margin-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;color:var(--ptech-table-cell-text, var(--app-text, inherit));background:var(--ptech-table-bg, transparent)}.ptech-list-pagination__left{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0}.ptech-list-pagination__summary{display:flex;align-items:center;gap:8px;color:var(--ptech-table-muted, var(--app-muted, #64748b));font-size:13px;line-height:1.3;flex-wrap:wrap}.ptech-list-pagination__page{color:var(--ptech-table-cell-text, var(--app-text, #0f172a));font-weight:700}.ptech-list-pagination__dot{opacity:.6}.ptech-list-pagination__size{width:170px;margin-bottom:-20px}.ptech-list-pagination__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ptech-list-pagination__button{color:var(--ptech-table-cell-text, var(--app-text, inherit))!important;border-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.24)))!important;--mdc-outlined-button-label-text-color: var(--ptech-table-cell-text, var(--app-text, inherit));--mdc-outlined-button-outline-color: var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.24)));--mat-outlined-button-state-layer-color: var(--ptech-table-cell-text, var(--app-text, inherit))}.ptech-list-pagination__button[disabled],.ptech-list-pagination__button.mat-mdc-button-disabled{color:var(--app-muted, #9ca3af)!important;border-color:color-mix(in srgb,var(--app-muted, #9ca3af) 44%,transparent)!important;--mdc-outlined-button-label-text-color: var(--app-muted, #9ca3af);--mdc-outlined-button-outline-color: color-mix(in srgb, var(--app-muted, #9ca3af) 44%, transparent)}:host ::ng-deep .ptech-list-pagination__size .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5));--mdc-outlined-text-field-label-text-color: var(--ptech-field-label, var(--app-text, inherit));--mdc-outlined-text-field-input-text-color: var(--ptech-field-text, var(--app-text, inherit));--mat-select-enabled-trigger-text-color: var(--ptech-field-text, var(--app-text, inherit));--mat-select-enabled-arrow-color: var(--ptech-field-arrow, var(--app-text, inherit));--mat-select-focused-arrow-color: var(--ptech-field-arrow, var(--app-text, inherit))}:host ::ng-deep .ptech-list-pagination__size .mdc-floating-label,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value-text,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-arrow{color:var(--ptech-field-label, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important}:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__leading,:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__notch,:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}::ng-deep .ptech-list-pagination-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}::ng-deep .ptech-list-pagination-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-list-pagination-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-list-pagination-panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}@media (max-width: 900px){.ptech-list-pagination{justify-content:flex-start}.ptech-list-pagination__actions{width:100%;justify-content:flex-start}.ptech-list-pagination__summary{width:100%}.ptech-list-pagination__dot{display:none}.ptech-list-pagination__range{display:block;width:100%}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }] });
7548
7552
  }
7549
7553
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ListPaginationComponent, decorators: [{
7550
7554
  type: Component,
@@ -7553,7 +7557,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
7553
7557
  <div class="ptech-list-pagination__left">
7554
7558
  <mat-form-field appearance="outline" class="ptech-list-pagination__size">
7555
7559
  <mat-label>{{ pageSizeLabel }}</mat-label>
7556
- <mat-select [value]="pageSize" (valueChange)="handlePageSizeChange($event)">
7560
+ <mat-select
7561
+ [value]="pageSize"
7562
+ panelClass="ptech-list-pagination-panel"
7563
+ (valueChange)="handlePageSizeChange($event)"
7564
+ >
7557
7565
  <mat-option *ngFor="let size of pageSizeOptions" [value]="size">{{ size }}</mat-option>
7558
7566
  </mat-select>
7559
7567
  </mat-form-field>
@@ -7584,7 +7592,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
7584
7592
  </button>
7585
7593
  </div>
7586
7594
  </div>
7587
- `, styles: [".ptech-list-pagination{margin-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ptech-list-pagination__left{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0}.ptech-list-pagination__summary{display:flex;align-items:center;gap:8px;color:var(--ptech-muted, var(--app-muted, #64748b));font-size:13px;line-height:1.3;flex-wrap:wrap}.ptech-list-pagination__page{color:var(--ptech-text, var(--app-text, #0f172a));font-weight:700}.ptech-list-pagination__dot{opacity:.6}.ptech-list-pagination__size{width:170px;margin-bottom:-20px}.ptech-list-pagination__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ptech-list-pagination__button{color:var(--ptech-text, var(--app-text, inherit));border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.24)))!important}:host ::ng-deep .ptech-list-pagination__size .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-list-pagination__size .mdc-floating-label,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value{color:var(--ptech-field-label, var(--app-text, inherit))!important}@media (max-width: 900px){.ptech-list-pagination{justify-content:flex-start}.ptech-list-pagination__actions{width:100%;justify-content:flex-start}.ptech-list-pagination__summary{width:100%}.ptech-list-pagination__dot{display:none}.ptech-list-pagination__range{display:block;width:100%}}\n"] }]
7595
+ `, styles: [".ptech-list-pagination{margin-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;color:var(--ptech-table-cell-text, var(--app-text, inherit));background:var(--ptech-table-bg, transparent)}.ptech-list-pagination__left{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0}.ptech-list-pagination__summary{display:flex;align-items:center;gap:8px;color:var(--ptech-table-muted, var(--app-muted, #64748b));font-size:13px;line-height:1.3;flex-wrap:wrap}.ptech-list-pagination__page{color:var(--ptech-table-cell-text, var(--app-text, #0f172a));font-weight:700}.ptech-list-pagination__dot{opacity:.6}.ptech-list-pagination__size{width:170px;margin-bottom:-20px}.ptech-list-pagination__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ptech-list-pagination__button{color:var(--ptech-table-cell-text, var(--app-text, inherit))!important;border-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.24)))!important;--mdc-outlined-button-label-text-color: var(--ptech-table-cell-text, var(--app-text, inherit));--mdc-outlined-button-outline-color: var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.24)));--mat-outlined-button-state-layer-color: var(--ptech-table-cell-text, var(--app-text, inherit))}.ptech-list-pagination__button[disabled],.ptech-list-pagination__button.mat-mdc-button-disabled{color:var(--app-muted, #9ca3af)!important;border-color:color-mix(in srgb,var(--app-muted, #9ca3af) 44%,transparent)!important;--mdc-outlined-button-label-text-color: var(--app-muted, #9ca3af);--mdc-outlined-button-outline-color: color-mix(in srgb, var(--app-muted, #9ca3af) 44%, transparent)}:host ::ng-deep .ptech-list-pagination__size .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5));--mdc-outlined-text-field-label-text-color: var(--ptech-field-label, var(--app-text, inherit));--mdc-outlined-text-field-input-text-color: var(--ptech-field-text, var(--app-text, inherit));--mat-select-enabled-trigger-text-color: var(--ptech-field-text, var(--app-text, inherit));--mat-select-enabled-arrow-color: var(--ptech-field-arrow, var(--app-text, inherit));--mat-select-focused-arrow-color: var(--ptech-field-arrow, var(--app-text, inherit))}:host ::ng-deep .ptech-list-pagination__size .mdc-floating-label,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-value-text,:host ::ng-deep .ptech-list-pagination__size .mat-mdc-select-arrow{color:var(--ptech-field-label, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important}:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__leading,:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__notch,:host ::ng-deep .ptech-list-pagination__size .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-list-pagination__size:hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}::ng-deep .ptech-list-pagination-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}::ng-deep .ptech-list-pagination-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-list-pagination-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-list-pagination-panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}@media (max-width: 900px){.ptech-list-pagination{justify-content:flex-start}.ptech-list-pagination__actions{width:100%;justify-content:flex-start}.ptech-list-pagination__summary{width:100%}.ptech-list-pagination__dot{display:none}.ptech-list-pagination__range{display:block;width:100%}}\n"] }]
7588
7596
  }], propDecorators: { totalItems: [{
7589
7597
  type: Input
7590
7598
  }], page: [{