ngx-axis-appforge 0.0.13 → 0.0.15

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.
Files changed (106) hide show
  1. package/axis-components/dynamic-value/design/index.d.ts +5 -0
  2. package/axis-components/dynamic-value/index.d.ts +16 -0
  3. package/axis-components/form/index.d.ts +3 -2
  4. package/axis-components/form-item/index.d.ts +1 -1
  5. package/axis-components/scope/index.d.ts +1 -0
  6. package/axis-components-covers/dynamic-value.svg +32 -0
  7. package/core/index.d.ts +6 -6
  8. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +3 -3
  9. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +3 -3
  10. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -1
  11. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +3 -3
  12. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
  13. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +4 -3
  14. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
  15. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +3 -3
  16. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +3 -3
  17. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +9 -9
  18. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
  19. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +3 -3
  20. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -1
  21. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +3 -3
  22. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
  23. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +18 -18
  24. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
  25. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +3 -3
  26. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
  27. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +3 -3
  28. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -1
  29. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +77 -0
  30. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -0
  31. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +29 -0
  32. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -0
  33. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +3 -3
  34. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
  35. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +3 -3
  36. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +3 -3
  37. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +3 -3
  38. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -1
  39. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +3 -3
  40. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +6 -6
  41. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +6 -22
  42. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
  43. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +19 -10
  44. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
  45. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +3 -3
  46. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
  47. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +3 -3
  48. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +3 -3
  49. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
  50. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +3 -3
  51. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +3 -3
  52. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
  53. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +3 -3
  54. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
  55. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +3 -3
  56. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +3 -3
  57. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +3 -3
  58. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
  59. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +3 -3
  60. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +3 -3
  61. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
  62. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +3 -3
  63. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +3 -3
  64. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +3 -3
  65. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -1
  66. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +6 -6
  67. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +3 -3
  68. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -1
  69. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +10 -9
  70. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
  71. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +4 -3
  72. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
  73. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +3 -3
  74. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
  75. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +3 -3
  76. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +9 -9
  77. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +3 -3
  78. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
  79. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +9 -9
  80. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
  81. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +3 -3
  82. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -1
  83. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +9 -9
  84. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
  85. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +6 -6
  86. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
  87. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +9 -9
  88. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +3 -3
  89. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
  90. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +3 -3
  91. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +3 -3
  92. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +3 -3
  93. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +3 -3
  94. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +9 -9
  95. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
  96. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +3 -3
  97. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
  98. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +3 -3
  99. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
  100. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +3 -3
  101. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
  102. package/fesm2022/ngx-axis-appforge-axis-components.mjs +23 -0
  103. package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -1
  104. package/fesm2022/ngx-axis-appforge-core.mjs +90 -93
  105. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
  106. package/package.json +91 -83
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input-icon.mjs","sources":["../../../axis-components/input-icon/input-icon.options.ts","../../../axis-components/input-icon/input-icon.ts","../../../axis-components/input-icon/input-icon.html","../../../axis-components/input-icon/ngx-axis-appforge-axis-components-input-icon.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputIconOptions extends ValueAccessOptions {\n readonly placeholder = signal(\"设置图标\");\n readonly modalTitle = signal(\"设置图标\");\n}","import { ChangeDetectionStrategy, Component, computed, inject, model } from '@angular/core';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { InputIconOptions } from './input-icon.options';\nimport { FormsModule, ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';\nimport { DynamicDirective, FormValidators, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'axis-input-icon',\n imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, NzRadioModule, FormsModule],\n templateUrl: './input-icon.html',\n styleUrl: './input-icon.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIcon extends ValueAccess<InputIconOptions> {\n protected override options: InputIconOptions = new InputIconOptions();\n\n private readonly fb = inject(UntypedFormBuilder);\n readonly fg = this.fb.group({\n lib: [\"antdesign\", FormValidators.required],\n theme: [\"outline\", FormValidators.required],\n icon: [undefined, FormValidators.required]\n });\n readonly formValue = toSignal(this.fg.valueChanges);\n readonly preview = computed(() => ({ component: \"axis-components/icon\", inuse: true, ...this.formValue() }))\n\n isVisible = model(false);\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.fg.reset(value);\n }\n\n resetForm() {\n this.fg.reset({\n lib: \"antdesign\",\n theme: \"outline\",\n icon: undefined,\n });\n }\n\n onOk() {\n this.value.set(this.preview());\n this.onChange?.(this.value())\n this.isVisible.set(false);\n }\n}\n","@if (!options.readonly()) {\n<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"value()?.component? iconInp:undefined\"\n [nzSuffix]=\"iconSuffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.placeholder()\" readonly />\n</nz-input-group>\n<ng-template #iconInp>\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n</ng-template>\n<ng-template #iconSuffix>\n <i nz-icon nzType=\"right\" style=\"color:rgba(0, 0, 0, 0.25)\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.modalTitle()\" (nzOnOk)=\"onOk()\"\n (nzOnCancel)=\"isVisible.set(false)\" (nzAfterClose)=\"resetForm()\">\n <ng-container *nzModalContent>\n <form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标库</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"lib\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n @if (formValue() == undefined || formValue()?.lib == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标主题</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"theme\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"输入图标类型,如 edit\" nz-input formControlName=\"icon\" />\n </nz-input-group>\n <ng-template #iconPreview>\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n antdesign 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n iconfont 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n</nz-modal>\n}@else if(value()?.comonent){\n<ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-icon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGM,MAAO,gBAAiB,SAAQ,kBAAkB,CAAA;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,MAAM,uDAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,MAAM,sDAAC;AACvC;;ACYK,MAAO,SAAU,SAAQ,WAA6B,CAAA;AACvC,IAAA,OAAO,GAAqB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A,UAAA,EAAA,CAAA;kBAPrB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,CAAC,EAAA,eAAA,EAGnI,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mlHAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEhBjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-icon.mjs","sources":["../../../axis-components/input-icon/input-icon.options.ts","../../../axis-components/input-icon/input-icon.ts","../../../axis-components/input-icon/input-icon.html","../../../axis-components/input-icon/ngx-axis-appforge-axis-components-input-icon.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputIconOptions extends ValueAccessOptions {\n readonly placeholder = signal(\"设置图标\");\n readonly modalTitle = signal(\"设置图标\");\n}","import { ChangeDetectionStrategy, Component, computed, inject, model } from '@angular/core';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { InputIconOptions } from './input-icon.options';\nimport { FormsModule, ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';\nimport { DynamicDirective, FormValidators, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'axis-input-icon',\n imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, NzRadioModule, FormsModule],\n templateUrl: './input-icon.html',\n styleUrl: './input-icon.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIcon extends ValueAccess<InputIconOptions> {\n protected override options: InputIconOptions = new InputIconOptions();\n\n private readonly fb = inject(UntypedFormBuilder);\n readonly fg = this.fb.group({\n lib: [\"antdesign\", FormValidators.required],\n theme: [\"outline\", FormValidators.required],\n icon: [undefined, FormValidators.required]\n });\n readonly formValue = toSignal(this.fg.valueChanges);\n readonly preview = computed(() => ({ component: \"axis-components/icon\", inuse: true, ...this.formValue() }))\n\n isVisible = model(false);\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.fg.reset(value);\n }\n\n resetForm() {\n this.fg.reset({\n lib: \"antdesign\",\n theme: \"outline\",\n icon: undefined,\n });\n }\n\n onOk() {\n this.value.set(this.preview());\n this.onChange?.(this.value())\n this.isVisible.set(false);\n }\n}\n","@if (!options.readonly()) {\n<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"value()?.component? iconInp:undefined\"\n [nzSuffix]=\"iconSuffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.placeholder()\" readonly />\n</nz-input-group>\n<ng-template #iconInp>\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n</ng-template>\n<ng-template #iconSuffix>\n <i nz-icon nzType=\"right\" style=\"color:rgba(0, 0, 0, 0.25)\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.modalTitle()\" (nzOnOk)=\"onOk()\"\n (nzOnCancel)=\"isVisible.set(false)\" (nzAfterClose)=\"resetForm()\">\n <ng-container *nzModalContent>\n <form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标库</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"lib\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n @if (formValue() == undefined || formValue()?.lib == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标主题</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"theme\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"输入图标类型,如 edit\" nz-input formControlName=\"icon\" />\n </nz-input-group>\n <ng-template #iconPreview>\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n antdesign 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n iconfont 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n</nz-modal>\n}@else if(value()?.comonent){\n<ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-icon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGM,MAAO,gBAAiB,SAAQ,kBAAkB,CAAA;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,MAAM,uDAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,MAAM,sDAAC;AACvC;;ACYK,MAAO,SAAU,SAAQ,WAA6B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EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAKxI,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,CAAC,EAAA,eAAA,EAGnI,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mlHAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEhBjD;;AAEG;;;;"}
@@ -18,10 +18,10 @@ class Setting extends FunFieldValueBase {
18
18
  ...baseFunField,
19
19
  ...valueFunField,
20
20
  };
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-input-json-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i1.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i3.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-input-json-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i1.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i3.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
25
25
  type: Component,
26
26
  args: [{ selector: 'axis-design-input-json-setting', imports: [NzFormModule, FormsModule, ReactiveFormsModule, NzGridModule, NzCollapseModule, ValueDesignSetting, BaseDesignSetting, InputTrigger], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
27
27
  }] });
@@ -54,10 +54,10 @@ class InputJson extends ValueAccess {
54
54
  this.open.set(false);
55
55
  this.onChange?.(this.editData() == "" ? null : JSON.parse(this.editData()));
56
56
  }
57
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputJson, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.2", type: InputJson, isStandalone: true, selector: "axis-input-json", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, editData: { classPropertyName: "editData", publicName: "editData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", editData: "editDataChange" }, usesInheritance: true, ngImport: i0, template: "<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input nz-input readonly [style.cursor]=\"options.disabled()?null:'pointer'\" [disabled]=\"options.disabled()\"\n type=\"text\" [placeholder]=\"options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'\" (click)=\"open.set(true)\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<ng-template #suffixTemplate>\n <i style=\"color:rgba(150, 150, 150, 0.5);\" nz-icon nzType=\"right\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal nzWidth=\"800px\" [nzBodyStyle]=\"{padding:'0',height:'400px'}\" [(nzVisible)]=\"open\" (nzOnCancel)=\"onCancel()\"\n (nzOnOk)=\"onOk()\" [nzOkDisabled]=\"!canOk()\" [nzOkText]=\"options.readonly()?null:'\u786E\u5B9A'\">\n <ng-container *nzModalTitle>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i> {{options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'}}\n </ng-container>\n <ng-container *nzModalContent>\n <ng-container [axisDynamic]=\"editorOptions()\" [standalone]=\"true\" [(ngModel)]=\"editData\"></ng-container>\n </ng-container>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i2.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i4.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i4.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: i4.NzModalTitleDirective, selector: "[nzModalTitle]", exportAs: ["nzModalTitle"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: NzAlertModule }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputJson, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputJson, isStandalone: true, selector: "axis-input-json", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, editData: { classPropertyName: "editData", publicName: "editData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", editData: "editDataChange" }, usesInheritance: true, ngImport: i0, template: "<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input nz-input readonly [style.cursor]=\"options.disabled()?null:'pointer'\" [disabled]=\"options.disabled()\"\n type=\"text\" [placeholder]=\"options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'\" (click)=\"open.set(true)\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<ng-template #suffixTemplate>\n <i style=\"color:rgba(150, 150, 150, 0.5);\" nz-icon nzType=\"right\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal nzWidth=\"800px\" [nzBodyStyle]=\"{padding:'0',height:'400px'}\" [(nzVisible)]=\"open\" (nzOnCancel)=\"onCancel()\"\n (nzOnOk)=\"onOk()\" [nzOkDisabled]=\"!canOk()\" [nzOkText]=\"options.readonly()?null:'\u786E\u5B9A'\">\n <ng-container *nzModalTitle>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i> {{options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'}}\n </ng-container>\n <ng-container *nzModalContent>\n <ng-container [axisDynamic]=\"editorOptions()\" [standalone]=\"true\" [(ngModel)]=\"editData\"></ng-container>\n </ng-container>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i2.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i4.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i4.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: i4.NzModalTitleDirective, selector: "[nzModalTitle]", exportAs: ["nzModalTitle"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: NzAlertModule }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputJson, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputJson, decorators: [{
61
61
  type: Component,
62
62
  args: [{ selector: 'axis-input-json', imports: [ReactiveFormsModule, NzInputModule, NzIconModule, NzModalModule, NzFormModule, NzAlertModule, DynamicDirective, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input nz-input readonly [style.cursor]=\"options.disabled()?null:'pointer'\" [disabled]=\"options.disabled()\"\n type=\"text\" [placeholder]=\"options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'\" (click)=\"open.set(true)\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<ng-template #suffixTemplate>\n <i style=\"color:rgba(150, 150, 150, 0.5);\" nz-icon nzType=\"right\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal nzWidth=\"800px\" [nzBodyStyle]=\"{padding:'0',height:'400px'}\" [(nzVisible)]=\"open\" (nzOnCancel)=\"onCancel()\"\n (nzOnOk)=\"onOk()\" [nzOkDisabled]=\"!canOk()\" [nzOkText]=\"options.readonly()?null:'\u786E\u5B9A'\">\n <ng-container *nzModalTitle>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i> {{options.readonly()?'\u67E5\u770BJSON':'\u7F16\u8F91JSON'}}\n </ng-container>\n <ng-container *nzModalContent>\n <ng-container [axisDynamic]=\"editorOptions()\" [standalone]=\"true\" [(ngModel)]=\"editData\"></ng-container>\n </ng-container>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"] }]
63
63
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input-json.mjs","sources":["../../../axis-components/input-json/input-json.ts","../../../axis-components/input-json/input-json.html","../../../axis-components/input-json/ngx-axis-appforge-axis-components-input-json.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, model } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzAlertModule } from 'ng-zorro-antd/alert';\nimport { DynamicDirective, ValueAccess, ValueAccessOptions } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-input-json',\n imports: [ReactiveFormsModule, NzInputModule, NzIconModule, NzModalModule, NzFormModule, NzAlertModule, DynamicDirective, FormsModule],\n templateUrl: './input-json.html',\n styleUrl: './input-json.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputJson extends ValueAccess<ValueAccessOptions> {\n\n protected override options: ValueAccessOptions = new ValueAccessOptions();\n\n readonly editorOptions = computed(() => ({\n component: \"axis-components/editor\",\n inuse: true,\n mode: \"json\",\n readonly: this.options.readonly(),\n disabled: this.options.disabled(),\n }));\n\n readonly open = model(false);\n\n readonly canOk = computed(() => {\n try {\n if (this.editData() != \"\") {\n JSON.parse(this.editData());\n }\n return true;\n } catch (_) {\n return false;\n }\n });\n\n readonly editData = model(\"\")\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.setEditData();\n }\n\n setEditData() {\n if (this.value() !== undefined) {\n this.editData.set(JSON.stringify(this.value(), null, '\\t'));\n } else {\n this.editData.set(\"\");\n }\n }\n\n onCancel() {\n this.setEditData();\n this.open.set(false);\n }\n\n onOk() {\n this.open.set(false);\n this.onChange?.(this.editData() == \"\" ? null : JSON.parse(this.editData()));\n }\n\n}\n","<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input nz-input readonly [style.cursor]=\"options.disabled()?null:'pointer'\" [disabled]=\"options.disabled()\"\n type=\"text\" [placeholder]=\"options.readonly()?'查看JSON':'编辑JSON'\" (click)=\"open.set(true)\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<ng-template #suffixTemplate>\n <i style=\"color:rgba(150, 150, 150, 0.5);\" nz-icon nzType=\"right\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal nzWidth=\"800px\" [nzBodyStyle]=\"{padding:'0',height:'400px'}\" [(nzVisible)]=\"open\" (nzOnCancel)=\"onCancel()\"\n (nzOnOk)=\"onOk()\" [nzOkDisabled]=\"!canOk()\" [nzOkText]=\"options.readonly()?null:'确定'\">\n <ng-container *nzModalTitle>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i> {{options.readonly()?'查看JSON':'编辑JSON'}}\n </ng-container>\n <ng-container *nzModalContent>\n <ng-container [axisDynamic]=\"editorOptions()\" [standalone]=\"true\" [(ngModel)]=\"editData\"></ng-container>\n </ng-container>\n</nz-modal>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-json';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBM,MAAO,SAAU,SAAQ,WAA+B,CAAA;AAEzC,IAAA,OAAO,GAAuB,IAAI,kBAAkB,EAAE;AAEhE,IAAA,aAAa,GAAG,QAAQ,CAAC,OAAO;AACvC,QAAA,SAAS,EAAE,wBAAwB;AACnC,QAAA,KAAK,EAAE,IAAI;AACX,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AACjC,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AAClC,KAAA,CAAC,yDAAC;AAEM,IAAA,IAAI,GAAG,KAAK,CAAC,KAAK,gDAAC;AAEnB,IAAA,KAAK,GAAG,QAAQ,CAAC,MA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,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,aAAa,+5BAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,gBAAgB,uIAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK1H,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,mBAAmB,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAA,eAAA,EAGrH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6rCAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEdjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-json.mjs","sources":["../../../axis-components/input-json/input-json.ts","../../../axis-components/input-json/input-json.html","../../../axis-components/input-json/ngx-axis-appforge-axis-components-input-json.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, model } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzAlertModule } from 'ng-zorro-antd/alert';\nimport { DynamicDirective, ValueAccess, ValueAccessOptions } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-input-json',\n imports: [ReactiveFormsModule, NzInputModule, NzIconModule, NzModalModule, NzFormModule, NzAlertModule, DynamicDirective, FormsModule],\n templateUrl: './input-json.html',\n styleUrl: './input-json.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputJson extends ValueAccess<ValueAccessOptions> {\n\n protected override options: ValueAccessOptions = new ValueAccessOptions();\n\n readonly editorOptions = computed(() => ({\n component: \"axis-components/editor\",\n inuse: true,\n mode: \"json\",\n readonly: this.options.readonly(),\n disabled: this.options.disabled(),\n }));\n\n readonly open = model(false);\n\n readonly canOk = computed(() => {\n try {\n if (this.editData() != \"\") {\n JSON.parse(this.editData());\n }\n return true;\n } catch (_) {\n return false;\n }\n });\n\n readonly editData = model(\"\")\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.setEditData();\n }\n\n setEditData() {\n if (this.value() !== undefined) {\n this.editData.set(JSON.stringify(this.value(), null, '\\t'));\n } else {\n this.editData.set(\"\");\n }\n }\n\n onCancel() {\n this.setEditData();\n this.open.set(false);\n }\n\n onOk() {\n this.open.set(false);\n this.onChange?.(this.editData() == \"\" ? null : JSON.parse(this.editData()));\n }\n\n}\n","<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input nz-input readonly [style.cursor]=\"options.disabled()?null:'pointer'\" [disabled]=\"options.disabled()\"\n type=\"text\" [placeholder]=\"options.readonly()?'查看JSON':'编辑JSON'\" (click)=\"open.set(true)\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<ng-template #suffixTemplate>\n <i style=\"color:rgba(150, 150, 150, 0.5);\" nz-icon nzType=\"right\" nzTheme=\"outline\"></i>\n</ng-template>\n<nz-modal nzWidth=\"800px\" [nzBodyStyle]=\"{padding:'0',height:'400px'}\" [(nzVisible)]=\"open\" (nzOnCancel)=\"onCancel()\"\n (nzOnOk)=\"onOk()\" [nzOkDisabled]=\"!canOk()\" [nzOkText]=\"options.readonly()?null:'确定'\">\n <ng-container *nzModalTitle>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i> {{options.readonly()?'查看JSON':'编辑JSON'}}\n </ng-container>\n <ng-container *nzModalContent>\n <ng-container [axisDynamic]=\"editorOptions()\" [standalone]=\"true\" [(ngModel)]=\"editData\"></ng-container>\n </ng-container>\n</nz-modal>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-json';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBM,MAAO,SAAU,SAAQ,WAA+B,CAAA;AAEzC,IAAA,OAAO,GAAuB,IAAI,kBAAkB,EAAE;AAEhE,IAAA,aAAa,GAAG,QAAQ,CAAC,OAAO;AACvC,QAAA,SAAS,EAAE,wBAAwB;AACnC,QAAA,KAAK,EAAE,IAAI;AACX,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AACjC,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AAClC,KAAA,CAAC,yDAAC;AAEM,IAAA,IAAI,GAAG,KAAK,CAAC,KAAK,gDAAC;AAEnB,IAAA,KAAK,GAAG,QAAQ,CAAC,MAAK;AAC7B,QAAA,IAAI;AACF,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE;gBACzB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;;AAE7B,YAAA,OAAO,IAAI;;QACX,OAAO,CAAC,EAAE;AACV,YAAA,OAAO,KAAK;;AAEhB,KAAC,iDAAC;AAEO,IAAA,QAAQ,GAAG,KAAK,CAAC,EAAE,oDAAC;AAEpB,IAAA,UAAU,CAAC,KAAU,EAAA;AAC5B,QAAA,KAAK,CAAC,U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A,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK1H,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,mBAAmB,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAA,eAAA,EAGrH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6rCAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEdjD;;AAEG;;;;"}
@@ -64,10 +64,10 @@ class Setting extends FunFieldValueBase {
64
64
  defaultValue: "left"
65
65
  },
66
66
  };
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-input-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i5.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i6.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i6.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i6.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i7.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i8.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i8.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i9.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i9.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-input-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i5.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i6.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i6.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i6.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i7.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i8.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i8.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i9.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i9.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'axis-design-input-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
73
73
  }] });
