Skip to content

Commit 70c99bf

Browse files
committed
release: 21.0.1
1 parent a3f2bd7 commit 70c99bf

4 files changed

Lines changed: 47 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ng-zorro-vscode",
33
"displayName": "NG-ZORRO Snippets",
44
"description": "Snippets based on NG-ZORRO",
5-
"version": "21.0.0",
5+
"version": "21.0.1",
66
"icon": "ng-zorro.png",
77
"publisher": "cipchk",
88
"license": "MIT",

src/magic/resources/data.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,6 +4673,14 @@ export const DATA: Directive[] = [
46734673
"default": "`true`",
46744674
"pureDefault": "true"
46754675
},
4676+
{
4677+
"name": "nzSize",
4678+
"inputType": 0,
4679+
"description": "nz-form.nzSize.description",
4680+
"type": "string",
4681+
"typeRaw": "`small` | `default` | `large`",
4682+
"default": ""
4683+
},
46764684
{
46774685
"name": "formGroup",
46784686
"inputType": 0,
@@ -19690,6 +19698,36 @@ export const DATA: Directive[] = [
1969019698
"typeRaw": "`string | TemplateRef`",
1969119699
"default": ""
1969219700
},
19701+
{
19702+
"name": "nzPrefix",
19703+
"inputType": 0,
19704+
"description": "nz-time-picker.nzPrefix.description",
19705+
"type": "string",
19706+
"typeRaw": "`string | TemplateRef`",
19707+
"default": ""
19708+
},
19709+
{
19710+
"name": "nzNeedConfirm",
19711+
"inputType": 0,
19712+
"description": "nz-time-picker.nzNeedConfirm.description",
19713+
"type": "boolean",
19714+
"typeRaw": "`boolean`",
19715+
"default": ""
19716+
},
19717+
{
19718+
"name": "nzPlacement",
19719+
"inputType": 0,
19720+
"description": "nz-time-picker.nzPlacement.description",
19721+
"type": "Enum",
19722+
"typeRaw": "`'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight'`",
19723+
"default": "",
19724+
"typeDefinition": [
19725+
"bottomLeft",
19726+
"bottomRight",
19727+
"topLeft",
19728+
"topRight"
19729+
]
19730+
},
1969319731
{
1969419732
"name": "ngModelChange",
1969519733
"inputType": 1,

src/magic/resources/lang-en-US.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export const enUS: Record<string, string> = {
546546
"nz-form.nzLabelAlign.description": "Set default props `[nzLabelAlign]` value of `nz-form-label`",
547547
"nz-form.nzLabelWrap.description": "Set default props `[nzLabelWrap]` value of `nz-form-label`",
548548
"nz-form.nzRequiredMark.description": "Required mark style. Can use required mark or optional mark.",
549+
"nz-form.nzSize.description": "Set field component size",
549550
"nz-form-item.title": "Form",
550551
"nz-form-item.whenToUse": "- When you need to create an instance or collect information.\n- When you need to validate fields in certain rules.",
551552
"nz-form-item.description": "Used to separate the item in forms, contains label(optional) and control field.",
@@ -1520,6 +1521,9 @@ export const enUS: Record<string, string> = {
15201521
"nz-time-picker.nzPopupClassName.description": "className of panel",
15211522
"nz-time-picker.nzUse12Hours.description": "display as 12 hours format, with default format `h:mm:ss a`",
15221523
"nz-time-picker.nzSuffixIcon.description": "the custom suffix icon",
1524+
"nz-time-picker.nzPrefix.description": "the custom prefix",
1525+
"nz-time-picker.nzNeedConfirm.description": "Need click confirm button to trigger value change",
1526+
"nz-time-picker.nzPlacement.description": "The position where the selection box pops up",
15231527
"nz-time-picker.ngModelChange.description": "a callback function, can be executed when the selected time is changing",
15241528
"nz-time-picker.nzOpenChange.description": "a callback function which will be called while panel opening/closing",
15251529
"nz-timeline.title": "Timeline",

src/magic/resources/lang-zh-CN.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ export const zhCN: Record<string, string> = {
545545
"nz-form.nzLabelAlign.description": "配置 `nz-form-label` 的 `[nzLabelAlign]` 的默认值",
546546
"nz-form.nzLabelWrap.description": "配置 `nz-form-label` 的 `[nzLabelWrap]` 的默认值",
547547
"nz-form.nzRequiredMark.description": "必填标记样式。可使用必填标记或可选标记。",
548+
"nz-form.nzSize.description": "设置字段组件的尺寸",
548549
"nz-form-item.title": "表单",
549550
"nz-form-item.whenToUse": "- 用于创建一个实体或收集信息。\n- 需要对输入的数据类型进行校验时。",
550551
"nz-form-item.description": "表单项用于区分表单中不同的区域,包含表单域和表单标签(可选)。",
@@ -1550,6 +1551,9 @@ export const zhCN: Record<string, string> = {
15501551
"nz-time-picker.nzPopupClassName.description": "弹出层类名",
15511552
"nz-time-picker.nzUse12Hours.description": "使用 12 小时制,为 true 时 format 默认为`h:mm:ss a`",
15521553
"nz-time-picker.nzSuffixIcon.description": "自定义的后缀图标",
1554+
"nz-time-picker.nzPrefix.description": "自定义前缀",
1555+
"nz-time-picker.nzNeedConfirm.description": "是否需要确认按钮,为 false 时失去焦点即代表选择",
1556+
"nz-time-picker.nzPlacement.description": "选择框弹出的位置",
15531557
"nz-time-picker.ngModelChange.description": "时间发生变化的回调",
15541558
"nz-time-picker.nzOpenChange.description": "面板打开/关闭时的回调",
15551559
"nz-timeline.title": "时间轴",

0 commit comments

Comments
 (0)