You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
41 KiB
8 lines
41 KiB
7 months ago
|
{
|
||
|
"version": 3,
|
||
|
"sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-layout.mjs"],
|
||
|
"sourcesContent": ["import * as i0 from '@angular/core';\nimport { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, ContentChild, Output, Optional, ContentChildren, NgModule } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { __decorate } from 'tslib';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\nimport * as i2 from 'ng-zorro-antd/core/services';\nimport { siderResponsiveMap } from 'ng-zorro-antd/core/services';\nimport { toCssPixel, inNextTick, InputBoolean } from 'ng-zorro-antd/core/util';\nimport { NzMenuDirective } from 'ng-zorro-antd/menu';\nimport * as i1 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i1$1 from '@angular/cdk/platform';\nimport * as i1$2 from '@angular/cdk/bidi';\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nconst _c0 = [\"*\"];\nconst _c1 = [\"nz-sider-trigger\", \"\"];\nfunction NzSiderTriggerComponent_ng_container_0_ng_template_1_Template(rf, ctx) {}\nfunction NzSiderTriggerComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, NzSiderTriggerComponent_ng_container_0_ng_template_1_Template, 0, 0, \"ng-template\", 3);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n const _r5 = i0.ɵɵreference(5);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.nzZeroTrigger || _r5);\n }\n}\nfunction NzSiderTriggerComponent_ng_container_1_ng_template_1_Template(rf, ctx) {}\nfunction NzSiderTriggerComponent_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, NzSiderTriggerComponent_ng_container_1_ng_template_1_Template, 0, 0, \"ng-template\", 3);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n const _r3 = i0.ɵɵreference(3);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.nzTrigger || _r3);\n }\n}\nfunction NzSiderTriggerComponent_ng_template_2_span_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 5);\n }\n if (rf & 2) {\n const ctx_r8 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"nzType\", ctx_r8.nzCollapsed ? \"right\" : \"left\");\n }\n}\nfunction NzSiderTriggerComponent_ng_template_2_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 5);\n }\n if (rf & 2) {\n const ctx_r9 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"nzType\", ctx_r9.nzCollapsed ? \"left\" : \"right\");\n }\n}\nfunction NzSiderTriggerComponent_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, NzSiderTriggerComponent_ng_template_2_span_0_Template, 1, 1, \"span\", 4)(1, NzSiderTriggerComponent_ng_template_2_span_1_Template, 1, 1, \"span\", 4);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.nzReverseArrow);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.nzReverseArrow);\n }\n}\nfunction NzSiderTriggerComponent_ng_template_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 6);\n }\n}\nfunction NzSiderComponent_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 2);\n i0.ɵɵlistener(\"click\", function NzSiderComponent_div_2_Template_div_click_0_listener() {\n i0.ɵɵrestoreView(_r2);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.setCollapsed(!ctx_r1.nzCollapsed));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"matchBreakPoint\", ctx_r0.matchBreakPoint)(\"nzCollapsedWidth\", ctx_r0.nzCollapsedWidth)(\"nzCollapsed\", ctx_r0.nzCollapsed)(\"nzBreakpoint\", ctx_r0.nzBreakpoint)(\"nzReverseArrow\", ctx_r0.nzRevers
|
||
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,IAAM,MAAM,CAAC,GAAG;AAChB,IAAM,MAAM,CAAC,oBAAoB,EAAE;AACnC,SAAS,8DAA8D,IAAI,KAAK;AAAC;AACjF,SAAS,gDAAgD,IAAI,KAAK;AAChE,MAAI,KAAK,GAAG;AACV,IAAG,wBAAwB,CAAC;AAC5B,IAAG,WAAW,GAAG,+DAA+D,GAAG,GAAG,eAAe,CAAC;AACtG,IAAG,sBAAsB;AAAA,EAC3B;AACA,MAAI,KAAK,GAAG;AACV,UAAM,SAAY,cAAc;AAChC,UAAM,MAAS,YAAY,CAAC;AAC5B,IAAG,UAAU,CAAC;AACd,IAAG,WAAW,oBAAoB,OAAO,iBAAiB,GAAG;AAAA,EAC/D;AACF;AACA,SAAS,8DAA8D,IAAI,KAAK;AAAC;AACjF,SAAS,gDAAgD,IAAI,KAAK;AAChE,MAAI,KAAK,GAAG;AACV,IAAG,wBAAwB,CAAC;AAC5B,IAAG,WAAW,GAAG,+DAA+D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