<|start_filename|>src/AntDesign.Pro/Pages/Account/Center/Components/Articles/Articles.razor.cs<|end_filename|>
using System.Collections.Generic;
using AntDesign.Pro.Template.Models;
using Microsoft.AspNetCore.Components;

namespace AntDesign.Pro.Template.Pages.Account.Center
{
    public partial class Articles
    {
        [Parameter] public IList<ListItemDataType> List { get; set; }
    }
}

<|start_filename|>src/AntDesign.Pro/Pages/Form/StepForm/Components/Step3/Step3.razor.cs<|end_filename|>
using AntDesign.Pro.Template.Models;

namespace AntDesign.Pro.Template.Pages.Form
{
    public partial class Step3
    {
        private readonly StepFormModel _model = new StepFormModel();

        public void OnFinish()
        {
        }
    }
}

<|start_filename|>src/AntDesign.Pro/Pages/Form/AdvancedForm/AdvancedForm.razor.cs<|end_filename|>
using AntDesign.Pro.Template.Models;

namespace AntDesign.Pro.Template.Pages.Form
{
    public partial class AdvancedForm
    {
        private readonly AdvancedFormModel _model = new AdvancedFormModel();
    }
}

<|start_filename|>src/AntDesign.Pro/gulpfile.js<|end_filename|>
﻿var gulp = require('gulp'),
  cleanCss = require('gulp-clean-css'),
  less = require('gulp-less'),
  rename = require('gulp-rename'),
  concatCss = require("gulp-concat-css"),
  npmImport = require("less-plugin-npm-import");

const sourceFiles = [
  '**/*.less',
  '!node_modules/**',
  '!**/bin/**',
  '!**/obj/**'
];

gulp.task('isolation', function () {
  return gulp
    .src(sourceFiles)
    .pipe(less({
      javascriptEnabled: true,
      plugins: [new npmImport({ prefix: '~' })]
    }))
    .pipe(rename(function (file) {
      if (file.basename == 'global') {
        file.dirname = 'css';
        file.basename = 'site';
      }
    }))
    .pipe(gulp.dest(function (file) {
      if (file.basename == 'site.css') {
        return './wwwroot';
      }
      return '.';
    }));
});

gulp.task('less', function () {
  return gulp
    .src(sourceFiles)
    .pipe(less({
      javascriptEnabled: true,
      plugins: [new npmImport({ prefix: '~' })]
    }))
    .pipe(concatCss('site.css'))
    .pipe(cleanCss({ compatibility: '*' }))
    .pipe(gulp.dest('wwwroot/css'));
});

gulp.task('default', gulp.parallel('isolation'), function () {
});

<|start_filename|>src/AntDesign.Pro/Pages/Dashboard/Monitor/Components/Charts/TagCloud/TagCloud.razor.cs<|end_filename|>
using Microsoft.AspNetCore.Components;

namespace AntDesign.Pro.Template.Pages.Dashboard.Monitor
{
    public partial class TagCloud
    {
        [Parameter]
        public object[] Data { get; set; }

        [Parameter]
        public int? Height { get; set; }
    }
}

<|start_filename|>src/AntDesign.Pro/Pages/Dashboard/Analysis/Components/Trend/Trend.razor.cs<|end_filename|>
using Microsoft.AspNetCore.Components;

namespace AntDesign.Pro.Template.Pages.Dashboard.Analysis
{
    public partial class Trend
    {
        [Parameter]
        public RenderFragment ChildContent { get; set; }

        [Parameter]
        public string Flag { get; set; }
    }
}

<|start_filename|>src/AntDesign.Pro/Models/BasicProfileDataType.cs<|end_filename|>
﻿namespace AntDesign.Pro.Template.Models
{
    public class BasicProfileDataType
    {
        public BasicGood[] BasicGoods { get; set; }
        public BasicProgress[] BasicProgress { get; set; }
    }
}

<|start_filename|>src/AntDesign.Pro/Pages/Form/BasicForm/BasicForm.razor.cs<|end_filename|>
using AntDesign;
using AntDesign.Pro.Template.Models;

namespace AntDesign.Pro.Template.Pages.Form
{
    public class FormItemLayout
    {
        public ColLayoutParam LabelCol { get; set; }
        public ColLayoutParam WrapperCol { get; set; }
    }

    public partial class BasicForm
    {
        private readonly BasicFormModel _model = new BasicFormModel();

