ngx-axis-appforge 0.0.47 → 0.0.49

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 (163) hide show
  1. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +3 -3
  2. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
  3. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +3 -3
  4. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +3 -3
  5. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
  6. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +3 -3
  7. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
  8. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +3 -3
  9. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -1
  10. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +3 -3
  11. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -1
  12. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +3 -3
  13. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
  14. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +3 -3
  15. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +3 -3
  16. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -1
  17. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +3 -3
  18. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -1
  19. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +3 -3
  20. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
  21. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +3 -3
  22. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -1
  23. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +9 -9
  24. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
  25. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +3 -3
  26. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -1
  27. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +3 -3
  28. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
  29. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +15 -15
  30. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
  31. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +3 -3
  32. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -1
  33. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +3 -3
  34. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -1
  35. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +3 -3
  36. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
  37. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +3 -3
  38. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +3 -3
  39. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
  40. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +3 -3
  41. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +9 -9
  42. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
  43. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +3 -3
  44. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
  45. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +3 -3
  46. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
  47. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +3 -3
  48. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -1
  49. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +3 -3
  50. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -1
  51. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +3 -3
  52. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +3 -3
  53. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
  54. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +3 -3
  55. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -1
  56. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +3 -3
  57. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
  58. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +3 -3
  59. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
  60. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +3 -3
  61. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
  62. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +3 -3
  63. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +3 -3
  64. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
  65. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +3 -3
  66. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -1
  67. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +3 -3
  68. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
  69. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +3 -3
  70. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
  71. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +3 -3
  72. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
  73. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +3 -3
  74. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
  75. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +3 -3
  76. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
  77. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +3 -3
  78. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
  79. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +3 -3
  80. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
  81. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +3 -3
  82. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
  83. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +3 -3
  84. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -1
  85. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +3 -3
  86. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -1
  87. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +12 -12
  88. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -1
  89. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +3 -3
  90. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -1
  91. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +6 -6
  92. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
  93. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +3 -3
  94. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -1
  95. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +3 -3
  96. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
  97. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +3 -3
  98. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -1
  99. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +3 -3
  100. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -1
  101. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +3 -3
  102. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +6 -6
  103. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
  104. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +3 -3
  105. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
  106. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +3 -3
  107. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
  108. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +3 -4
  109. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
  110. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +3 -3
  111. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
  112. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +3 -3
  113. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -1
  114. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +9 -9
  115. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
  116. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +3 -3
  117. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
  118. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +9 -9
  119. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
  120. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +3 -3
  121. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -1
  122. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +3 -3
  123. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
  124. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +3 -3
  125. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -1
  126. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +9 -9
  127. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
  128. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +15 -15
  129. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
  130. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +6 -6
  131. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
  132. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +9 -9
  133. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
  134. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +3 -3
  135. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
  136. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +3 -3
  137. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -1
  138. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +3 -3
  139. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -1
  140. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +3 -3
  141. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
  142. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +3 -3
  143. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -1
  144. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +3 -3
  145. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -1
  146. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +3 -3
  147. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -1
  148. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +9 -9
  149. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
  150. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +3 -3
  151. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -1
  152. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +9 -9
  153. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
  154. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +3 -3
  155. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
  156. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +3 -3
  157. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
  158. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +3 -3
  159. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
  160. package/fesm2022/ngx-axis-appforge-core.mjs +80 -78
  161. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
  162. package/fesm2022/ngx-axis-appforge-providers.mjs.map +1 -1
  163. package/package.json +111 -111
@@ -45,10 +45,10 @@ class Steps extends Base {
45
45
  this.triggeEvents("stepChange", { stepName: step.name() }).subscribe();
46
46
  this.triggeEvents("stepClick", undefined, step.triggeEvents()).subscribe();
47
47
  }