@@ -32,10 +32,10 @@ class InputNumber extends ValueAccess {
32
32
  return `1.0-${this.options.precision()}`;
33
33
  }
34
34
  }, ...(ngDevMode ? [{ debugName: "digitsInfo" }] : []));
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: InputNumber, isStandalone: true, selector: "axis-input-number", usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"], dependencies: [{ kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: InputNumber, isStandalone: true, selector: "axis-input-number", usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"], dependencies: [{ kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputNumber, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputNumber, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'axis-input-number', imports: [NzInputNumberModule, FormsModule, CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"] }]
41
41
  }] });
@@ -52,10 +52,10 @@ class Input extends ValueAccess {
52
52
  onEnter() {
53
53
  this.triggeEvents("enterKeydown").subscribe();
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Input, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: Input, isStandalone: true, selector: "axis-input", inputs: { inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputValue: "inputValueChange" }, usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Input, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Input, isStandalone: true, selector: "axis-input", inputs: { inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputValue: "inputValueChange" }, usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Input, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Input, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: 'axis-input', imports: [NzInputModule, FormsModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"] }]
61
61
  }], ctorParameters: () => [] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input.mjs","sources":["../../../axis-components/input/input.options.ts","../../../axis-components/input/input.ts","../../../axis-components/input/input.html","../../../axis-components/input/ngx-axis-appforge-axis-components-input.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputOptions extends ValueAccessOptions {\n\n readonly placeholder = signal(\"\");\n readonly maxlength = signal<number | null>(null);\n readonly debounceTime = signal<number | null>(null);\n readonly autofocus = signal<boolean>(false);\n readonly type = signal<\"text\" | \"password\">(\"text\");\n readonly prefix = signal<any>(undefined);\n readonly suffix = signal<any>(undefined);\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n}","import { ChangeDetectionStrategy, Component, effect, model } from '@angular/core';\nimport { InputOptions } from './input.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, ValueAccess } from 'ngx-axis-appforge/core';\nimport { debounceTime, Subject } from 'rxjs';\n\n@Component({\n selector: 'axis-input',\n imports: [NzInputModule, FormsModule, DynamicDirective],\n templateUrl: './input.html',\n styleUrl: './input.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Input extends ValueAccess<InputOptions> {\n constructor() {\n super();\n effect(() => {\n this.unsubscribe([\"change\"]);\n if (this.options.debounceTime() ?? 0 > 0) {\n this.addSubscribe(this.inputSubject.pipe(debounceTime(this.options.debounceTime()!)).subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n } else {\n this.addSubscribe(this.inputSubject.subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n }\n });\n effect(() => {\n if (this.options.initValue() !== undefined) {\n this.inputValue.set(this.options.initValue());\n }\n })\n }\n\n override options: InputOptions = new InputOptions();\n\n readonly inputValue = model<string>();\n readonly inputSubject = new Subject();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.inputValue.set(value);\n }\n\n onEnter() {\n this.triggeEvents(\"enterKeydown\").subscribe();\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input';\n"],"names":[],"mappings":";;;;;;;;;AAGM,MAAO,YAAa,SAAQ,kBAAkB,CAAA;AAEvC,IAAA,WAAW,GAAG,MAAM,CAAC,EAAE,uDAAC;AACxB,IAAA,SAAS,GAAG,MAAM,CAAgB,IAAI,qDAAC;AACvC,IAAA,YAAY,GAAG,MAAM,CAAgB,IAAI,wDAAC;AAC1C,IAAA,SAAS,GAAG,MAAM,CAAU,KAAK,qDAAC;AAClC,IAAA,IAAI,GAAG,MAAM,CAAsB,MAAM,gDAAC;AAC1C,IAAA,MAAM,GAAG,MAAM,CAAM,SAAS,kDAAC;AAC/B,IAAA,MAAM,GAAG,MAAM,CAAM,SAAS,kDAAC;AAC/B,IAAA,OAAO,GAAG,MAAM,CAAsD,UAAU,mDAAC;AAC7F;;ACCK,MAAO,KAAM,SAAQ,WAAyB,CAAA;AAClD,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QACP,MAAM,CAAC,MAAK;AACV,YAAA,IAAI,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;YAC5B,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE;gBACxC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAG,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,IAAG;AACrG,oBAAA,IAAI,CAAC,KAAK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EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEZjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input.mjs","sources":["../../../axis-components/input/input.options.ts","../../../axis-components/input/input.ts","../../../axis-components/input/input.html","../../../axis-components/input/ngx-axis-appforge-axis-components-input.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputOptions extends ValueAccessOptions {\n\n readonly placeholder = signal(\"\");\n readonly maxlength = signal<number | null>(null);\n readonly debounceTime = signal<number | null>(null);\n readonly autofocus = signal<boolean>(false);\n readonly type = signal<\"text\" | \"password\">(\"text\");\n readonly prefix = signal<any>(undefined);\n readonly suffix = signal<any>(undefined);\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n}","import { ChangeDetectionStrategy, Component, effect, model } from '@angular/core';\nimport { InputOptions } from './input.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, ValueAccess } from 'ngx-axis-appforge/core';\nimport { debounceTime, Subject } from 'rxjs';\n\n@Component({\n selector: 'axis-input',\n imports: [NzInputModule, FormsModule, DynamicDirective],\n templateUrl: './input.html',\n styleUrl: './input.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Input extends ValueAccess<InputOptions> {\n constructor() {\n super();\n effect(() => {\n this.unsubscribe([\"change\"]);\n if (this.options.debounceTime() ?? 0 > 0) {\n this.addSubscribe(this.inputSubject.pipe(debounceTime(this.options.debounceTime()!)).subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n } else {\n this.addSubscribe(this.inputSubject.subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n }\n });\n effect(() => {\n if (this.options.initValue() !== undefined) {\n this.inputValue.set(this.options.initValue());\n }\n })\n }\n\n override options: InputOptions = new InputOptions();\n\n readonly inputValue = model<string>();\n readonly inputSubject = new Subject();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.inputValue.set(value);\n }\n\n onEnter() {\n this.triggeEvents(\"enterKeydown\").subscribe();\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\" />\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input';\n"],"names":[],"mappings":";;;;;;;;;AAGM,MAAO,YAAa,SAAQ,kBAAkB,CAAA;AAEvC,IAAA,WAAW,GAAG,MAAM,CAAC,EAAE,uDAAC;AACxB,IAAA,SAAS,GAAG,MAAM,CAAgB,IAAI,qDAAC;AACvC,IAAA,YAAY,GAAG,MAAM,CAAgB,IAAI,wDAAC;AAC1C,IAAA,SAAS,GAAG,MAAM,CAAU,KAAK,qDAAC;AAClC,IAAA,I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AAA,EAAA,QAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uCAAA,EAAA,QAAA,EAAA,oDAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,WAAW,+mBAAE,gBAAgB,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,YAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,sBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK3C,KAAK,EAAA,UAAA,EAAA,CAAA;kBAPjB,SAAS;+BACE,YAAY,EAAA,OAAA,EACb,CAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAGtC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yzCAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEZjD;;AAEG;;;;"}
@@ -88,10 +88,10 @@ class Setting extends FunFieldValueBase {
88
88
  }
89
89
  return res;
90
90
  }, ...(ngDevMode ? [{ debugName: "eventDesc" }] : []));
