Skip to content

Commit

Permalink
docs: clean standalone: true
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jan 3, 2025
1 parent df6658f commit fbf35bc
Show file tree
Hide file tree
Showing 187 changed files with 5 additions and 189 deletions.
1 change: 0 additions & 1 deletion packages/abc/auto-focus/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
</div>
}
`,
standalone: true,
imports: [NzButtonModule, NzInputModule, AutoFocusDirective]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/avatar-list/demo/maxLength.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { AvatarListModule } from '@delon/abc/avatar-list';
<avatar-list-item tips="Cipchk" text="Cipchk" />
<avatar-list-item tips="heart-o" icon="heart-o" />
</avatar-list>`,
standalone: true,
imports: [AvatarListModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/avatar-list/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { AvatarListModule } from '@delon/abc/avatar-list';
<avatar-list-item tips="Cipchk" text="Cipchk" />
<avatar-list-item tips="heart-o" icon="heart-o" />
</avatar-list>`,
standalone: true,
imports: [AvatarListModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/cell/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ import { NzGridModule } from 'ng-zorro-antd/grid';
`
],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [CellModule, FormsModule, JsonPipe, NzGridModule]
})
export class DemoComponent implements OnInit {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/cell/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
'(click)': 'show()'
},
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ NzToolTipModule ]
})
export class CellTestWidget implements CellWidgetInstance {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/cell/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
'(click)': 'show()'
},
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ NzToolTipModule ]
})
export class CellTestWidget implements CellWidgetInstance {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/count-down/demo/accuracy.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { CountDownComponent } from '@delon/abc/count-down';
@Component({
selector: 'app-demo',
template: ` <count-down [config]="config" /> `,
standalone: true,
imports: [CountDownComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/count-down/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { NzMessageService } from 'ng-zorro-antd/message';
<button nz-button (click)="cd.instance.pause()">Pause</button>
<button nz-button (click)="cd.instance.resume()">Resume</button>
`,
standalone: true,
imports: [CountDownComponent, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/date-picker/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
result: {{ i | json }}<br />
<nz-range-picker [(ngModel)]="i.start" extend [(ngModelEnd)]="i.end" />
`,
standalone: true,
imports: [JsonPipe, FormsModule, NzDatePickerModule, RangePickerDirective]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/date-picker/demo/shortcut.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
result: {{ i | json }}<br />
<nz-range-picker [(ngModel)]="i.start" extend [(ngModelEnd)]="i.end" shortcut />
`,
standalone: true,
imports: [JsonPipe, FormsModule, NzDatePickerModule, RangePickerDirective]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/down-file/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
</button>
}
`,
standalone: true,
imports: [DownFileDirective, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/ellipsis/demo/line.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { EllipsisComponent } from '@delon/abc/ellipsis';
</p>
</ellipsis>
`,
standalone: true,
imports: [EllipsisComponent]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/ellipsis/demo/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { EllipsisComponent } from '@delon/abc/ellipsis';
<h4 class="mt-lg">Show Tooltip</h4>
<ellipsis length="100" tooltip>{{ article }}</ellipsis>
`,
standalone: true,
imports: [EllipsisComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/error-collect/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
<error-collect />
</form>
`,
standalone: true,
imports: [NzFormModule, ReactiveFormsModule, NzInputModule, ErrorCollectComponent]
})
export class DemoComponent implements OnInit {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/exception/demo/403.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ExceptionComponent } from '@delon/abc/exception';
@Component({
selector: 'app-demo',
template: ` <exception [type]="403" />`,
standalone: true,
imports: [ExceptionComponent]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/exception/demo/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ExceptionComponent } from '@delon/abc/exception';
@Component({
selector: 'app-demo',
template: ` <exception [type]="404" />`,
standalone: true,
imports: [ExceptionComponent]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/exception/demo/500.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ExceptionComponent } from '@delon/abc/exception';
@Component({
selector: 'app-demo',
template: ` <exception [type]="500" />`,
standalone: true,
imports: [ExceptionComponent]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/footer-toolbar/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
</footer-toolbar>
</form>
`,
standalone: true,
imports: [NzFormModule, ReactiveFormsModule, NzInputModule, FooterToolbarComponent, NzButtonModule]
})
export class DemoComponent implements OnInit {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/global-footer/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
}
`
],
standalone: true,
imports: [GlobalFooterComponent, NzIconModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/global-footer/demo/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
}
`
],
standalone: true,
imports: [GlobalFooterModule, NzIconModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/highlight/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
}
`
],
standalone: true,
imports: [NzHighlightModule, NzInputModule, FormsModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/hotkey/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ text area 1, press q to focus this textarea and select all text</textarea
}
`
],
standalone: true,
imports: [NzButtonModule, HotkeyDirective, NzInputModule, NzSwitchModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/loading/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
<button nz-button (click)="show('spin')">Spin</button>
<button nz-button (click)="show('text')">Only Text</button>
`,
standalone: true,
imports: [NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/loading/demo/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
template: ` @for (i of customs; track $index) {
<button nz-button (click)="show(i)">{{ i.name }}</button>
}`,
standalone: true,
imports: [NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/loading/demo/delay.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
<button nz-button (click)="show()">Display after 1 seconds</button>
<button nz-button (click)="close()">Close</button>
`,
standalone: true,
imports: [NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/lodop/demo/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ import { NzMessageService } from 'ng-zorro-antd/message';
</form>
}
`,
standalone: true,
imports: [NzFormModule, NzAlertModule, NzGridModule, FormsModule, NzInputModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/lodop/demo/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ import { NzSelectModule } from 'ng-zorro-antd/select';
</form>
}
`,
standalone: true,
imports: [NzFormModule, NzAlertModule, NzGridModule, FormsModule, NzInputModule, NzButtonModule, NzSelectModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/media/demo/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
</div>
<div media #media [source]="source" [options]="options"></div>
`,
standalone: true,
imports: [NzButtonModule, MediaComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/media/demo/mp3.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
</div>
<div media #media type="audio" [source]="mp3"></div>
`,
standalone: true,
imports: [NzButtonModule, MediaComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/media/demo/mp4.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
</div>
<div media #media [source]="mp4"></div>
`,
standalone: true,
imports: [NzButtonModule, MediaComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/notice-icon/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { NoticeIconComponent } from '@delon/abc/notice-icon';
@Component({
selector: 'app-demo',
template: ` <notice-icon count="5" /> `,
standalone: true,
imports: [NoticeIconComponent]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/notice-icon/demo/popover.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import { NzMessageService } from 'ng-zorro-antd/message';
</ng-template>
</div>
`,
standalone: true,
imports: [NoticeIconComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/observers/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
<chart-echarts #echart [option]="option" (events)="handleEvents($event)" />
</div>
`,
standalone: true,
imports: [NzButtonModule, ChartEChartsModule, ObserverSize]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/onboarding/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import { NzMessageService } from 'ng-zorro-antd/message';
onboarding.json
</a>
`,
standalone: true,
imports: [NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/onboarding/demo/multiple-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
</div>
<button nz-button (click)="start()">Start</button>
`,
standalone: true,
imports: [NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/page-header/demo/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ import { NzBreadCrumbModule } from 'ng-zorro-antd/breadcrumb';
</ng-template>
</page-header>
`,
standalone: true,
imports: [PageHeaderComponent, NzBreadCrumbModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/page-header/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { NzBreadCrumbModule } from 'ng-zorro-antd/breadcrumb';
</ng-template>
</page-header>
`,
standalone: true,
imports: [PageHeaderComponent, NzBreadCrumbModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/page-header/demo/standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ import { NzTabsModule } from 'ng-zorro-antd/tabs';
</ng-template>
</page-header>
`,
standalone: true,
imports: [
PageHeaderComponent,
NzBreadCrumbModule,
Expand Down
1 change: 0 additions & 1 deletion packages/abc/page-header/demo/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ import { NzTabsModule } from 'ng-zorro-antd/tabs';
`
],
encapsulation: ViewEncapsulation.Emulated,
standalone: true,
imports: [PageHeaderComponent, NzTabsModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/pdf/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { NzButtonModule } from 'ng-zorro-antd/button';
<button nz-button nzType="primary" (click)="src = src === one ? two : one">Change File</button>
<pdf [src]="src" style="height: 300px" (change)="handle($event)" />
`,
standalone: true,
imports: [NzButtonModule, PdfComponent]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/pdf/demo/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ import { NzUploadFile, NzUploadModule } from 'ng-zorro-antd/upload';
</div>
</div>
`,
standalone: true,
imports: [
NzButtonModule,
PdfComponent,
Expand Down
1 change: 0 additions & 1 deletion packages/abc/quick-menu/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { NzListModule } from 'ng-zorro-antd/list';
</nz-list>
</quick-menu>
`,
standalone: true,
imports: [NzButtonModule, QuickMenuComponent, NzListModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/result/demo/classic.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ import { NzStepsModule } from 'ng-zorro-antd/steps';
<button nz-button>打 印</button>
</result>
`,
standalone: true,
imports: [ResultModule, NzGridModule, NzStepsModule, NzIconModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/result/demo/fail.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
<button nz-button [nzType]="'primary'">返回修改</button>
</result>
`,
standalone: true,
imports: [ResultModule, NzIconModule, NzButtonModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/result/demo/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { ResultModule } from '@delon/abc/result';
<div style="background: #3ba0e9; color:#fff">操作建议,一般放置按钮组</div>
</result>
`,
standalone: true,
imports: [ResultModule]
})
export class DemoComponent {}
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import { NzMessageService } from 'ng-zorro-antd/message';
<button nz-button nzType="primary" [disabled]="f.invalid">Save</button>
</se>
</form>`,
standalone: true,
imports: [SEModule, NzFormModule, NzInputModule, FormsModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/demo/compact.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
<button nz-button nzType="primary" [disabled]="f.invalid">Save</button>
</se>
</form>`,
standalone: true,
imports: [SEModule, NzFormModule, NzInputModule, FormsModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/demo/complex.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ import { NzSelectModule } from 'ng-zorro-antd/select';
</se>
</form>
`,
standalone: true,
imports: [
SEModule,
NzFormModule,
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/demo/horizontal.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
<button nz-button nzType="primary" [disabled]="f.invalid">Save</button>
</se>
</form>`,
standalone: true,
imports: [SEModule, NzFormModule, NzInputModule, FormsModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/demo/inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import { NzInputModule } from 'ng-zorro-antd/input';
<button nz-button nzType="primary" [disabled]="f.invalid">Save</button>
</se>
</form>`,
standalone: true,
imports: [SEModule, NzFormModule, NzInputModule, FormsModule, NzButtonModule]
})
export class DemoComponent {
Expand Down
Loading

0 comments on commit fbf35bc

Please sign in to comment.