48
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Steps, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Steps, isStandalone: true, selector: "axis-steps", usesInheritance: true, ngImport: i0, template: "<nz-steps [nzType]=\"options.type()\" [nzCurrent]=\"current()\" [nzDirection]=\"options.direction()\"\n [nzLabelPlacement]=\"options.labelPlacement()\" [nzProgressDot]=\"options.progressDot()\" [nzSize]=\"options.size()\"\n [nzStartIndex]=\"options.startIndex()\" (nzIndexChange)=\"onIndexChange($event)\">\n @for (step of displaySteps(); track step.name()) {\n <nz-step [attr.data-name]=\"step.name()\" [nzTitle]=\"step.title()\" [nzSubtitle]=\"step.subtitle()\"\n [nzDescription]=\"step.desc()\" [nzIcon]=\"step.icon()?icon:undefined\"\n [nzStatus]=\"options.status() && options.current()==step.name()?options.status()??'wait':step.status()\"\n [nzDisabled]=\"step.disabled()\">\n <ng-template #icon>\n <ng-container [axisDynamic]=\"step.icon()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-step>\n }\n</nz-steps>", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzStepsModule }, { kind: "component", type: i1.NzStepsComponent, selector: "nz-steps", inputs: ["nzCurrent", "nzDirection", "nzLabelPlacement", "nzType", "nzSize", "nzStartIndex", "nzStatus", "nzProgressDot"], outputs: ["nzIndexChange"], exportAs: ["nzSteps"] }, { kind: "component", type: i1.NzStepComponent, selector: "nz-step", inputs: ["nzTitle", "nzSubtitle", "nzDescription", "nzDisabled", "nzPercentage", "nzSize", "nzStatus", "nzIcon"], exportAs: ["nzStep"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Steps, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: Steps, isStandalone: true, selector: "axis-steps", usesInheritance: true, ngImport: i0, template: "<nz-steps [nzType]=\"options.type()\" [nzCurrent]=\"current()\" [nzDirection]=\"options.direction()\"\n [nzLabelPlacement]=\"options.labelPlacement()\" [nzProgressDot]=\"options.progressDot()\" [nzSize]=\"options.size()\"\n [nzStartIndex]=\"options.startIndex()\" (nzIndexChange)=\"onIndexChange($event)\">\n @for (step of displaySteps(); track step.name()) {\n <nz-step [attr.data-name]=\"step.name()\" [nzTitle]=\"step.title()\" [nzSubtitle]=\"step.subtitle()\"\n [nzDescription]=\"step.desc()\" [nzIcon]=\"step.icon()?icon:undefined\"\n [nzStatus]=\"options.status() && options.current()==step.name()?options.status()??'wait':step.status()\"\n [nzDisabled]=\"step.disabled()\">\n <ng-template #icon>\n <ng-container [axisDynamic]=\"step.icon()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-step>\n }\n</nz-steps>", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzStepsModule }, { kind: "component", type: i1.NzStepsComponent, selector: "nz-steps", inputs: ["nzCurrent", "nzDirection", "nzLabelPlacement", "nzType", "nzSize", "nzStartIndex", "nzStatus", "nzProgressDot"], outputs: ["nzIndexChange"], exportAs: ["nzSteps"] }, { kind: "component", type: i1.NzStepComponent, selector: "nz-step", inputs: ["nzTitle", "nzSubtitle", "nzDescription", "nzDisabled", "nzPercentage", "nzSize", "nzStatus", "nzIcon"], exportAs: ["nzStep"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Steps, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Steps, decorators: [{
52
52
  type: Component,
53
53
  args: [{ selector: 'axis-steps', imports: [NzStepsModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-steps [nzType]=\"options.type()\" [nzCurrent]=\"current()\" [nzDirection]=\"options.direction()\"\n [nzLabelPlacement]=\"options.labelPlacement()\" [nzProgressDot]=\"options.progressDot()\" [nzSize]=\"options.size()\"\n [nzStartIndex]=\"options.startIndex()\" (nzIndexChange)=\"onIndexChange($event)\">\n @for (step of displaySteps(); track step.name()) {\n <nz-step [attr.data-name]=\"step.name()\" [nzTitle]=\"step.title()\" [nzSubtitle]=\"step.subtitle()\"\n [nzDescription]=\"step.desc()\" [nzIcon]=\"step.icon()?icon:undefined\"\n [nzStatus]=\"options.status() && options.current()==step.name()?options.status()??'wait':step.status()\"\n [nzDisabled]=\"step.disabled()\">\n <ng-template #icon>\n <ng-container [axisDynamic]=\"step.icon()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-step>\n }\n</nz-steps>", styles: [":host{display:block}\n"] }]
54
54
  }], ctorParameters: () => [] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-steps.mjs","sources":["../../../axis-components/steps/steps.options.ts","../../../axis-components/steps/steps.ts","../../../axis-components/steps/steps.html","../../../axis-components/steps/ngx-axis-appforge-axis-components-steps.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions, TriggeEventsOptions } from \"ngx-axis-appforge/core\";\n\nexport class StepsOptions extends BaseOptions {\n readonly type = signal<\"default\" | \"navigation\">(\"default\");\n readonly current = signal(\"\");\n readonly direction = signal<'vertical' | 'horizontal'>(\"horizontal\");\n readonly labelPlacement = signal<'vertical' | 'horizontal'>(\"horizontal\");\n readonly progressDot = signal(false);\n readonly size = signal<\"small\" | \"default\">(\"default\");\n readonly startIndex = signal(0);\n readonly status = signal<'wait' | 'process' | 'finish' | 'error' | undefined>(undefined);\n readonly steps = signal<any[]>([]);\n}\n\nexport class StepOptions {\n readonly name = signal(\"\");\n readonly inuse = signal(true);\n readonly title = signal(\"\");\n readonly subtitle = signal(\"\");\n readonly desc = signal(\"\");\n readonly icon = signal<any>(undefined);\n readonly status = signal<'wait' | 'process' | 'finish' | 'error'>(\"wait\");\n readonly disabled = signal(false);\n readonly triggeEvents = signal<TriggeEventsOptions | undefined>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, effect } from '@angular/core';\nimport { StepOptions, StepsOptions } from './steps.options';\nimport { Base, DynamicDirective } from 'ngx-axis-appforge/core';\nimport { NzStepsModule } from 'ng-zorro-antd/steps';\n\n@Component({\n selector: 'axis-steps',\n imports: [NzStepsModule, DynamicDirective],\n templateUrl: './steps.html',\n styleUrl: './steps.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Steps extends Base<StepsOptions> {\n\n constructor() {\n super();\n effect(() => {\n this.steps().forEach((p, i) => {\n this.bindWithConfig(this.options.steps()[i], { options: p, tag: `bindSteps.${i}` });\n });\n });\n }\n override options: StepsOptions = new StepsOptions();\n readonly steps = computed(() => this.options.steps().map(_ => new StepOptions()));\n readonly displaySteps = computed(() => this.steps().filter(s => s.inuse()));\n readonly current = computed(() => this.displaySteps().findIndex(s => s.name() == this.options.current()) + this.options.startIndex());\n\n onIndexChange(index: number) {\n const step = this.displaySteps()[index - this.options.startIndex()];\n this.triggeEvents(\"stepChange\", { stepName: step.name() }).subscribe();\n this.triggeEvents(\"stepClick\", undefined, step.triggeEvents()).subscribe();\n }\n\n}\n","<nz-steps [nzType]=\"options.type()\" [nzCurrent]=\"current()\" [nzDirection]=\"options.direction()\"\n [nzLabelPlacement]=\"options.labelPlacement()\" [nzProgressDot]=\"options.progressDot()\" [nzSize]=\"options.size()\"\n [nzStartIndex]=\"options.startIndex()\" (nzIndexChange)=\"onIndexChange($event)\">\n @for (step of displaySteps(); track step.name()) {\n <nz-step [attr.data-name]=\"step.name()\" [nzTitle]=\"step.title()\" [nzSubtitle]=\"step.subtitle()\"\n [nzDescription]=\"step.desc()\" [nzIcon]=\"step.icon()?icon:undefined\"\n [nzStatus]=\"options.status() && options.current()==step.name()?options.status()??'wait':step.status()\"\n [nzDisabled]=\"step.disabled()\">\n <ng-template #icon>\n <ng-container [axisDynamic]=\"step.icon()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-step>\n }\n</nz-steps>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './steps';\n"],"names":[],"mappings":";;;;;;AAGM,MAAO,YAAa,SAAQ,WAAW,CAAA;AAChC,IAAA,IAAI,GAAG,MAAM,CAA2B,SAAS,gDAAC;AAClD,IAAA,OAAO,GAAG,MAAM,CAAC,EAAE,mDAAC;AACpB,IAAA,SAAS,GAAG,MAAM,CAA4B,YAAY,qDAAC;AAC3D,IAAA,cAAc,GAAG,MAAM,CAA4B,YAAY,0DAAC;AAChE,IAAA,WAAW,GAAG,MAAM,CAAC,KAAK,uDAAC;AAC3B,IAAA,IAAI,GAAG,MAAM,CAAsB,SAAS,gDAAC;AAC7C,IAAA,UAAU,GAAG,MAAM,CAAC,CAAC,sDAAC;AACtB,IAAA,MAAM,GAAG,MAAM,CAAsD,SAAS,kDAAC;AAC/E,IAAA,KAAK,GAAG,MAAM,CAAQ,EAAE,iDAAC;AACrC;MAEY,WAAW,CAAA;AACX,IAAA,IAAI,GAAG,MAAM,CAAC,EAAE,gDAAC;AACjB,IAAA,KAAK,GAAG,MAAM,CAAC,IAAI,iDAAC;AACpB,IAAA,KAAK,GAAG,MAAM,CAAC,EAAE,iDAAC;AAClB,IAAA,QAAQ,GAAG,MAAM,CAAC,EAAE,oDAAC;AACrB,IAAA,IAAI,GAAG,MAAM,CAAC,EAAE,gDAAC;AACjB,IAAA,IAAI,GAAG,MAAM,CAAM,SAAS,gDAAC;AAC7B,IAAA,MAAM,GAAG,MAAM,CAA0C,MAAM,kDAAC;AAChE,IAAA,QAAQ,GAAG,MAAM,CAAC,KAAK,oDAAC;AACxB,IAAA,YAAY,GAAG,MAAM,CAAkC,SAAS,wDAAC;AAC7E;;ACbK,MAAO,KAAM,SAAQ,IAAkB,CAAA;AAE3C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;Q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AI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,EAAE;AACtE,QAAA,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,SAAS,EAAE;;uGAlBjE,KAAK,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAL,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAK,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZlB,m4BAaW,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDNC,aAAa,meAAE,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;;2FAK9B,KAAK,EAAA,UAAA,EAAA,CAAA;kBAPjB,SAAS;+BACE,YAAY,EAAA,OAAA,EACb,CAAC,aAAa,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAGzB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,m4BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AEVjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-steps.mjs","sources":["../../../axis-components/steps/steps.options.ts","../../../axis-components/steps/steps.ts","../../../axis-components/steps/steps.html","../../../axis-components/steps/ngx-axis-appforge-axis-components-steps.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions, TriggeEventsOptions } from \"ngx-axis-appforge/core\";\n\nexport class StepsOptions extends BaseOptions {\n readonly type = signal<\"default\" | \"navigation\">(\"default\");\n readonly current = signal(\"\");\n readonly direction = signal<'vertical' | 'horizontal'>(\"horizontal\");\n readonly labelPlacement = signal<'vertical' | 'horizontal'>(\"horizontal\");\n readonly progressDot = signal(false);\n readonly size = signal<\"small\" | \"default\">(\"default\");\n readonly startIndex = signal(0);\n readonly status = signal<'wait' | 'process' | 'finish' | 'error' | undefined>(undefined);\n readonly steps = signal<any[]>([]);\n}\n\nexport class StepOptions {\n readonly name = signal(\"\");\n readonly inuse = signal(true);\n readonly title = signal(\"\");\n readonly subtitle = signal(\"\");\n readonly desc = signal(\"\");\n readonly icon = signal<any>(undefined);\n readonly status = signal<'wait' | 'process' | 'finish' | 'error'>(\"wait\");\n readonly disabled = signal(false);\n readonly triggeEvents = signal<TriggeEventsOptions | undefined>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, effect } from '@angular/core';\nimport { StepOptions, StepsOptions } from './steps.options';\nimport { Base, DynamicDirective } from 'ngx-axis-appforge/core';\nimport { NzStepsModule } from 'ng-zorro-antd/steps';\n\n@Component({\n selector: 'axis-steps',\n imports: [NzStepsModule, DynamicDirective],\n templateUrl: './steps.html',\n styleUrl: './steps.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Steps extends Base<StepsOptions> {\n\n constructor() {\n super();\n effect(() => {\n this.steps().forEach((p, i) => {\n this.bindWithConfig(this.options.steps()[i], { options: p, tag: `bindSteps.${i}` });\n });\n });\n }\n override options: StepsOptions = new StepsOptions();\n readonly steps = computed(() => this.options.steps().map(_ => new StepOptions()));\n readonly displaySteps = computed(() => this.steps().filter(s => s.inuse()));\n readonly current = computed(() => this.displaySteps().findIndex(s => s.name() == this.options.current()) + this.options.startIndex());\n\n onIndexChange(index: number) {\n const step = this.displaySteps()[index - this.options.startIndex()];\n this.triggeEvents(\"stepChange\", { stepName: step.name() }).subscribe();\n this.triggeEvents(\"stepClick\", undefined, step.triggeEvents()).subscribe();\n }\n\n}\n","<nz-steps [nzType]=\"options.type()\" [nzCurrent]=\"current()\" [nzDirection]=\"options.direction()\"\n [nzLabelPlacement]=\"options.labelPlacement()\" [nzProgressDot]=\"options.progressDot()\" [nzSize]=\"options.size()\"\n [nzStartIndex]=\"options.startIndex()\" (nzIndexChange)=\"onIndexChange($event)\">\n @for (step of displaySteps(); track step.name()) {\n <nz-step [attr.data-name]=\"step.name()\" [nzTitle]=\"step.title()\" [nzSubtitle]=\"step.subtitle()\"\n [nzDescription]=\"step.desc()\" [nzIcon]=\"step.icon()?icon:undefined\"\n [nzStatus]=\"options.status() && options.current()==step.name()?options.status()??'wait':step.status()\"\n [nzDisabled]=\"step.disabled()\">\n <ng-template #icon>\n <ng-container [axisDynamic]=\"step.icon()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-step>\n }\n</nz-steps>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './steps';\n"],"names":[],"mappings":";;;;;;AAGM,MAAO,YAAa,SAAQ,WAAW,CAAA;AAChC,IAAA,IAAI,GAAG,MAAM,CAA2B,SAAS,gDAAC;AAClD,IAAA,OAAO,GAAG,MAAM,CAAC,EAAE,mDAAC;AACpB,IAAA,SAAS,GAAG,MAAM,CAA4B,YAAY,qDAAC;AAC3D,IAAA,cAAc,GAAG,MAAM,CAA4B,YAAY,0DAAC;AAChE,IAAA,WAAW,GAAG,MAAM,CAAC,KAAK,uDAAC;AAC3B,IAAA,IAAI,GAAG,MAAM,CAAsB,SAAS,gDAAC;AAC7C,IAAA,UAAU,GAAG,MAAM,CAAC,CAAC,sDAAC;AACtB,IAAA,MAAM,GAAG,MAAM,CAAsD,SAAS,kDAAC;AAC/E,IAAA,KAAK,GAAG,MAAM,CAAQ,EAAE,iDAAC;AACrC;MAEY,WAAW,CAA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A,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;;2FAK9B,KAAK,EAAA,UAAA,EAAA,CAAA;kBAPjB,SAAS;+BACE,YAAY,EAAA,OAAA,EACb,CAAC,aAAa,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAGzB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,m4BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -36,10 +36,10 @@ class Setting extends FunFieldValueBase {
36
36
  defaultValue: "default"
37
37
  },
38
38
  };