91
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
92
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-text-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"width\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"100\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"visible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53EF\u62D6\u52A8\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"draggable\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u786E\u5B9A\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showOkButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u786E\u5B9A\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnOk\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u53D6\u6D88\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showCancelButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showCancelButton?.funMode || formValue().showCancelButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53D6\u6D88\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnCancel\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [eventDesc]=\"eventDesc()\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i6.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i5.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
92
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-text-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"width\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"100\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"visible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53EF\u62D6\u52A8\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"draggable\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u786E\u5B9A\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showOkButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u786E\u5B9A\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnOk\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u53D6\u6D88\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showCancelButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showCancelButton?.funMode || formValue().showCancelButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53D6\u6D88\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnCancel\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [eventDesc]=\"eventDesc()\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i6.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i5.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
93
93
  }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
95
95
  type: Component,
96
96
  args: [{ selector: 'axis-design-text-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzInputModule, NzSwitchModule, InputTrigger, NzInputNumberModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"width\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"100\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"visible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53EF\u62D6\u52A8\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"draggable\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u786E\u5B9A\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showOkButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u786E\u5B9A\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnOk\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u53D6\u6D88\u6309\u94AE\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showCancelButton\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showCancelButton?.funMode || formValue().showCancelButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u53D6\u6D88\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnCancel\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"cancelDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [eventDesc]=\"eventDesc()\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
97
97
  }] });
