@pumpkin-tech/pumpkin-tech-ng 0.2.7 → 0.2.8
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.
|
@@ -3006,7 +3006,7 @@ class NavComponent {
|
|
|
3006
3006
|
links = [];
|
|
3007
3007
|
currentModuleName = 'Menu';
|
|
3008
3008
|
fixedTopGap = 134;
|
|
3009
|
-
fixedBottomGap =
|
|
3009
|
+
fixedBottomGap = 0;
|
|
3010
3010
|
footerItems = [];
|
|
3011
3011
|
hasBackdrop = false;
|
|
3012
3012
|
mode = 'side';
|
|
@@ -3100,7 +3100,7 @@ class NavComponent {
|
|
|
3100
3100
|
</mat-sidenav>
|
|
3101
3101
|
|
|
3102
3102
|
</mat-sidenav-container>
|
|
3103
|
-
`, isInline: true, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\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: RouterModule }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i4$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i5$2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i5$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3103
|
+
`, isInline: true, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}.nav-list::-webkit-scrollbar{width:10px;height:10px}.nav-list::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.nav-list::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.nav-list::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.nav-list{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\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: RouterModule }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i4$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i5$2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i5$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3104
3104
|
}
|
|
3105
3105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NavComponent, decorators: [{
|
|
3106
3106
|
type: Component,
|
|
@@ -3160,7 +3160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3160
3160
|
</mat-sidenav>
|
|
3161
3161
|
|
|
3162
3162
|
</mat-sidenav-container>
|
|
3163
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\n"] }]
|
|
3163
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}.nav-list::-webkit-scrollbar{width:10px;height:10px}.nav-list::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.nav-list::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.nav-list::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.nav-list{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\n"] }]
|
|
3164
3164
|
}], ctorParameters: () => [{ type: NavService }], propDecorators: { links: [{
|
|
3165
3165
|
type: Input
|
|
3166
3166
|
}], currentModuleName: [{
|
|
@@ -4028,6 +4028,12 @@ const PTECH_DIALOG_SHARED_STYLES = `
|
|
|
4028
4028
|
}
|
|
4029
4029
|
|
|
4030
4030
|
::ng-deep .cdk-overlay-pane.ptech-dialog-panel {
|
|
4031
|
+
display: flex !important;
|
|
4032
|
+
align-items: center !important;
|
|
4033
|
+
justify-content: center !important;
|
|
4034
|
+
max-width: 96vw !important;
|
|
4035
|
+
max-height: 96dvh !important;
|
|
4036
|
+
margin: 0 auto !important;
|
|
4031
4037
|
z-index: var(--ptech-overlay-z-index, 10000) !important;
|
|
4032
4038
|
}
|
|
4033
4039
|
|
|
@@ -4047,6 +4053,20 @@ const PTECH_DIALOG_SHARED_STYLES = `
|
|
|
4047
4053
|
::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel {
|
|
4048
4054
|
z-index: var(--ptech-tooltip-z-index, 11000) !important;
|
|
4049
4055
|
}
|
|
4056
|
+
|
|
4057
|
+
@media (max-width: 700px) {
|
|
4058
|
+
.ptech-dialog-shell {
|
|
4059
|
+
max-width: 94vw !important;
|
|
4060
|
+
max-height: calc(100dvh - 18px) !important;
|
|
4061
|
+
margin: 0 auto !important;
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
::ng-deep .cdk-overlay-pane.ptech-dialog-panel {
|
|
4065
|
+
max-width: 96vw !important;
|
|
4066
|
+
max-height: calc(100dvh - 8px) !important;
|
|
4067
|
+
padding: 0 !important;
|
|
4068
|
+
}
|
|
4069
|
+
}
|
|
4050
4070
|
`;
|
|
4051
4071
|
|
|
4052
4072
|
class ConfirmationDialogComponent {
|
|
@@ -4100,7 +4120,7 @@ class ConfirmationDialogComponent {
|
|
|
4100
4120
|
</button>
|
|
4101
4121
|
</div>
|
|
4102
4122
|
</div>
|
|
4103
|
-
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(560px,92vw)}.dialog-title{font-size:1.4rem;font-weight:700;margin:0;text-align:left}.dialog-content{font-size:16px;text-align:left;color:var(--ptech-dialog-text, var(--app-text, inherit))}button{padding:8px 24px;font-size:14px;font-weight:500;text-transform:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4123
|
+
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(560px,92vw)}.dialog-title{font-size:1.4rem;font-weight:700;margin:0;text-align:left}.dialog-content{font-size:16px;text-align:left;color:var(--ptech-dialog-text, var(--app-text, inherit))}button{padding:8px 24px;font-size:14px;font-weight:500;text-transform:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4104
4124
|
}
|
|
4105
4125
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
4106
4126
|
type: Component,
|
|
@@ -4140,7 +4160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4140
4160
|
</button>
|
|
4141
4161
|
</div>
|
|
4142
4162
|
</div>
|
|
4143
|
-
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(560px,92vw)}.dialog-title{font-size:1.4rem;font-weight:700;margin:0;text-align:left}.dialog-content{font-size:16px;text-align:left;color:var(--ptech-dialog-text, var(--app-text, inherit))}button{padding:8px 24px;font-size:14px;font-weight:500;text-transform:none}\n"] }]
|
|
4163
|
+
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(560px,92vw)}.dialog-title{font-size:1.4rem;font-weight:700;margin:0;text-align:left}.dialog-content{font-size:16px;text-align:left;color:var(--ptech-dialog-text, var(--app-text, inherit))}button{padding:8px 24px;font-size:14px;font-weight:500;text-transform:none}\n"] }]
|
|
4144
4164
|
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
4145
4165
|
type: Inject,
|
|
4146
4166
|
args: [MAT_DIALOG_DATA]
|
|
@@ -4557,7 +4577,7 @@ class ActionDialogComponent {
|
|
|
4557
4577
|
></ptech-button>
|
|
4558
4578
|
</mat-dialog-actions>
|
|
4559
4579
|
</div>
|
|
4560
|
-
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\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: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { 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: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4580
|
+
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\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: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { 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: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4561
4581
|
}
|
|
4562
4582
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionDialogComponent, decorators: [{
|
|
4563
4583
|
type: Component,
|
|
@@ -4672,7 +4692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4672
4692
|
></ptech-button>
|
|
4673
4693
|
</mat-dialog-actions>
|
|
4674
4694
|
</div>
|
|
4675
|
-
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\n"] }]
|
|
4695
|
+
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\n"] }]
|
|
4676
4696
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4677
4697
|
type: Inject,
|
|
4678
4698
|
args: [MAT_DIALOG_DATA]
|
|
@@ -4767,7 +4787,7 @@ class InfoDetailDialogComponent {
|
|
|
4767
4787
|
|
|
4768
4788
|
</mat-dialog-actions>
|
|
4769
4789
|
</div>
|
|
4770
|
-
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4790
|
+
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4771
4791
|
}
|
|
4772
4792
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InfoDetailDialogComponent, decorators: [{
|
|
4773
4793
|
type: Component,
|
|
@@ -4827,7 +4847,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4827
4847
|
|
|
4828
4848
|
</mat-dialog-actions>
|
|
4829
4849
|
</div>
|
|
4830
|
-
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"] }]
|
|
4850
|
+
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"] }]
|
|
4831
4851
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4832
4852
|
type: Inject,
|
|
4833
4853
|
args: [MAT_DIALOG_DATA]
|
|
@@ -4942,11 +4962,11 @@ class ActionResultDialogComponent {
|
|
|
4942
4962
|
window.open(this.whatsappUrl, '_blank');
|
|
4943
4963
|
}
|
|
4944
4964
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$4.MatDialogRef }, { token: i2$3.DomSanitizer }, { token: MESSAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
4945
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }] });
|
|
4965
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }] });
|
|
4946
4966
|
}
|
|
4947
4967
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, decorators: [{
|
|
4948
4968
|
type: Component,
|
|
4949
|
-
args: [{ selector: 'ptech-action-result-dialog', imports: [CommonModule, CoreMaterialModule, ButtonComponent, CdkDrag, CdkDragHandle], template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n"] }]
|
|
4969
|
+
args: [{ selector: 'ptech-action-result-dialog', imports: [CommonModule, CoreMaterialModule, ButtonComponent, CdkDrag, CdkDragHandle], template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"] }]
|
|
4950
4970
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4951
4971
|
type: Inject,
|
|
4952
4972
|
args: [MAT_DIALOG_DATA]
|
|
@@ -6833,7 +6853,7 @@ class DialogShellComponent {
|
|
|
6833
6853
|
<ng-content></ng-content>
|
|
6834
6854
|
</div>
|
|
6835
6855
|
</div>
|
|
6836
|
-
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-drag--spacer{border-color:transparent!important;background:transparent!important}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
6856
|
+
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-drag--spacer{border-color:transparent!important;background:transparent!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
6837
6857
|
}
|
|
6838
6858
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogShellComponent, decorators: [{
|
|
6839
6859
|
type: Component,
|
|
@@ -6873,7 +6893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6873
6893
|
<ng-content></ng-content>
|
|
6874
6894
|
</div>
|
|
6875
6895
|
</div>
|
|
6876
|
-
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-drag--spacer{border-color:transparent!important;background:transparent!important}\n"] }]
|
|
6896
|
+
`, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}\n", ".ptech-dialog-drag--spacer{border-color:transparent!important;background:transparent!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"] }]
|
|
6877
6897
|
}], propDecorators: { title: [{
|
|
6878
6898
|
type: Input
|
|
6879
6899
|
}], subtitle: [{
|
|
@@ -8047,6 +8067,8 @@ class DialogService {
|
|
|
8047
8067
|
data: model.data,
|
|
8048
8068
|
width: model.width,
|
|
8049
8069
|
height: model.height,
|
|
8070
|
+
maxWidth: '96vw',
|
|
8071
|
+
maxHeight: '96dvh',
|
|
8050
8072
|
position: model.position,
|
|
8051
8073
|
panelClass: this.resolvePanelClass(model.panelClass),
|
|
8052
8074
|
autoFocus: true,
|