39
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
40
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-switch-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 \u5F00\u542F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"onValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5173\u95ED\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"offValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5F00\u542F\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"onLabel\">\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\">\n \u5173\u95ED\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offLabel\">\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 \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=\"default\">\u5927</label>\n <label nz-radio-button nzValue=\"small\">\u5C0F</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", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], 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: NzFormModule }, { kind: "directive", type: i3.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: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { 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: "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: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i6.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i6.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
40
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Setting, isStandalone: true, selector: "axis-design-switch-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 \u5F00\u542F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"onValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5173\u95ED\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"offValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5F00\u542F\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"onLabel\">\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\">\n \u5173\u95ED\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offLabel\">\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 \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=\"default\">\u5927</label>\n <label nz-radio-button nzValue=\"small\">\u5C0F</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", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], 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: NzFormModule }, { kind: "directive", type: i3.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: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { 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: "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: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i6.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i6.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
43
43
  type: Component,
44
44
  args: [{ selector: 'axis-design-switch-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzInputModule, FunField, DynamicDirective, InputTrigger, NzRadioModule], 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 \u5F00\u542F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"onValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5173\u95ED\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"offValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5F00\u542F\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"onLabel\">\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\">\n \u5173\u95ED\u6807\u7B7E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offLabel\">\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 \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=\"default\">\u5927</label>\n <label nz-radio-button nzValue=\"small\">\u5C0F</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>" }]
45
45
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-switch-design.mjs","sources":["../../../axis-components/switch/design/setting/setting.ts","../../../axis-components/switch/design/setting/setting.html","../../../axis-components/switch/design/config.ts","../../../axis-components/switch/design/ngx-axis-appforge-axis-components-switch-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-switch-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzInputModule, FunField, DynamicDirective, InputTrigger, NzRadioModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n onValue: [true, FormValidators.required],\n offValue: [false, FormValidators.required],\n onLabel: [],\n offLabel: [],\n size: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n onLabel: {\n defaultValue: undefined\n },\n offLabel: {\n defaultValue: undefined\n },\n size: {\n defaultValue: \"default\"\n },\n };\n\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 开启值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"onValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 关闭值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"offValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 开启标签\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"onLabel\">\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\">\n 关闭标签\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offLabel\">\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 大小\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=\"default\">大</label>\n <label nz-radio-button nzValue=\"small\">小</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>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"开关\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"开关\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"switcher\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element },\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,OAAO,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AACxC,QAAA,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC1C,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC9C,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,OAAO,EAAE;AACP,YAAA,Y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AAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,UAAU;aACnB,CAAC;SACL;KACJ;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;SAC5B;KACJ;;;AC5BL;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-switch-design.mjs","sources":["../../../axis-components/switch/design/setting/setting.ts","../../../axis-components/switch/design/setting/setting.html","../../../axis-components/switch/design/config.ts","../../../axis-components/switch/design/ngx-axis-appforge-axis-components-switch-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-switch-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzInputModule, FunField, DynamicDirective, InputTrigger, NzRadioModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n onValue: [true, FormValidators.required],\n offValue: [false, FormValidators.required],\n onLabel: [],\n offLabel: [],\n size: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n onLabel: {\n defaultValue: undefined\n },\n offLabel: {\n defaultValue: undefined\n },\n size: {\n defaultValue: \"default\"\n },\n };\n\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 开启值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"onValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 关闭值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <ng-container formControlName=\"offValue\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 开启标签\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"onLabel\">\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\">\n 关闭标签\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offLabel\">\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 大小\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=\"default\">大</label>\n <label nz-radio-button nzValue=\"small\">小</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>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"开关\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"开关\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"switcher\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element },\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAA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,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK9K,OAAO,EAAA,UAAA,EAAA,CAAA;kBAPnB,SAAS;+BACE,4BAA4B,EAAA,OAAA,EAC7B,CAAC,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,CAAC,EAAA,eAAA,EAGzK,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uhGAAA,EAAA;;;AEV1C,MAAM,MAAM,GAAiB;AAEhC,IAAA,aAAa,EAAE,IAAI;AACnB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,UAAU;aACnB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;SAC5B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
@@ -32,10 +32,10 @@ class Switch extends ValueAccess {
32
32
  this.value.set(value ? this.options.onValue() : this.options.offValue());
33
33
  this.onChange?.(this.value());
34
34
  }
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Switch, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: Switch, isStandalone: true, selector: "axis-switch", inputs: { switchValue: { classPropertyName: "switchValue", publicName: "switchValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { switchValue: "switchValueChange" }, usesInheritance: true, ngImport: i0, template: "<nz-switch [(ngModel)]=\"switchValue\" (ngModelChange)=\"onSwitchChange($event)\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [nzCheckedChildren]=\"options.onLabel()\"\n [nzUnCheckedChildren]=\"options.offLabel()\" [nzSize]=\"options.size()\"></nz-switch>", styles: [":host{display:block}.vertical [nz-radio]{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i1.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Switch, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.4", type: Switch, isStandalone: true, selector: "axis-switch", inputs: { switchValue: { classPropertyName: "switchValue", publicName: "switchValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { switchValue: "switchValueChange" }, usesInheritance: true, ngImport: i0, template: "<nz-switch [(ngModel)]=\"switchValue\" (ngModelChange)=\"onSwitchChange($event)\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [nzCheckedChildren]=\"options.onLabel()\"\n [nzUnCheckedChildren]=\"options.offLabel()\" [nzSize]=\"options.size()\"></nz-switch>", styles: [":host{display:block}.vertical [nz-radio]{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i1.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Switch, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Switch, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'axis-switch', imports: [NzSwitchModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-switch [(ngModel)]=\"switchValue\" (ngModelChange)=\"onSwitchChange($event)\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [nzCheckedChildren]=\"options.onLabel()\"\n [nzUnCheckedChildren]=\"options.offLabel()\" [nzSize]=\"options.size()\"></nz-switch>", styles: [":host{display:block}.vertical [nz-radio]{display:block}\n"] }]
41
41
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-switch.mjs","sources":["../../../axis-components/switch/switch.options.ts","../../../axis-components/switch/switch.ts","../../../axis-components/switch/switch.html","../../../axis-components/switch/ngx-axis-appforge-axis-components-switch.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class SwitchOptions extends ValueAccessOptions {\n\n readonly onValue = signal<any>(true);\n readonly offValue = signal<any>(false);\n readonly onLabel = signal<any>(undefined);\n readonly offLabel = signal<any>(undefined);\n readonly size = signal<'small' | 'default'>('default');\n}","import { ChangeDetectionStrategy, Component, model } from '@angular/core';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormsModule } from '@angular/forms';\nimport { SwitchOptions } from './switch.options';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\n\n@Component({\n selector: 'axis-switch',\n imports: [NzSwitchModule, FormsModule],\n templateUrl: './switch.html',\n styleUrl: './switch.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Switch extends ValueAccess<SwitchOptions> {\n\n override options: SwitchOptions = new SwitchOptions();\n\n readonly switchValue = model(false);\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToSwitchValue();\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n this.valueToSwitchValue();\n }\n\n private valueToSwitchValue() {\n this.switchValue.set(this.value() === this.options.onValue());\n }\n\n onSwitchChange(value: boolean) {\n this.value.set(value ? this.options.onValue() : this.options.offValue());\n this.onChange?.(this.value());\n }\n\n}\n","<nz-switch [(ngModel)]=\"switchValue\" (ngModelChange)=\"onSwitchChange($event)\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [nzCheckedChildren]=\"options.onLabel()\"\n [nzUnCheckedChildren]=\"options.offLabel()\" [nzSize]=\"options.size()\"></nz-switch>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './switch';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAExC,IAAA,OAAO,GAAG,MAAM,CAAM,IAAI,mDAAC;AAC3B,IAAA,QA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A,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,mBAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbnB,uRAEqF,EAAA,MAAA,EAAA,CAAA,2DAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDMzE,cAAc,gPAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,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;;2FAK1B,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPlB,SAAS;+BACE,aAAa,EAAA,OAAA,EACd,CAAC,cAAc,EAAE,WAAW,CAAC,EAAA,eAAA,EAGrB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uRAAA,EAAA,MAAA,EAAA,CAAA,2DAAA,CAAA,EAAA;;;AEXjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-switch.mjs","sources":["../../../axis-components/switch/switch.options.ts","../../../axis-components/switch/switch.ts","../../../axis-components/switch/switch.html","../../../axis-components/switch/ngx-axis-appforge-axis-components-switch.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class SwitchOptions extends ValueAccessOptions {\n\n readonly onValue = signal<any>(true);\n readonly offValue = signal<any>(false);\n readonly onLabel = signal<any>(undefined);\n readonly offLabel = signal<any>(undefined);\n readonly size = signal<'small' | 'default'>('default');\n}","import { ChangeDetectionStrategy, Component, model } from '@angular/core';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormsModule } from '@angular/forms';\nimport { SwitchOptions } from './switch.options';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\n\n@Component({\n selector: 'axis-switch',\n imports: [NzSwitchModule, FormsModule],\n templateUrl: './switch.html',\n styleUrl: './switch.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Switch extends ValueAccess<SwitchOptions> {\n\n override options: SwitchOptions = new SwitchOptions();\n\n readonly switchValue = model(false);\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToSwitchValue();\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n this.valueToSwitchValue();\n }\n\n private valueToSwitchValue() {\n this.switchValue.set(this.value() === this.options.onValue());\n }\n\n onSwitchChange(value: boolean) {\n this.value.set(value ? this.options.onValue() : this.options.offValue());\n this.onChange?.(this.value());\n }\n\n}\n","<nz-switch [(ngModel)]=\"switchValue\" (ngModelChange)=\"onSwitchChange($event)\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [nzCheckedChildren]=\"options.onLabel()\"\n [nzUnCheckedChildren]=\"options.offLabel()\" [nzSize]=\"options.size()\"></nz-switch>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './switch';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAExC,IAAA,OAAO,GAAG,MAAM,CAAM,IAAI,mDAAC;AAC3B,IAAA,QAAQ,GAAG,MAAM,CAAM,KAAK,oDAAC;AAC7B,IAAA,OAAO,GAAG,MAAM,C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