@@ -107,8 +107,8 @@ class SetModalVisibleHandler extends FunFieldValueBase {
107
107
  defaultValue: true,
108
108
  },
109
109
  };
110
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: SetModalVisibleHandler, deps: null, target: i0.ɵɵFactoryTarget.Component });
111
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: SetModalVisibleHandler, isStandalone: true, selector: "axis-modal-design-set-modal-visible-handler", providers: [
110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetModalVisibleHandler, deps: null, target: i0.ɵɵFactoryTarget.Component });
111
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: SetModalVisibleHandler, isStandalone: true, selector: "axis-modal-design-set-modal-visible-handler", providers: [
112
112
  {
113
113
  provide: NG_VALUE_ACCESSOR,
114
114
  useExisting: forwardRef(() => SetModalVisibleHandler),
@@ -116,7 +116,7 @@ class SetModalVisibleHandler extends FunFieldValueBase {
116
116
  }
117
117
  ], usesInheritance: true, ngImport: i0, template: "<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n \u6253\u5F00/\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"visible\" [noListen]=\"noListen()\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button [nzValue]=\"true\">\u6253\u5F00</label>\n <label nz-radio-button [nzValue]=\"false\">\u5173\u95ED</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i4$1.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i4$1.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
118
118
  }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: SetModalVisibleHandler, decorators: [{
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetModalVisibleHandler, decorators: [{
120
120
  type: Component,
121
121
  args: [{ selector: 'axis-modal-design-set-modal-visible-handler', imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, NzRadioModule], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
122
122
  {
@@ -58,10 +58,10 @@ class Text extends Base {
58
58
  }
59
59
  return undefined;
60
60
  }
61
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Text, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.2", type: Text, isStandalone: true, selector: "axis-modal", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange" }, usesInheritance: true, ngImport: i0, template: "<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.title()\" [nzWidth]=\"options.width()\"\n [nzDraggable]=\"options.draggable()\" [nzOkText]=\"options.showOkButton()?options.okText():null\"\n [nzCancelText]=\"options.showCancelButton()?options.cancelText():null\" [nzOkDisabled]=\"options.okDisabled()\"\n [nzCancelDisabled]=\"options.cancelDisabled()\" [nzOkLoading]=\"loading()\" [nzCancelLoading]=\"loading()\"\n (nzOnOk)=\"handleOk()\" (nzOnCancel)=\"handleCancel()\">\n <ng-container *nzModalContent [axisDynamic]=\"options.child()\"></ng-container>\n</nz-modal>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i1.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i1.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Text, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: Text, isStandalone: true, selector: "axis-modal", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange" }, usesInheritance: true, ngImport: i0, template: "<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.title()\" [nzWidth]=\"options.width()\"\n [nzDraggable]=\"options.draggable()\" [nzOkText]=\"options.showOkButton()?options.okText():null\"\n [nzCancelText]=\"options.showCancelButton()?options.cancelText():null\" [nzOkDisabled]=\"options.okDisabled()\"\n [nzCancelDisabled]=\"options.cancelDisabled()\" [nzOkLoading]=\"loading()\" [nzCancelLoading]=\"loading()\"\n (nzOnOk)=\"handleOk()\" (nzOnCancel)=\"handleCancel()\">\n <ng-container *nzModalContent [axisDynamic]=\"options.child()\"></ng-container>\n</nz-modal>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i1.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i1.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
63
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Text, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Text, decorators: [{
65
65
  type: Component,
66
66
  args: [{ selector: 'axis-modal', imports: [NzModalModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.title()\" [nzWidth]=\"options.width()\"\n [nzDraggable]=\"options.draggable()\" [nzOkText]=\"options.showOkButton()?options.okText():null\"\n [nzCancelText]=\"options.showCancelButton()?options.cancelText():null\" [nzOkDisabled]=\"options.okDisabled()\"\n [nzCancelDisabled]=\"options.cancelDisabled()\" [nzOkLoading]=\"loading()\" [nzCancelLoading]=\"loading()\"\n (nzOnOk)=\"handleOk()\" (nzOnCancel)=\"handleCancel()\">\n <ng-container *nzModalContent [axisDynamic]=\"options.child()\"></ng-container>\n</nz-modal>" }]
67
67
  }], ctorParameters: () => [] });