        private readonly FormItemLayout _formItemLayout = new FormItemLayout
        {
            LabelCol = new ColLayoutParam
            {
                Xs = new EmbeddedProperty {Span = 24},
                Sm = new EmbeddedProperty {Span = 7},
            },

            WrapperCol = new ColLayoutParam
            {
                Xs = new EmbeddedProperty {Span = 24},
                Sm = new EmbeddedProperty {Span = 12},
                Md = new EmbeddedProperty {Span = 10},
            }
        };

        private readonly FormItemLayout _submitFormLayout = new FormItemLayout
        {
            WrapperCol = new ColLayoutParam
            {
                Xs = new EmbeddedProperty { Span = 24, Offset = 0},
                Sm = new EmbeddedProperty { Span = 10, Offset = 7},
            }
        };

        private void HandleSubmit()
        {
        }
    }
}

<|start_filename|>.template.config/templates/wasm/gulpfile.js<|end_filename|>
﻿var gulp = require('gulp'),
  cleanCss = require('gulp-clean-css'),
  less = require('gulp-less'),
  rename = require('gulp-rename'),
  concatCss = require("gulp-concat-css"),
  npmImport = require("less-plugin-npm-import");

gulp.task('less', function () {
  return gulp
    .src([
      '**/*.less',
      '!node_modules/**',
      '!**/bin/**',
      '!**/obj/**'
    ])
    .pipe(less({
      javascriptEnabled: true,
      plugins: [new npmImport({ prefix: '~' })]
    }))
    .pipe(concatCss('site.css'))
    .pipe(cleanCss({ compatibility: '*' }))
    .pipe(gulp.dest('wwwroot/css'));
});

gulp.task('default', gulp.parallel('less'), function () {
});

<|start_filename|>src/AntDesign.Pro/wwwroot/data/notice.json<|end_filename|>
[
  {
    "id": "xxx1",
    "title": "Alipay",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",
    "description": "It's an inner thing, which they can't reach and can't reach",
    "updatedAt": "2020-08-26T10:21:19.719Z",
    "member": "Scientific Moving Brick Group",
    "href": "",
    "memberLink": ""
  },
  {
    "id": "xxx2",
    "title": "Angular",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",
    "description": "Hope is a good thing, maybe the best, good things will not die out",
    "updatedAt": "2017-07-24T00:00:00.000Z",
    "member": "The whole group is <NAME>",
    "href": "",
    "memberLink": ""
  },
  {
    "id": "xxx3",
    "title": "Ant Design",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",
    "description": "There are so many pubs in the town, but she just walked into my pub",
    "updatedAt": "2020-08-26T10:21:19.719Z",
    "member": "Second Girl Group",
    "href": "",
    "memberLink": ""
  },
  {
    "id": "xxx4",
    "title": "Ant Design Pro",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",
    "description": "At that time I only thought about what I wanted, never wanted what I had",
    "updatedAt": "2017-07-23T00:00:00.000Z",
    "member": "Programmer's Daily",
    "href": "",
    "memberLink": ""
  },
  {
    "id": "xxx5",
    "title": "Bootstrap",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",
    "description": "Shiver",
    "updatedAt": "2017-07-23T00:00:00.000Z",
    "member": "Highly Compelling Design Sky Mission",
    "href": "",
    "memberLink": ""
  },
  {
    "id": "xxx6",
    "title": "React",
    "logo": "https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",
    "description": "Life is like a box of chocolates, the results are often unexpected",
    "updatedAt": "2017-07-23T00:00:00.000Z",
    "member": "Lie to you to learn computer",
    "href": "",
    "memberLink": ""
  }
]

<|start_filename|>.template.config/templates/wasm/Pages/Welcome.razor.css<|end_filename|>
.pre {
  margin: 12px 0;
  padding: 12px 20px;
  background: #fff;
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
    0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
}


<|start_filename|>src/AntDesign.Pro/Pages/Profile/Basic/Basic.razor.cs<|end_filename|>
using System.Threading.Tasks;
using AntDesign.Pro.Template.Models;
using AntDesign.Pro.Template.Services;
using Microsoft.AspNetCore.Components;

namespace AntDesign.Pro.Template.Pages.Profile
{
    public partial class Basic
    {
        private BasicProfileDataType _data = new BasicProfileDataType();

        [Inject] protected IProfileService ProfileService { get; set; }

        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();
            _data = await ProfileService.GetBasicAsync();
        }
    }
}