inferyx-codegate 1.1.0__py3-none-any.whl
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.
- codegate/__init__.py +8 -0
- codegate/__main__.py +3 -0
- codegate/api/__init__.py +0 -0
- codegate/api/admin.py +457 -0
- codegate/api/deps.py +36 -0
- codegate/api/devproxy.py +132 -0
- codegate/api/public.py +371 -0
- codegate/app.py +115 -0
- codegate/auth/__init__.py +0 -0
- codegate/auth/csrf.py +43 -0
- codegate/auth/native.py +111 -0
- codegate/auth/passwords.py +88 -0
- codegate/auth/saml.py +222 -0
- codegate/auth/sessions.py +121 -0
- codegate/cli/__init__.py +0 -0
- codegate/cli/auth_cmd.py +168 -0
- codegate/cli/backup_cmd.py +114 -0
- codegate/cli/common.py +103 -0
- codegate/cli/doctor_cmd.py +136 -0
- codegate/cli/main.py +526 -0
- codegate/cli/nginx_setup.py +220 -0
- codegate/cli/setup_cmd.py +401 -0
- codegate/cli/ssh_setup.py +114 -0
- codegate/cli/upgrade_cmd.py +209 -0
- codegate/config.py +161 -0
- codegate/db.py +297 -0
- codegate/errors.py +122 -0
- codegate/jobs.py +133 -0
- codegate/pages.py +177 -0
- codegate/resources/__init__.py +20 -0
- codegate/resources/docker/Dockerfile +36 -0
- codegate/resources/nginx/codegate.conf.tmpl +51 -0
- codegate/resources/nginx/map.conf +5 -0
- codegate/resources/nginx/site.conf.tmpl +9 -0
- codegate/resources/nginx/user.conf.tmpl +19 -0
- codegate/resources/systemd/codegate-backup.service.tmpl +7 -0
- codegate/resources/systemd/codegate-backup.timer +10 -0
- codegate/resources/systemd/codegate.service.tmpl +20 -0
- codegate/static/admin/3rdpartylicenses.txt +614 -0
- codegate/static/admin/chunk-0r_p7pcB.js +672 -0
- codegate/static/admin/chunk-BoGqYCjO.js +1260 -0
- codegate/static/admin/chunk-BqiJ460N.js +1269 -0
- codegate/static/admin/chunk-BtoaIoDj.js +449 -0
- codegate/static/admin/chunk-CB4E-q63.js +255 -0
- codegate/static/admin/chunk-CMN75K3s.js +181 -0
- codegate/static/admin/chunk-CW_CPa20.js +106 -0
- codegate/static/admin/chunk-CcgsCK7w.js +393 -0
- codegate/static/admin/chunk-Cjwyuum6.js +375 -0
- codegate/static/admin/chunk-D6j6hnz3.js +1 -0
- codegate/static/admin/chunk-D9RytJgO.js +1 -0
- codegate/static/admin/chunk-DA6TldFU.js +35 -0
- codegate/static/admin/chunk-DFGdyoNb.js +1 -0
- codegate/static/admin/chunk-DXvCZ3pT.js +1 -0
- codegate/static/admin/chunk-DstgVdtz.js +27 -0
- codegate/static/admin/chunk-kPDFCwHP.js +102 -0
- codegate/static/admin/chunk-yikJ2ObQ.js +1 -0
- codegate/static/admin/favicon.ico +0 -0
- codegate/static/admin/index.html +14 -0
- codegate/static/admin/main-LWBML7JF.js +2347 -0
- codegate/static/admin/media/material-icons-JLIDJUWE.woff +0 -0
- codegate/static/admin/media/material-icons-LEZCGFVT.woff2 +0 -0
- codegate/static/admin/styles-YWRWGLKG.css +1 -0
- codegate/system/__init__.py +27 -0
- codegate/system/base.py +165 -0
- codegate/system/devdocker.py +90 -0
- codegate/system/fake.py +199 -0
- codegate/system/real.py +493 -0
- codegate/system/shell.py +40 -0
- codegate/users.py +262 -0
- codegate/workspace.py +355 -0
- inferyx_codegate-1.1.0.dist-info/METADATA +217 -0
- inferyx_codegate-1.1.0.dist-info/RECORD +74 -0
- inferyx_codegate-1.1.0.dist-info/WHEEL +4 -0
- inferyx_codegate-1.1.0.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import{t as g}from"./chunk-DA6TldFU.js";import{l as Vt$1}from"./chunk-BoGqYCjO.js";import{$n as eC,$t as PT,An as Yo,Ar as oe,At as J,Bn as ab,Bt as Lr,Cn as Wn,Cr as ma,Dn as Xs,Dr as no,Dt as Hw,En as Xi,Et as Hg,Ft as Ko,Gt as Nt$1,Hn as ae,In as _S,Ir as qr,J as pe,Jn as cW,Jt as O,K as lt,Kn as bS,Nt as Ke,O as Bi,On as Y,P as Oe,Pt as Km,Qn as db,Qr as xy,Qt as P,R as St,Rr as rb,Rt as Lg,Sr as m,St as Gn,Tr as me,Tt as He,Ur as tt,Ut as Mr,V as Z,Vt as Lw,W as it,X as re$1,Xn as ct,Xr as xe$1,Xt as Ou,Y as qt$1,Yn as cb,Z as ue$1,Zn as dS,Zt as Oy,_r as jv,at as Ar,bn as Wd,bt as Fa,cr as ge$1,ct as BT,dn as Rg,dt as Cb,ei as yI,et as z,f as de$1,h as on,hn as Uw,hr as jg,i as In,ii as zw,ir as g$1,jn as Ys,k as Bt$1,kn as Ye,kr as od,kt as Ip,l as _,ln as R,lt as Bv,mn as Ug,mr as jd,mt as Dc,n as Fn,nn as Pp,or as gI,pn as Te,pt as DT,q as me$1,qr as wp,ri as zo,rr as fw,rt as $r,sn as Qo,sr as gT,st as B,tr as fe$1,vr as jw,vt as F,wt as Gy,xt as Gg,yr as ke,yt as F3,zn as aW,zt as Lp}from"./main-LWBML7JF.js";var y=class{viewContainerRef;injector;id;role=`dialog`;panelClass=``;hasBackdrop=!0;backdropClass=``;disableClose=!1;closePredicate;width=``;height=``;minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus=`first-tabbable`;restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings};var ge=(()=>{class n extends it{_elementRef=m(oe);_focusTrapFactory=m(PT);_config;_interactivityChecker=m(xy);_ngZone=m(P);_focusMonitor=m(Fa);_renderer=m(Ar);_changeDetectorRef=m(eC);_injector=m(Y);_platform=m(ge$1);_document=m(O);_portalOutlet;_focusTrapped=new B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=m(y,{optional:!0})||new y,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let a=()=>{o(),c(),e.removeAttribute(`tabindex`)},o=this._renderer.listen(e,`blur`,a),c=this._renderer.listen(e,`mousedown`,a)})),e.focus(t)}_focusByCssSelector(e,t){let a=this._elementRef.nativeElement.querySelector(e);a&&this._forceFocus(a,t)}_trapFocus(e){this._isDestroyed||Ou(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case`dialog`:this._containsFocus()||t.focus(e);break;case!0:case`first-tabbable`:this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case`first-heading`:this._focusByCssSelector(`h1, h2, h3, h4, h5, h6, [role="heading"]`,e);break;default:this._focusByCssSelector(this._config.autoFocus,e)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e==`string`?t=this._document.querySelector(e):typeof e==`boolean`?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus==`function`){let a=DT(),o=this._elementRef.nativeElement;(!a||a===this._document.body||a===o||o.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=DT();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=DT()))}static ɵfac=function(t){return new(t||n)};static ɵcmp=(function(){function e(t,a){}return Te({type:n,selectors:[[`cdk-dialog-container`]],viewQuery:function(a,o){if(a&1&&Gg(Bi,7),a&2){let c;Hw(c=Uw())&&(o._portalOutlet=c.first)}},hostAttrs:[`tabindex`,`-1`,1,`cdk-dialog-container`],hostVars:6,hostBindings:function(a,o){a&2&&Wn(`id`,o._config.id||null)(`role`,o._config.role)(`aria-modal`,o._config.ariaModal)(`aria-labelledby`,o._config.ariaLabel?null:o._ariaLabelledByQueue[0])(`aria-label`,o._config.ariaLabel)(`aria-describedby`,o._config.ariaDescribedBy||null)},features:[Lr],decls:1,vars:0,consts:[[`cdkPortalOutlet`,``]],template:function(a,o){a&1&&Rg(0,e,0,0,`ng-template`,0)},dependencies:[Bi],styles:[`.cdk-dialog-container {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
min-height: inherit;
|
|
6
|
+
max-height: inherit;
|
|
7
|
+
}
|
|
8
|
+
`],encapsulation:2,changeDetection:1})})()}return n})();var A=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Oy(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:`keyboard`}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:`mouse`}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||`program`,this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i=``,e=``){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}};var jt=new g$1(`DialogScrollStrategy`,{providedIn:`root`,factory:()=>{let n=m(Y);return()=>re$1(n)}});var Vt=new g$1(`DialogData`);var Gt=new g$1(`DefaultDialogConfig`);function Ht(n){let i=ke(n),e=new me;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var _e=(()=>{class n{_injector=m(Y);_defaultOptions=m(Gt,{optional:!0});_parentDialog=m(n,{optional:!0,skipSelf:!0});_overlayContainer=m(ue$1);_idGenerator=m(Wd);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new B;_afterOpenedAtThisLevel=new B;_ariaHiddenElements=/* @__PURE__ */ new Map;_scrollStrategy=m(jt);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=jv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Dc(void 0)));open(e,t){let a=this._defaultOptions||new y;t=R(R({},a),t),t.id=t.id||this._idGenerator.getId(`cdk-dialog-`),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),c=Bt$1(this._injector,o),d=new A(c,t),h=this._attachContainer(c,d,t);if(d.containerInstance=h,!this.openDialogs.length){let se=this._overlayContainer.getContainerElement();h._focusTrapped?h._focusTrapped.pipe(tt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(se)}):this._hideNonDialogContentFromAssistiveTechnology(se)}return this._attachDialogContent(e,d,h,t),this.openDialogs.push(d),d.closed.subscribe(()=>this._removeOpenDialog(d,!0)),this.afterOpened.next(d),d}closeAll(){ue(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){ue(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),ue(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Z({positionStrategy:e.positionStrategy||pe().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,a){let o=a.injector||a.viewContainerRef?.injector,c=[{provide:y,useValue:a},{provide:A,useValue:t},{provide:lt,useValue:e}],d;a.container?typeof a.container==`function`?d=a.container:(d=a.container.type,c.push(...a.container.providers(a))):d=ge;let h=new St(d,a.viewContainerRef,Y.create({parent:o||this._injector,providers:c}));return e.attach(h).instance}_attachDialogContent(e,t,a,o){if(e instanceof Mr){let c=this._createInjector(o,t,a,void 0),d={$implicit:o.data,dialogRef:t};o.templateContext&&(d=R(R({},d),typeof o.templateContext==`function`?o.templateContext():o.templateContext)),a.attachTemplatePortal(new z(e,null,d,c))}else{let c=this._createInjector(o,t,a,this._injector),d=a.attachComponentPortal(new St(e,o.viewContainerRef,c,null,o.bindings));t.componentRef=d,t.componentInstance=d.instance}}_createInjector(e,t,a,o){let c=e.injector||e.viewContainerRef?.injector,d=[{provide:Vt,useValue:e.data},{provide:A,useValue:t}];return e.providers&&(typeof e.providers==`function`?d.push(...e.providers(t,e,a)):d.push(...e.providers)),e.direction&&(!c||!c.get(gT,null,{optional:!0}))&&d.push({provide:gT,useValue:Ht(e.direction)}),Y.create({parent:c||o,providers:d})}_removeOpenDialog(e,t){let a=this.openDialogs.indexOf(e);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,c)=>{o?c.setAttribute(`aria-hidden`,o):c.removeAttribute(`aria-hidden`)}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let a=t.length-1;a>-1;a--){let o=t[a];o!==e&&o.nodeName!==`SCRIPT`&&o.nodeName!==`STYLE`&&!o.hasAttribute(`aria-live`)&&!o.hasAttribute(`popover`)&&(this._ariaHiddenElements.set(o,o.getAttribute(`aria-hidden`)),o.setAttribute(`aria-hidden`,`true`))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static ɵfac=function(t){return new(t||n)};static ɵprov=F({token:n,factory:n.ɵfac})}return n})();function ue(n,i){let e=n.length;for(;e--;)i(n[e])}var At=(()=>{class n{static ɵfac=function(t){return new(t||n)};static ɵmod=fe$1({type:n});static ɵinj=ae({providers:[_e],imports:[Oe,qt$1,BT,qt$1]})}return n})();var de=class{viewContainerRef;injector;id;role=`dialog`;panelClass=``;hasBackdrop=!0;backdropClass=``;disableClose=!1;closePredicate;width=``;height=``;minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus=`first-tabbable`;restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings};var xe=`mdc-dialog--open`;var wt=`mdc-dialog--opening`;var It=`mdc-dialog--closing`;var qt=150;var Ut=75;var Wt=(()=>{class n extends ge{_animationStateChanged=new me;_animationsEnabled=!qr();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Tt(this._config.enterAnimationDuration)??qt:0;_exitAnimationDuration=this._animationsEnabled?Tt(this._config.exitAnimationDuration)??Ut:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:`opening`,totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Nt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wt,xe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(xe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:`closing`,totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(xe),this._animationsEnabled?(this._hostElement.style.setProperty(Nt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(It)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:`closed`,totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(wt,It)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame==`function`?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:`opened`,totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add(`mat-mdc-dialog-component-host`),t}static ɵfac=(()=>{let e;return function(a){return(e||(e=Km(n)))(a||n)}})();static ɵcmp=(function(){function e(t,a){}return Te({type:n,selectors:[[`mat-dialog-container`]],hostAttrs:[`tabindex`,`-1`,1,`mat-mdc-dialog-container`,`mdc-dialog`],hostVars:10,hostBindings:function(a,o){a&2&&(Hg(`id`,o._config.id),Wn(`aria-modal`,o._config.ariaModal)(`role`,o._config.role)(`aria-labelledby`,o._config.ariaLabel?null:o._ariaLabelledByQueue[0])(`aria-label`,o._config.ariaLabel)(`aria-describedby`,o._config.ariaDescribedBy||null),ct(`_mat-animation-noopable`,!o._animationsEnabled)(`mat-mdc-dialog-container-with-actions`,o._actionSectionCount>0))},features:[Lr],decls:3,vars:0,consts:[[1,`mat-mdc-dialog-inner-container`,`mdc-dialog__container`],[1,`mat-mdc-dialog-surface`,`mdc-dialog__surface`],[`cdkPortalOutlet`,``]],template:function(a,o){a&1&&(Ys(0,`div`,0)(1,`div`,1),Rg(2,e,0,0,`ng-template`,2),od()())},dependencies:[Bi],styles:[`.mat-mdc-dialog-container {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
display: block;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
max-height: inherit;
|
|
14
|
+
min-height: inherit;
|
|
15
|
+
min-width: inherit;
|
|
16
|
+
max-width: inherit;
|
|
17
|
+
outline: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cdk-overlay-pane.mat-mdc-dialog-panel {
|
|
21
|
+
max-width: var(--%NS%mat-dialog-container-max-width, 560px);
|
|
22
|
+
min-width: var(--%NS%mat-dialog-container-min-width, 280px);
|
|
23
|
+
}
|
|
24
|
+
@media (max-width: 599px) {
|
|
25
|
+
.cdk-overlay-pane.mat-mdc-dialog-panel {
|
|
26
|
+
max-width: var(--%NS%mat-dialog-container-small-max-width, calc(100vw - 32px));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-mdc-dialog-inner-container {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-around;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
height: 100%;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
transition: opacity linear var(--%NS%mat-dialog-transition-duration, 0ms);
|
|
39
|
+
max-height: inherit;
|
|
40
|
+
min-height: inherit;
|
|
41
|
+
min-width: inherit;
|
|
42
|
+
max-width: inherit;
|
|
43
|
+
}
|
|
44
|
+
.mdc-dialog--closing .mat-mdc-dialog-inner-container {
|
|
45
|
+
transition: opacity 75ms linear;
|
|
46
|
+
transform: none;
|
|
47
|
+
}
|
|
48
|
+
.mdc-dialog--open .mat-mdc-dialog-inner-container {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
._mat-animation-noopable .mat-mdc-dialog-inner-container {
|
|
52
|
+
transition: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.mat-mdc-dialog-surface {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
flex-grow: 0;
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
position: relative;
|
|
64
|
+
overflow-y: auto;
|
|
65
|
+
outline: 0;
|
|
66
|
+
transform: scale(0.8);
|
|
67
|
+
transition: transform var(--%NS%mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);
|
|
68
|
+
max-height: inherit;
|
|
69
|
+
min-height: inherit;
|
|
70
|
+
min-width: inherit;
|
|
71
|
+
max-width: inherit;
|
|
72
|
+
box-shadow: var(--%NS%mat-dialog-container-elevation-shadow, none);
|
|
73
|
+
border-radius: var(--%NS%mat-dialog-container-shape, var(--%NS%mat-sys-corner-extra-large, 4px));
|
|
74
|
+
background-color: var(--%NS%mat-dialog-container-color, var(--%NS%mat-sys-surface, white));
|
|
75
|
+
}
|
|
76
|
+
[dir=rtl] .mat-mdc-dialog-surface {
|
|
77
|
+
text-align: right;
|
|
78
|
+
}
|
|
79
|
+
.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {
|
|
80
|
+
transform: none;
|
|
81
|
+
}
|
|
82
|
+
._mat-animation-noopable .mat-mdc-dialog-surface {
|
|
83
|
+
transition: none;
|
|
84
|
+
}
|
|
85
|
+
.mat-mdc-dialog-surface::before {
|
|
86
|
+
position: absolute;
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
top: 0;
|
|
91
|
+
left: 0;
|
|
92
|
+
border: 2px solid transparent;
|
|
93
|
+
border-radius: inherit;
|
|
94
|
+
content: "";
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mat-mdc-dialog-title {
|
|
99
|
+
display: block;
|
|
100
|
+
position: relative;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
margin: 0 0 1px;
|
|
104
|
+
padding: var(--%NS%mat-dialog-headline-padding, 6px 24px 13px);
|
|
105
|
+
}
|
|
106
|
+
.mat-mdc-dialog-title::before {
|
|
107
|
+
display: inline-block;
|
|
108
|
+
width: 0;
|
|
109
|
+
height: 40px;
|
|
110
|
+
content: "";
|
|
111
|
+
vertical-align: 0;
|
|
112
|
+
}
|
|
113
|
+
[dir=rtl] .mat-mdc-dialog-title {
|
|
114
|
+
text-align: right;
|
|
115
|
+
}
|
|
116
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-title {
|
|
117
|
+
color: var(--%NS%mat-dialog-subhead-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
|
|
118
|
+
font-family: var(--%NS%mat-dialog-subhead-font, var(--%NS%mat-sys-headline-small-font, inherit));
|
|
119
|
+
line-height: var(--%NS%mat-dialog-subhead-line-height, var(--%NS%mat-sys-headline-small-line-height, 1.5rem));
|
|
120
|
+
font-size: var(--%NS%mat-dialog-subhead-size, var(--%NS%mat-sys-headline-small-size, 1rem));
|
|
121
|
+
font-weight: var(--%NS%mat-dialog-subhead-weight, var(--%NS%mat-sys-headline-small-weight, 400));
|
|
122
|
+
letter-spacing: var(--%NS%mat-dialog-subhead-tracking, var(--%NS%mat-sys-headline-small-tracking, 0.03125em));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.mat-mdc-dialog-content {
|
|
126
|
+
display: block;
|
|
127
|
+
flex-grow: 1;
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
margin: 0;
|
|
130
|
+
overflow: auto;
|
|
131
|
+
max-height: 65vh;
|
|
132
|
+
}
|
|
133
|
+
.mat-mdc-dialog-content > :first-child {
|
|
134
|
+
margin-top: 0;
|
|
135
|
+
}
|
|
136
|
+
.mat-mdc-dialog-content > :last-child {
|
|
137
|
+
margin-bottom: 0;
|
|
138
|
+
}
|
|
139
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-content {
|
|
140
|
+
color: var(--%NS%mat-dialog-supporting-text-color, var(--%NS%mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));
|
|
141
|
+
font-family: var(--%NS%mat-dialog-supporting-text-font, var(--%NS%mat-sys-body-medium-font, inherit));
|
|
142
|
+
line-height: var(--%NS%mat-dialog-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height, 1.5rem));
|
|
143
|
+
font-size: var(--%NS%mat-dialog-supporting-text-size, var(--%NS%mat-sys-body-medium-size, 1rem));
|
|
144
|
+
font-weight: var(--%NS%mat-dialog-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight, 400));
|
|
145
|
+
letter-spacing: var(--%NS%mat-dialog-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking, 0.03125em));
|
|
146
|
+
}
|
|
147
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-content {
|
|
148
|
+
padding: var(--%NS%mat-dialog-content-padding, 20px 24px);
|
|
149
|
+
}
|
|
150
|
+
.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {
|
|
151
|
+
padding: var(--%NS%mat-dialog-with-actions-content-padding, 20px 24px 0);
|
|
152
|
+
}
|
|
153
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {
|
|
154
|
+
padding-top: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.mat-mdc-dialog-actions {
|
|
158
|
+
display: flex;
|
|
159
|
+
position: relative;
|
|
160
|
+
flex-shrink: 0;
|
|
161
|
+
flex-wrap: wrap;
|
|
162
|
+
align-items: center;
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
min-height: 52px;
|
|
165
|
+
margin: 0;
|
|
166
|
+
border-top: 1px solid transparent;
|
|
167
|
+
padding: var(--%NS%mat-dialog-actions-padding, 16px 24px);
|
|
168
|
+
justify-content: var(--%NS%mat-dialog-actions-alignment, flex-end);
|
|
169
|
+
}
|
|
170
|
+
@media (forced-colors: active) {
|
|
171
|
+
.mat-mdc-dialog-actions {
|
|
172
|
+
border-top-color: CanvasText;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {
|
|
176
|
+
justify-content: start;
|
|
177
|
+
}
|
|
178
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {
|
|
179
|
+
justify-content: center;
|
|
180
|
+
}
|
|
181
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {
|
|
182
|
+
justify-content: flex-end;
|
|
183
|
+
}
|
|
184
|
+
.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
|
|
185
|
+
.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
|
|
186
|
+
margin-left: 8px;
|
|
187
|
+
}
|
|
188
|
+
[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
|
|
189
|
+
[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
|
|
190
|
+
margin-left: 0;
|
|
191
|
+
margin-right: 8px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.mat-mdc-dialog-component-host {
|
|
195
|
+
display: contents;
|
|
196
|
+
}
|
|
197
|
+
`],encapsulation:2,changeDetection:1})})()}return n})();var Nt=`--mat-dialog-transition-duration`;function Tt(n){return n==null?null:typeof n==`number`?n:n.endsWith(`ms`)?jd(n.substring(0,n.length-2)):n.endsWith(`s`)?jd(n.substring(0,n.length-1))*1e3:n===`0`?0:null}var re=(function(n){return n[n.OPEN=0]=`OPEN`,n[n.CLOSING=1]=`CLOSING`,n[n.CLOSED=2]=`CLOSED`,n})(re||{});var G=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new no(1);_beforeClosed=new no(1);_result;_closeFallbackTimeout;_state=re.OPEN;_closeInteractionType;constructor(i,e,t){this._ref=i,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass(`mat-mdc-dialog-panel`),t._animationStateChanged.pipe(He(a=>a.state===`opened`),tt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(He(a=>a.state===`closed`),tt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Bv(this.backdropClick(),this.keydownEvents().pipe(He(a=>a.keyCode===27&&!this.disableClose&&!Oy(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),Mt(this,a.type===`keydown`?`keyboard`:`mouse`))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(He(t=>t.state===`closing`),tt(1)).subscribe(t=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=re.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i=``,e=``){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=re.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Mt(n,i,e){return n._closeInteractionType=i,n.close(e)}var fe=new g$1(`MatMdcDialogData`);var Qt=new g$1(`mat-mdc-dialog-default-options`);var Xt=new g$1(`mat-mdc-dialog-scroll-strategy`,{providedIn:`root`,factory:()=>{let n=m(Y);return()=>re$1(n)}});var ve=(()=>{class n{_defaultOptions=m(Qt,{optional:!0});_scrollStrategy=m(Xt);_parentDialog=m(n,{optional:!0,skipSelf:!0});_idGenerator=m(Wd);_injector=m(Y);_dialog=m(_e);_animationsDisabled=qr();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new B;_afterOpenedAtThisLevel=new B;dialogConfigClass=de;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=jv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Dc(void 0)));constructor(){this._dialogRefConstructor=G,this._dialogContainerType=Wt,this._dialogDataToken=fe}open(e,t){let a;t=R(R({},this._defaultOptions||new de),t),t.id=t.id||this._idGenerator.getId(`mat-mdc-dialog-`),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,J(R({},t),{positionStrategy:pe(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleString()===`0`||t.exitAnimationDuration?.toString()===`0`,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:y,useValue:t}]},templateContext:()=>({dialogRef:a}),providers:(c,d,h)=>(a=new this._dialogRefConstructor(c,t,h),a.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:h},{provide:this._dialogDataToken,useValue:d.data},{provide:this._dialogRefConstructor,useValue:a},{provide:A,useValue:null}])}));return a.componentRef=o.componentRef,a.componentInstance=o.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{let c=this.openDialogs.indexOf(a);c>-1&&(this.openDialogs.splice(c,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static ɵfac=function(t){return new(t||n)};static ɵprov=F({token:n,factory:n.ɵfac})}return n})();var Et=(()=>{class n{dialogRef=m(G,{optional:!0});_elementRef=m(oe);_dialog=m(ve);ariaLabel;type=`button`;dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=Rt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){this._elementRef.nativeElement.getAttribute(`aria-disabled`)!==`true`&&Mt(this.dialogRef,e.screenX===0&&e.screenY===0?`keyboard`:`mouse`,this.dialogResult)}static ɵfac=function(t){return new(t||n)};static ɵdir=xe$1({type:n,selectors:[[``,`mat-dialog-close`,``],[``,`matDialogClose`,``]],hostVars:2,hostBindings:function(t,a){t&1&&Ug(`click`,function(c){return a._onButtonClick(c)}),t&2&&Wn(`aria-label`,a.ariaLabel||null)(`type`,a.type)},inputs:{ariaLabel:[0,`aria-label`,`ariaLabel`],type:`type`,dialogResult:[0,`mat-dialog-close`,`dialogResult`],_matDialogClose:[0,`matDialogClose`,`_matDialogClose`]},exportAs:[`matDialogClose`],features:[Xs]})}return n})();var Ot=(()=>{class n{_dialogRef=m(G,{optional:!0});_elementRef=m(oe);_dialog=m(ve);ngOnInit(){this._dialogRef||(this._dialogRef=Rt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static ɵfac=function(t){return new(t||n)};static ɵdir=xe$1({type:n})}return n})();var Ft=(()=>{class n extends Ot{id=m(Wd).getId(`mat-mdc-dialog-title-`);_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static ɵfac=(()=>{let e;return function(a){return(e||(e=Km(n)))(a||n)}})();static ɵdir=xe$1({type:n,selectors:[[``,`mat-dialog-title`,``],[``,`matDialogTitle`,``]],hostAttrs:[1,`mat-mdc-dialog-title`,`mdc-dialog__title`],hostVars:1,hostBindings:function(t,a){t&2&&Hg(`id`,a.id)},inputs:{id:`id`},exportAs:[`matDialogTitle`],features:[Lr]})}return n})();var zt=(()=>{class n{static ɵfac=function(t){return new(t||n)};static ɵdir=xe$1({type:n,selectors:[[``,`mat-dialog-content`,``],[`mat-dialog-content`],[``,`matDialogContent`,``]],hostAttrs:[1,`mat-mdc-dialog-content`,`mdc-dialog__content`],features:[fw([me$1])]})}return n})();var Lt=(()=>{class n extends Ot{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static ɵfac=(()=>{let e;return function(a){return(e||(e=Km(n)))(a||n)}})();static ɵdir=xe$1({type:n,selectors:[[``,`mat-dialog-actions`,``],[`mat-dialog-actions`],[``,`matDialogActions`,``]],hostAttrs:[1,`mat-mdc-dialog-actions`,`mdc-dialog__actions`],hostVars:6,hostBindings:function(t,a){t&2&&ct(`mat-mdc-dialog-actions-align-start`,a.align===`start`)(`mat-mdc-dialog-actions-align-center`,a.align===`center`)(`mat-mdc-dialog-actions-align-end`,a.align===`end`)},inputs:{align:`align`},features:[Lr]})}return n})();function Rt(n,i){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains(`mat-mdc-dialog-container`);)e=e.parentElement;return e?i.find(t=>t.id===e.id):null}var Pt=(()=>{class n{static ɵfac=function(t){return new(t||n)};static ɵmod=fe$1({type:n});static ɵinj=ae({providers:[ve],imports:[At,Oe,qt$1,$r]})}return n})();var ye={color:`accent`,clickAction:`check-indeterminate`,disabledInteractive:!1};var $t=new g$1(`mat-checkbox-default-options`,{providedIn:`root`,factory:()=>ye});var s=(function(n){return n[n.Init=0]=`Init`,n[n.Checked=1]=`Checked`,n[n.Unchecked=2]=`Unchecked`,n[n.Indeterminate=3]=`Indeterminate`,n})(s||{});var Ce=class{source;checked};var De=(()=>{class n{_elementRef=m(oe);_changeDetectorRef=m(eC);_ngZone=m(P);_animationsDisabled=qr();_options=m($t,{optional:!0});_injector=m(Y);_signalFormField=null;focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new Ce;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:`mdc-checkbox--anim-unchecked-checked`,uncheckedToIndeterminate:`mdc-checkbox--anim-unchecked-indeterminate`,checkedToUnchecked:`mdc-checkbox--anim-checked-unchecked`,checkedToIndeterminate:`mdc-checkbox--anim-checked-indeterminate`,indeterminateToChecked:`mdc-checkbox--anim-indeterminate-checked`,indeterminateToUnchecked:`mdc-checkbox--anim-indeterminate-unchecked`};ariaLabel=``;ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition=`after`;name=null;change=new me;indeterminateChange=new me;value;disableRipple=!1;_inputElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass=``;_currentCheckState=s.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(Nt$1).load(Gy);let e=m(new ma(`tabindex`),{optional:!0});this._options=this._options||ye,this.color=this._options.color||ye.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=m(Wd).getId(`mat-mdc-checkbox-`),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngOnInit(){this._signalFormField=this._injector.get(Vt$1,void 0,{optional:!0,self:!0})}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let t=e!=this._indeterminate();this._indeterminate.set(e),t&&(e?this._transitionCheckState(s.Indeterminate):this._transitionCheckState(this.checked?s.Checked:s.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=ke(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0&&!this._signalFormField?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,a=this._getAnimationTargetElement();if(!(t===e||!a)&&(this._currentAnimationClass&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!==`noop`?(this.indeterminate&&e!==`check`&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?s.Checked:s.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e===`noop`)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationsDisabled)return``;switch(e){case s.Init:if(t===s.Checked)return this._animationClasses.uncheckedToChecked;if(t==s.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case s.Unchecked:return t===s.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case s.Checked:return t===s.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case s.Indeterminate:return t===s.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return``}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_preventBubblingFromLabel(e){e.target&&this._inputElement&&e.target!==this._inputElement.nativeElement&&e.stopPropagation()}static ɵfac=function(t){return new(t||n)};static ɵcmp=(function(){let e=[`input`];return Te({type:n,selectors:[[`mat-checkbox`]],viewQuery:function(o,c){if(o&1&&Gg(e,5),o&2){let d;Hw(d=Uw())&&(c._inputElement=d.first)}},hostAttrs:[1,`mat-mdc-checkbox`],hostVars:16,hostBindings:function(o,c){o&2&&(Hg(`id`,c.id),Wn(`tabindex`,null)(`aria-label`,null)(`aria-labelledby`,null),Qo(c.color?`mat-`+c.color:`mat-accent`),ct(`_mat-animation-noopable`,c._animationsDisabled)(`mdc-checkbox--disabled`,c.disabled)(`mat-mdc-checkbox-disabled`,c.disabled)(`mat-mdc-checkbox-checked`,c.checked)(`mat-mdc-checkbox-disabled-interactive`,c.disabledInteractive))},inputs:{ariaLabel:[0,`aria-label`,`ariaLabel`],ariaLabelledby:[0,`aria-labelledby`,`ariaLabelledby`],ariaDescribedby:[0,`aria-describedby`,`ariaDescribedby`],ariaExpanded:[2,`aria-expanded`,`ariaExpanded`,Ke],ariaControls:[0,`aria-controls`,`ariaControls`],ariaOwns:[0,`aria-owns`,`ariaOwns`],id:`id`,required:[2,`required`,`required`,Ke],labelPosition:`labelPosition`,name:`name`,value:`value`,disableRipple:[2,`disableRipple`,`disableRipple`,Ke],tabIndex:[2,`tabIndex`,`tabIndex`,a=>a==null?void 0:Cb(a)],color:`color`,disabledInteractive:[2,`disabledInteractive`,`disabledInteractive`,Ke],checked:[2,`checked`,`checked`,Ke],disabled:[2,`disabled`,`disabled`,Ke],indeterminate:[2,`indeterminate`,`indeterminate`,Ke]},outputs:{change:`change`,indeterminateChange:`indeterminateChange`},exportAs:[`matCheckbox`],features:[db([{provide:de$1,useExisting:Xi(()=>n),multi:!0},{provide:_,useExisting:n,multi:!0}]),Xs],ngContentSelectors:[`*`],decls:15,vars:23,consts:[[`checkbox`,``],[`input`,``],[`label`,``],[`mat-internal-form-field`,``,3,`click`,`labelPosition`,`for`],[1,`mdc-checkbox`],[`aria-hidden`,`true`,1,`mat-mdc-checkbox-touch-target`],[`type`,`checkbox`,1,`mdc-checkbox__native-control`,3,`blur`,`click`,`change`,`checked`,`indeterminate`,`disabled`,`id`,`required`,`tabIndex`],[`aria-hidden`,`true`,1,`mdc-checkbox__ripple`],[`aria-hidden`,`true`,1,`mdc-checkbox__background`],[`focusable`,`false`,`viewBox`,`0 0 24 24`,1,`mdc-checkbox__checkmark`],[`fill`,`none`,`d`,`M1.73,12.91 8.1,19.28 22.79,4.59`,1,`mdc-checkbox__checkmark-path`],[1,`mdc-checkbox__mixedmark`],[`mat-ripple`,``,`aria-hidden`,`true`,1,`mat-mdc-checkbox-ripple`,`mat-focus-indicator`,3,`matRippleTrigger`,`matRippleDisabled`,`matRippleCentered`],[1,`mat-internal-form-field-label`,`mdc-label`]],template:function(o,c){if(o&1&&(Gn(),Ys(0,`label`,3),Ug(`click`,function(h){return c._preventBubblingFromLabel(h)}),Ys(1,`span`,4,0),jg(3,`span`,5),Ys(4,`input`,6,1),Ug(`blur`,function(){return c._onBlur()})(`click`,function(){return c._onInputClick()})(`change`,function(h){return c._onInteractionEvent(h)}),od(),jg(6,`span`,7),Ys(7,`span`,8),Pp(),Ys(8,`svg`,9),jg(9,`path`,10),od(),Lp(),jg(10,`span`,11),od(),jg(11,`span`,12),od(),Ys(12,`span`,13,2),Ye(14),od()()),o&2){let d=zw(2);Lg(`labelPosition`,c.labelPosition)(`for`,c.inputId),zo(4),ct(`mdc-checkbox--selected`,c.checked),Lg(`checked`,c.checked)(`indeterminate`,c.indeterminate)(`disabled`,c.disabled&&!c.disabledInteractive)(`id`,c.inputId)(`required`,c.required)(`tabIndex`,c.disabled&&!c.disabledInteractive?-1:c.tabIndex),Wn(`aria-label`,c.ariaLabel||null)(`aria-labelledby`,c.ariaLabelledby)(`aria-describedby`,c.ariaDescribedby)(`aria-checked`,c.indeterminate?`mixed`:null)(`aria-controls`,c.ariaControls)(`aria-disabled`,c.disabled&&c.disabledInteractive?!0:null)(`aria-expanded`,c.ariaExpanded)(`aria-owns`,c.ariaOwns)(`name`,c.name)(`value`,c.value),zo(7),Lg(`matRippleTrigger`,d)(`matRippleDisabled`,c.disableRipple||c.disabled)(`matRippleCentered`,!0)}},dependencies:[F3,g],styles:[`.mdc-checkbox {
|
|
198
|
+
display: inline-block;
|
|
199
|
+
position: relative;
|
|
200
|
+
flex: 0 0 18px;
|
|
201
|
+
box-sizing: content-box;
|
|
202
|
+
width: 18px;
|
|
203
|
+
height: 18px;
|
|
204
|
+
line-height: 0;
|
|
205
|
+
white-space: nowrap;
|
|
206
|
+
cursor: pointer;
|
|
207
|
+
vertical-align: bottom;
|
|
208
|
+
padding: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);
|
|
209
|
+
margin: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);
|
|
210
|
+
}
|
|
211
|
+
.mdc-checkbox:hover > .mdc-checkbox__ripple {
|
|
212
|
+
opacity: var(--%NS%mat-checkbox-unselected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
213
|
+
background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
214
|
+
}
|
|
215
|
+
.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element {
|
|
216
|
+
background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
217
|
+
}
|
|
218
|
+
.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple {
|
|
219
|
+
opacity: var(--%NS%mat-checkbox-unselected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
220
|
+
background-color: var(--%NS%mat-checkbox-unselected-focus-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
221
|
+
}
|
|
222
|
+
.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
223
|
+
background-color: var(--%NS%mat-checkbox-unselected-focus-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
224
|
+
}
|
|
225
|
+
.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple {
|
|
226
|
+
opacity: var(--%NS%mat-checkbox-unselected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
227
|
+
background-color: var(--%NS%mat-checkbox-unselected-pressed-state-layer-color, var(--%NS%mat-sys-primary));
|
|
228
|
+
}
|
|
229
|
+
.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
230
|
+
background-color: var(--%NS%mat-checkbox-unselected-pressed-state-layer-color, var(--%NS%mat-sys-primary));
|
|
231
|
+
}
|
|
232
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
|
|
233
|
+
opacity: var(--%NS%mat-checkbox-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
234
|
+
background-color: var(--%NS%mat-checkbox-selected-hover-state-layer-color, var(--%NS%mat-sys-primary));
|
|
235
|
+
}
|
|
236
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
237
|
+
background-color: var(--%NS%mat-checkbox-selected-hover-state-layer-color, var(--%NS%mat-sys-primary));
|
|
238
|
+
}
|
|
239
|
+
.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple {
|
|
240
|
+
opacity: var(--%NS%mat-checkbox-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
241
|
+
background-color: var(--%NS%mat-checkbox-selected-focus-state-layer-color, var(--%NS%mat-sys-primary));
|
|
242
|
+
}
|
|
243
|
+
.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
244
|
+
background-color: var(--%NS%mat-checkbox-selected-focus-state-layer-color, var(--%NS%mat-sys-primary));
|
|
245
|
+
}
|
|
246
|
+
.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
|
|
247
|
+
opacity: var(--%NS%mat-checkbox-selected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
248
|
+
background-color: var(--%NS%mat-checkbox-selected-pressed-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
249
|
+
}
|
|
250
|
+
.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
251
|
+
background-color: var(--%NS%mat-checkbox-selected-pressed-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
252
|
+
}
|
|
253
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,
|
|
254
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple {
|
|
255
|
+
background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
256
|
+
}
|
|
257
|
+
.mdc-checkbox .mdc-checkbox__native-control {
|
|
258
|
+
position: absolute;
|
|
259
|
+
margin: 0;
|
|
260
|
+
padding: 0;
|
|
261
|
+
opacity: 0;
|
|
262
|
+
cursor: inherit;
|
|
263
|
+
z-index: 1;
|
|
264
|
+
width: var(--%NS%mat-checkbox-state-layer-size, 40px);
|
|
265
|
+
height: var(--%NS%mat-checkbox-state-layer-size, 40px);
|
|
266
|
+
top: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);
|
|
267
|
+
right: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);
|
|
268
|
+
left: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.mdc-checkbox--disabled {
|
|
272
|
+
cursor: default;
|
|
273
|
+
pointer-events: none;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.mdc-checkbox__background {
|
|
277
|
+
display: inline-flex;
|
|
278
|
+
position: absolute;
|
|
279
|
+
align-items: center;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
box-sizing: border-box;
|
|
282
|
+
width: 18px;
|
|
283
|
+
height: 18px;
|
|
284
|
+
border: 2px solid currentColor;
|
|
285
|
+
border-radius: 2px;
|
|
286
|
+
background-color: transparent;
|
|
287
|
+
pointer-events: none;
|
|
288
|
+
will-change: background-color, border-color;
|
|
289
|
+
transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
290
|
+
-webkit-print-color-adjust: exact;
|
|
291
|
+
color-adjust: exact;
|
|
292
|
+
border-color: var(--%NS%mat-checkbox-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
293
|
+
top: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);
|
|
294
|
+
left: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,
|
|
298
|
+
.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {
|
|
299
|
+
border-color: var(--%NS%mat-checkbox-selected-icon-color, var(--%NS%mat-sys-primary));
|
|
300
|
+
background-color: var(--%NS%mat-checkbox-selected-icon-color, var(--%NS%mat-sys-primary));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.mdc-checkbox--disabled .mdc-checkbox__background {
|
|
304
|
+
border-color: var(--%NS%mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
305
|
+
}
|
|
306
|
+
@media (forced-colors: active) {
|
|
307
|
+
.mdc-checkbox--disabled .mdc-checkbox__background {
|
|
308
|
+
border-color: GrayText;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
|
|
313
|
+
.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
|
|
314
|
+
background-color: var(--%NS%mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
315
|
+
border-color: transparent;
|
|
316
|
+
}
|
|
317
|
+
@media (forced-colors: active) {
|
|
318
|
+
.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
|
|
319
|
+
.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
|
|
320
|
+
border-color: GrayText;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
|
|
325
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
|
|
326
|
+
border-color: var(--%NS%mat-checkbox-unselected-hover-icon-color, var(--%NS%mat-sys-on-surface));
|
|
327
|
+
background-color: transparent;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
|
|
331
|
+
.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
|
|
332
|
+
border-color: var(--%NS%mat-checkbox-selected-hover-icon-color, var(--%NS%mat-sys-primary));
|
|
333
|
+
background-color: var(--%NS%mat-checkbox-selected-hover-icon-color, var(--%NS%mat-sys-primary));
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,
|
|
337
|
+
.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {
|
|
338
|
+
border-color: var(--%NS%mat-checkbox-unselected-focus-icon-color, var(--%NS%mat-sys-on-surface));
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,
|
|
342
|
+
.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {
|
|
343
|
+
border-color: var(--%NS%mat-checkbox-selected-focus-icon-color, var(--%NS%mat-sys-primary));
|
|
344
|
+
background-color: var(--%NS%mat-checkbox-selected-focus-icon-color, var(--%NS%mat-sys-primary));
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
|
|
348
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
|
|
349
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
|
|
350
|
+
border-color: var(--%NS%mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
351
|
+
}
|
|
352
|
+
@media (forced-colors: active) {
|
|
353
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
|
|
354
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
|
|
355
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
|
|
356
|
+
border-color: GrayText;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
|
|
360
|
+
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
|
|
361
|
+
background-color: var(--%NS%mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
362
|
+
border-color: transparent;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.mdc-checkbox__checkmark {
|
|
366
|
+
position: absolute;
|
|
367
|
+
top: 0;
|
|
368
|
+
right: 0;
|
|
369
|
+
bottom: 0;
|
|
370
|
+
left: 0;
|
|
371
|
+
width: 100%;
|
|
372
|
+
opacity: 0;
|
|
373
|
+
transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
374
|
+
color: var(--%NS%mat-checkbox-selected-checkmark-color, var(--%NS%mat-sys-on-primary));
|
|
375
|
+
}
|
|
376
|
+
@media (forced-colors: active) {
|
|
377
|
+
.mdc-checkbox__checkmark {
|
|
378
|
+
color: CanvasText;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
|
|
383
|
+
color: var(--%NS%mat-checkbox-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));
|
|
384
|
+
}
|
|
385
|
+
@media (forced-colors: active) {
|
|
386
|
+
.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
|
|
387
|
+
color: GrayText;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.mdc-checkbox__checkmark-path {
|
|
392
|
+
transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
393
|
+
stroke: currentColor;
|
|
394
|
+
stroke-width: 3.12px;
|
|
395
|
+
stroke-dashoffset: 29.7833385;
|
|
396
|
+
stroke-dasharray: 29.7833385;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.mdc-checkbox__mixedmark {
|
|
400
|
+
width: 100%;
|
|
401
|
+
height: 0;
|
|
402
|
+
transform: scaleX(0) rotate(0deg);
|
|
403
|
+
border-width: 1px;
|
|
404
|
+
border-style: solid;
|
|
405
|
+
opacity: 0;
|
|
406
|
+
transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
407
|
+
border-color: var(--%NS%mat-checkbox-selected-checkmark-color, var(--%NS%mat-sys-on-primary));
|
|
408
|
+
}
|
|
409
|
+
@media (forced-colors: active) {
|
|
410
|
+
.mdc-checkbox__mixedmark {
|
|
411
|
+
margin: 0 1px;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
|
|
416
|
+
border-color: var(--%NS%mat-checkbox-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));
|
|
417
|
+
}
|
|
418
|
+
@media (forced-colors: active) {
|
|
419
|
+
.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
|
|
420
|
+
border-color: GrayText;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,
|
|
425
|
+
.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,
|
|
426
|
+
.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,
|
|
427
|
+
.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {
|
|
428
|
+
animation-duration: 180ms;
|
|
429
|
+
animation-timing-function: linear;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {
|
|
433
|
+
animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;
|
|
434
|
+
transition: none;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {
|
|
438
|
+
animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;
|
|
439
|
+
transition: none;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {
|
|
443
|
+
animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;
|
|
444
|
+
transition: none;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {
|
|
448
|
+
animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;
|
|
449
|
+
transition: none;
|
|
450
|
+
}
|
|
451
|
+
.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {
|
|
452
|
+
animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;
|
|
453
|
+
transition: none;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
|
|
457
|
+
animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;
|
|
458
|
+
transition: none;
|
|
459
|
+
}
|
|
460
|
+
.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {
|
|
461
|
+
animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;
|
|
462
|
+
transition: none;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {
|
|
466
|
+
animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;
|
|
467
|
+
transition: none;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
|
|
471
|
+
.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
|
|
472
|
+
transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
|
|
473
|
+
}
|
|
474
|
+
.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
|
|
475
|
+
.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
|
|
476
|
+
stroke-dashoffset: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
|
|
480
|
+
transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);
|
|
481
|
+
opacity: 1;
|
|
482
|
+
}
|
|
483
|
+
.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
|
|
484
|
+
transform: scaleX(1) rotate(-45deg);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
|
|
488
|
+
transform: rotate(45deg);
|
|
489
|
+
opacity: 0;
|
|
490
|
+
transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
491
|
+
}
|
|
492
|
+
.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
|
|
493
|
+
transform: scaleX(1) rotate(0deg);
|
|
494
|
+
opacity: 1;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
@keyframes mdc-checkbox-unchecked-checked-checkmark-path {
|
|
498
|
+
0%, 50% {
|
|
499
|
+
stroke-dashoffset: 29.7833385;
|
|
500
|
+
}
|
|
501
|
+
50% {
|
|
502
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
503
|
+
}
|
|
504
|
+
100% {
|
|
505
|
+
stroke-dashoffset: 0;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {
|
|
509
|
+
0%, 68.2% {
|
|
510
|
+
transform: scaleX(0);
|
|
511
|
+
}
|
|
512
|
+
68.2% {
|
|
513
|
+
animation-timing-function: cubic-bezier(0, 0, 0, 1);
|
|
514
|
+
}
|
|
515
|
+
100% {
|
|
516
|
+
transform: scaleX(1);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
@keyframes mdc-checkbox-checked-unchecked-checkmark-path {
|
|
520
|
+
from {
|
|
521
|
+
animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
522
|
+
opacity: 1;
|
|
523
|
+
stroke-dashoffset: 0;
|
|
524
|
+
}
|
|
525
|
+
to {
|
|
526
|
+
opacity: 0;
|
|
527
|
+
stroke-dashoffset: -29.7833385;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
@keyframes mdc-checkbox-checked-indeterminate-checkmark {
|
|
531
|
+
from {
|
|
532
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
533
|
+
transform: rotate(0deg);
|
|
534
|
+
opacity: 1;
|
|
535
|
+
}
|
|
536
|
+
to {
|
|
537
|
+
transform: rotate(45deg);
|
|
538
|
+
opacity: 0;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
@keyframes mdc-checkbox-indeterminate-checked-checkmark {
|
|
542
|
+
from {
|
|
543
|
+
animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
|
|
544
|
+
transform: rotate(45deg);
|
|
545
|
+
opacity: 0;
|
|
546
|
+
}
|
|
547
|
+
to {
|
|
548
|
+
transform: rotate(360deg);
|
|
549
|
+
opacity: 1;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
@keyframes mdc-checkbox-checked-indeterminate-mixedmark {
|
|
553
|
+
from {
|
|
554
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
555
|
+
transform: rotate(-45deg);
|
|
556
|
+
opacity: 0;
|
|
557
|
+
}
|
|
558
|
+
to {
|
|
559
|
+
transform: rotate(0deg);
|
|
560
|
+
opacity: 1;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
@keyframes mdc-checkbox-indeterminate-checked-mixedmark {
|
|
564
|
+
from {
|
|
565
|
+
animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
|
|
566
|
+
transform: rotate(0deg);
|
|
567
|
+
opacity: 1;
|
|
568
|
+
}
|
|
569
|
+
to {
|
|
570
|
+
transform: rotate(315deg);
|
|
571
|
+
opacity: 0;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {
|
|
575
|
+
0% {
|
|
576
|
+
animation-timing-function: linear;
|
|
577
|
+
transform: scaleX(1);
|
|
578
|
+
opacity: 1;
|
|
579
|
+
}
|
|
580
|
+
32.8%, 100% {
|
|
581
|
+
transform: scaleX(0);
|
|
582
|
+
opacity: 0;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
.mat-mdc-checkbox {
|
|
586
|
+
display: inline-block;
|
|
587
|
+
position: relative;
|
|
588
|
+
-webkit-tap-highlight-color: transparent;
|
|
589
|
+
}
|
|
590
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
|
|
591
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control,
|
|
592
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple,
|
|
593
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
|
|
594
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background,
|
|
595
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
|
|
596
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
|
|
597
|
+
.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
|
|
598
|
+
transition: none !important;
|
|
599
|
+
animation: none !important;
|
|
600
|
+
}
|
|
601
|
+
.mat-mdc-checkbox label {
|
|
602
|
+
cursor: pointer;
|
|
603
|
+
}
|
|
604
|
+
.mat-mdc-checkbox .mat-internal-form-field {
|
|
605
|
+
color: var(--%NS%mat-checkbox-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
606
|
+
font-family: var(--%NS%mat-checkbox-label-text-font, var(--%NS%mat-sys-body-medium-font));
|
|
607
|
+
line-height: var(--%NS%mat-checkbox-label-text-line-height, var(--%NS%mat-sys-body-medium-line-height));
|
|
608
|
+
font-size: var(--%NS%mat-checkbox-label-text-size, var(--%NS%mat-sys-body-medium-size));
|
|
609
|
+
letter-spacing: var(--%NS%mat-checkbox-label-text-tracking, var(--%NS%mat-sys-body-medium-tracking));
|
|
610
|
+
font-weight: var(--%NS%mat-checkbox-label-text-weight, var(--%NS%mat-sys-body-medium-weight));
|
|
611
|
+
}
|
|
612
|
+
.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive {
|
|
613
|
+
pointer-events: auto;
|
|
614
|
+
}
|
|
615
|
+
.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input {
|
|
616
|
+
cursor: default;
|
|
617
|
+
}
|
|
618
|
+
.mat-mdc-checkbox.mat-mdc-checkbox-disabled label {
|
|
619
|
+
cursor: default;
|
|
620
|
+
}
|
|
621
|
+
.mat-mdc-checkbox.mat-mdc-checkbox-disabled .mat-internal-form-field-label {
|
|
622
|
+
color: var(--%NS%mat-checkbox-disabled-label-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
623
|
+
}
|
|
624
|
+
@media (forced-colors: active) {
|
|
625
|
+
.mat-mdc-checkbox.mat-mdc-checkbox-disabled .mat-internal-form-field-label {
|
|
626
|
+
color: GrayText;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
.mat-mdc-checkbox .mat-internal-form-field-label:empty {
|
|
630
|
+
display: none;
|
|
631
|
+
}
|
|
632
|
+
.mat-mdc-checkbox .mdc-checkbox__ripple {
|
|
633
|
+
opacity: 0;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.mat-mdc-checkbox .mat-mdc-checkbox-ripple,
|
|
637
|
+
.mdc-checkbox__ripple {
|
|
638
|
+
top: 0;
|
|
639
|
+
left: 0;
|
|
640
|
+
right: 0;
|
|
641
|
+
bottom: 0;
|
|
642
|
+
position: absolute;
|
|
643
|
+
border-radius: 50%;
|
|
644
|
+
pointer-events: none;
|
|
645
|
+
}
|
|
646
|
+
.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),
|
|
647
|
+
.mdc-checkbox__ripple:not(:empty) {
|
|
648
|
+
transform: translateZ(0);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
652
|
+
opacity: 0.1;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.mat-mdc-checkbox-touch-target {
|
|
656
|
+
position: absolute;
|
|
657
|
+
top: 50%;
|
|
658
|
+
left: 50%;
|
|
659
|
+
height: var(--%NS%mat-checkbox-touch-target-size, 48px);
|
|
660
|
+
width: var(--%NS%mat-checkbox-touch-target-size, 48px);
|
|
661
|
+
transform: translate(-50%, -50%);
|
|
662
|
+
display: var(--%NS%mat-checkbox-touch-target-display, block);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before {
|
|
666
|
+
border-radius: 50%;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before {
|
|
670
|
+
content: "";
|
|
671
|
+
}
|
|
672
|
+
`],encapsulation:2})})()}return n})();var Bt=(()=>{class n{static ɵfac=function(t){return new(t||n)};static ɵmod=fe$1({type:n});static ɵinj=ae({imports:[De,$r]})}return n})();var Kt=n=>({checked:n});function Jt(n,i){if(n&1){let e=Lw();Ys(0,`mat-checkbox`,5),gI(),cb(`ngModelChange`,function(a){Ip(e);let o=jw();return bS(o.checked,a)||(o.checked=a),wp(a)}),dS(1),od()}if(n&2){let e=jw();ab(`ngModel`,e.checked),yI(),zo(),rb(e.d.checkbox)}}var Se=class n{d=m(fe);checked=!!this.d.checked;static ɵfac=function(e){return new(e||n)};static ɵcmp=Te({type:n,selectors:[[`ng-component`]],decls:11,vars:9,consts:[[`mat-dialog-title`,``],[3,`ngModel`],[`align`,`end`],[`mat-button`,``,`mat-dialog-close`,``],[`mat-flat-button`,``,3,`mat-dialog-close`],[3,`ngModelChange`,`ngModel`]],template:function(e,t){e&1&&(Ys(0,`h2`,0),dS(1),od(),Ys(2,`mat-dialog-content`)(3,`p`),dS(4),od(),Yo(5,Jt,2,2,`mat-checkbox`,1),od(),Ys(6,`mat-dialog-actions`,2)(7,`button`,3),dS(8,`Cancel`),od(),Ys(9,`button`,4),dS(10),od()()),e&2&&(zo(),rb(t.d.title),zo(3),rb(t.d.message),zo(),Ko(t.d.checkbox?5:-1),zo(4),ct(`danger`,t.d.danger),Lg(`mat-dialog-close`,_S(7,Kt,t.checked)),zo(),rb(t.d.ok||`OK`))},dependencies:[Pt,Et,Ft,Lt,zt,cW,aW,Bt,De,Fn,In,on],styles:[`.danger[_ngcontent-%COMP%]{--%NS%mat-button-filled-container-color: #dc2626}`]})};function ba(n,i){return n.open(Se,{data:i,width:`440px`}).afterClosed()}export{Pt as a,zt as c,Lt as i,Ft as n,ba as o,G as r,ve as s,Et as t};
|