ngx-axis-appforge 0.0.0-watch
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.
- package/README.md +111 -0
- package/axis-components/badge/design/index.d.ts +5 -0
- package/axis-components/badge/design/index.d.ts.map +1 -0
- package/axis-components/badge/index.d.ts +27 -0
- package/axis-components/badge/index.d.ts.map +1 -0
- package/axis-components/button/design/index.d.ts +5 -0
- package/axis-components/button/index.d.ts +33 -0
- package/axis-components/checkbox/design/index.d.ts +5 -0
- package/axis-components/checkbox/design/index.d.ts.map +1 -0
- package/axis-components/checkbox/index.d.ts +32 -0
- package/axis-components/checkbox/index.d.ts.map +1 -0
- package/axis-components/color-picker/design/index.d.ts +5 -0
- package/axis-components/color-picker/design/index.d.ts.map +1 -0
- package/axis-components/color-picker/index.d.ts +20 -0
- package/axis-components/color-picker/index.d.ts.map +1 -0
- package/axis-components/cytoscape/design/index.d.ts +5 -0
- package/axis-components/cytoscape/design/index.d.ts.map +1 -0
- package/axis-components/cytoscape/index.d.ts +20 -0
- package/axis-components/cytoscape/index.d.ts.map +1 -0
- package/axis-components/date-picker/design/index.d.ts +5 -0
- package/axis-components/date-picker/design/index.d.ts.map +1 -0
- package/axis-components/date-picker/index.d.ts +36 -0
- package/axis-components/date-picker/index.d.ts.map +1 -0
- package/axis-components/desc/design/index.d.ts +5 -0
- package/axis-components/desc/design/index.d.ts.map +1 -0
- package/axis-components/desc/index.d.ts +30 -0
- package/axis-components/desc/index.d.ts.map +1 -0
- package/axis-components/design/design/index.d.ts +5 -0
- package/axis-components/design/index.d.ts +282 -0
- package/axis-components/dropdown/design/index.d.ts +5 -0
- package/axis-components/dropdown/design/index.d.ts.map +1 -0
- package/axis-components/dropdown/index.d.ts +25 -0
- package/axis-components/dropdown/index.d.ts.map +1 -0
- package/axis-components/dynamic-container/design/index.d.ts +5 -0
- package/axis-components/dynamic-container/design/index.d.ts.map +1 -0
- package/axis-components/dynamic-container/index.d.ts +44 -0
- package/axis-components/dynamic-container/index.d.ts.map +1 -0
- package/axis-components/dynamic-value/design/index.d.ts +5 -0
- package/axis-components/dynamic-value/design/index.d.ts.map +1 -0
- package/axis-components/dynamic-value/index.d.ts +16 -0
- package/axis-components/dynamic-value/index.d.ts.map +1 -0
- package/axis-components/edit-table/design/index.d.ts +5 -0
- package/axis-components/edit-table/design/index.d.ts.map +1 -0
- package/axis-components/edit-table/index.d.ts +106 -0
- package/axis-components/edit-table/index.d.ts.map +1 -0
- package/axis-components/editor/design/index.d.ts +5 -0
- package/axis-components/editor/index.d.ts +33 -0
- package/axis-components/flex/design/index.d.ts +5 -0
- package/axis-components/flex/index.d.ts +20 -0
- package/axis-components/form/design/index.d.ts +5 -0
- package/axis-components/form/index.d.ts +31 -0
- package/axis-components/form-item/design/index.d.ts +5 -0
- package/axis-components/form-item/index.d.ts +34 -0
- package/axis-components/icon/design/index.d.ts +5 -0
- package/axis-components/icon/index.d.ts +16 -0
- package/axis-components/image/design/index.d.ts +5 -0
- package/axis-components/image/design/index.d.ts.map +1 -0
- package/axis-components/image/index.d.ts +18 -0
- package/axis-components/image/index.d.ts.map +1 -0
- package/axis-components/index.d.ts +5 -0
- package/axis-components/index.d.ts.map +1 -0
- package/axis-components/input/design/index.d.ts +5 -0
- package/axis-components/input/index.d.ts +27 -0
- package/axis-components/input-component/design/index.d.ts +5 -0
- package/axis-components/input-component/design/index.d.ts.map +1 -0
- package/axis-components/input-component/index.d.ts +43 -0
- package/axis-components/input-component/index.d.ts.map +1 -0
- package/axis-components/input-icon/design/index.d.ts +5 -0
- package/axis-components/input-icon/index.d.ts +25 -0
- package/axis-components/input-json/design/index.d.ts +5 -0
- package/axis-components/input-json/index.d.ts +25 -0
- package/axis-components/input-number/design/index.d.ts +5 -0
- package/axis-components/input-number/design/index.d.ts.map +1 -0
- package/axis-components/input-number/index.d.ts +25 -0
- package/axis-components/input-number/index.d.ts.map +1 -0
- package/axis-components/menu/design/index.d.ts +5 -0
- package/axis-components/menu/design/index.d.ts.map +1 -0
- package/axis-components/menu/index.d.ts +43 -0
- package/axis-components/menu/index.d.ts.map +1 -0
- package/axis-components/modal/design/index.d.ts +5 -0
- package/axis-components/modal/design/index.d.ts.map +1 -0
- package/axis-components/modal/index.d.ts +33 -0
- package/axis-components/modal/index.d.ts.map +1 -0
- package/axis-components/radio/design/index.d.ts +5 -0
- package/axis-components/radio/design/index.d.ts.map +1 -0
- package/axis-components/radio/index.d.ts +31 -0
- package/axis-components/radio/index.d.ts.map +1 -0
- package/axis-components/rate/design/index.d.ts +5 -0
- package/axis-components/rate/design/index.d.ts.map +1 -0
- package/axis-components/rate/index.d.ts +16 -0
- package/axis-components/rate/index.d.ts.map +1 -0
- package/axis-components/rich-text-editor/design/index.d.ts +5 -0
- package/axis-components/rich-text-editor/design/index.d.ts.map +1 -0
- package/axis-components/rich-text-editor/index.d.ts +28 -0
- package/axis-components/rich-text-editor/index.d.ts.map +1 -0
- package/axis-components/scope/design/index.d.ts +5 -0
- package/axis-components/scope/index.d.ts +26 -0
- package/axis-components/select/design/index.d.ts +5 -0
- package/axis-components/select/index.d.ts +48 -0
- package/axis-components/single-selector/design/index.d.ts +5 -0
- package/axis-components/single-selector/index.d.ts +37 -0
- package/axis-components/splitter/design/index.d.ts +5 -0
- package/axis-components/splitter/design/index.d.ts.map +1 -0
- package/axis-components/splitter/index.d.ts +29 -0
- package/axis-components/splitter/index.d.ts.map +1 -0
- package/axis-components/steps/design/index.d.ts +5 -0
- package/axis-components/steps/design/index.d.ts.map +1 -0
- package/axis-components/steps/index.d.ts +38 -0
- package/axis-components/steps/index.d.ts.map +1 -0
- package/axis-components/switch/design/index.d.ts +5 -0
- package/axis-components/switch/design/index.d.ts.map +1 -0
- package/axis-components/switch/index.d.ts +23 -0
- package/axis-components/switch/index.d.ts.map +1 -0
- package/axis-components/table/design/index.d.ts +5 -0
- package/axis-components/table/index.d.ts +144 -0
- package/axis-components/table-helper/index.d.ts +220 -0
- package/axis-components/tabs/design/index.d.ts +5 -0
- package/axis-components/tabs/design/index.d.ts.map +1 -0
- package/axis-components/tabs/index.d.ts +38 -0
- package/axis-components/tabs/index.d.ts.map +1 -0
- package/axis-components/text/design/index.d.ts +5 -0
- package/axis-components/text/index.d.ts +24 -0
- package/axis-components/textarea/design/index.d.ts +5 -0
- package/axis-components/textarea/design/index.d.ts.map +1 -0
- package/axis-components/textarea/index.d.ts +25 -0
- package/axis-components/textarea/index.d.ts.map +1 -0
- package/axis-components/timer/design/index.d.ts +5 -0
- package/axis-components/timer/design/index.d.ts.map +1 -0
- package/axis-components/timer/index.d.ts +22 -0
- package/axis-components/timer/index.d.ts.map +1 -0
- package/axis-components/transfer/design/index.d.ts +5 -0
- package/axis-components/transfer/design/index.d.ts.map +1 -0
- package/axis-components/transfer/index.d.ts +113 -0
- package/axis-components/transfer/index.d.ts.map +1 -0
- package/axis-components/tree-selector/design/index.d.ts +5 -0
- package/axis-components/tree-selector/design/index.d.ts.map +1 -0
- package/axis-components/tree-selector/index.d.ts +80 -0
- package/axis-components/tree-selector/index.d.ts.map +1 -0
- package/axis-components/upload/design/index.d.ts +5 -0
- package/axis-components/upload/design/index.d.ts.map +1 -0
- package/axis-components/upload/index.d.ts +52 -0
- package/axis-components/upload/index.d.ts.map +1 -0
- package/axis-components-covers/badge.svg +1 -0
- package/axis-components-covers/button.svg +14 -0
- package/axis-components-covers/checkbox.svg +24 -0
- package/axis-components-covers/color-picker.svg +98 -0
- package/axis-components-covers/cytoscape.svg +17 -0
- package/axis-components-covers/date-picker.svg +28 -0
- package/axis-components-covers/desc.svg +39 -0
- package/axis-components-covers/design.jpg +0 -0
- package/axis-components-covers/dropdown.svg +39 -0
- package/axis-components-covers/dynamic-container.svg +9 -0
- package/axis-components-covers/dynamic-value.svg +32 -0
- package/axis-components-covers/edit-table.png +0 -0
- package/axis-components-covers/editor.png +0 -0
- package/axis-components-covers/flex.svg +33 -0
- package/axis-components-covers/form-item.svg +22 -0
- package/axis-components-covers/form.svg +38 -0
- package/axis-components-covers/icon.svg +22 -0
- package/axis-components-covers/image.svg +13 -0
- package/axis-components-covers/input-component.svg +27 -0
- package/axis-components-covers/input-icon.svg +29 -0
- package/axis-components-covers/input-json.svg +29 -0
- package/axis-components-covers/input-number.svg +35 -0
- package/axis-components-covers/input.svg +21 -0
- package/axis-components-covers/menu.svg +17 -0
- package/axis-components-covers/modal.svg +23 -0
- package/axis-components-covers/radio.svg +19 -0
- package/axis-components-covers/rate.svg +31 -0
- package/axis-components-covers/rich-text-editor.png +0 -0
- package/axis-components-covers/scope.svg +9 -0
- package/axis-components-covers/select.svg +20 -0
- package/axis-components-covers/splitter.svg +8 -0
- package/axis-components-covers/steps.svg +1 -0
- package/axis-components-covers/switch.svg +14 -0
- package/axis-components-covers/table.svg +27 -0
- package/axis-components-covers/tabs.svg +1 -0
- package/axis-components-covers/text.svg +22 -0
- package/axis-components-covers/textarea.svg +9 -0
- package/axis-components-covers/timer.svg +1 -0
- package/axis-components-covers/transfer.svg +86 -0
- package/axis-components-covers/tree-selector.svg +77 -0
- package/axis-components-covers/upload.svg +26 -0
- package/core/index.d.ts +853 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +191 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +39 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +120 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +80 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +92 -0
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +119 -0
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +97 -0
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +34 -0
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +63 -0
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +54 -0
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +115 -0
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +104 -0
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +224 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +51 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +83 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +1922 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +178 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +55 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +83 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +149 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +77 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +29 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +344 -0
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +332 -0
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +75 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +99 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +98 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +31 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +108 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +88 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +97 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +151 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +88 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +28 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +75 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +56 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +83 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +142 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +71 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +75 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +60 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +74 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +107 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +48 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +68 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +356 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +98 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +181 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +74 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +104 -0
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +100 -0
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +80 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +30 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs +76 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs +141 -0
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +388 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +75 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +146 -0
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +202 -0
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +121 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +106 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +178 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +60 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +197 -0
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +61 -0
- package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +79 -0
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +48 -0
- package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +497 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +650 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +374 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +260 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +69 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +95 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +94 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +69 -0
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +59 -0
- package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +359 -0
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +278 -0
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +223 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +337 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +146 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +175 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components.mjs +1643 -0
- package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-core.mjs +3611 -0
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-providers.mjs +52 -0
- package/fesm2022/ngx-axis-appforge-providers.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge.mjs +6 -0
- package/fesm2022/ngx-axis-appforge.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/package.json +389 -0
- package/providers/index.d.ts +13 -0
- package/providers/index.d.ts.map +1 -0
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { FunFieldValueBase, FormValidators, valueFbConfig, baseFbConfig, valueFunField, baseFunField, BaseDesignSetting, ValueDesignSetting, FunField, DynamicDirective, InputTrigger, BaseMenu, AXIS_DESIGN_COMPONENT_REF_FOR_SETTING_TOKEN, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { computed, ViewChild, ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i5 from 'ng-zorro-antd/auto-complete';
|
|
7
|
+
import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
|
|
8
|
+
import * as i2 from 'ng-zorro-antd/collapse';
|
|
9
|
+
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
|
|
10
|
+
import * as i4 from 'ng-zorro-antd/form';
|
|
11
|
+
import { NzFormModule } from 'ng-zorro-antd/form';
|
|
12
|
+
import * as i6 from 'ng-zorro-antd/input';
|
|
13
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
14
|
+
import * as i9 from 'ng-zorro-antd/input-number';
|
|
15
|
+
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
|
|
16
|
+
import * as i10 from 'ng-zorro-antd/radio';
|
|
17
|
+
import { NzRadioModule } from 'ng-zorro-antd/radio';
|
|
18
|
+
import * as i7 from 'ng-zorro-antd/select';
|
|
19
|
+
import { NzSelectModule } from 'ng-zorro-antd/select';
|
|
20
|
+
import * as i8 from 'ng-zorro-antd/switch';
|
|
21
|
+
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
|
22
|
+
import * as i3 from 'ng-zorro-antd/grid';
|
|
23
|
+
import * as i3$1 from 'ng-zorro-antd/divider';
|
|
24
|
+
import { NzDividerModule } from 'ng-zorro-antd/divider';
|
|
25
|
+
import * as i2$1 from 'ng-zorro-antd/dropdown';
|
|
26
|
+
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
|
|
27
|
+
import * as i4$1 from 'ng-zorro-antd/icon';
|
|
28
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
29
|
+
import * as i1$1 from 'ng-zorro-antd/menu';
|
|
30
|
+
|
|
31
|
+
class Setting extends FunFieldValueBase {
|
|
32
|
+
fg = this.fb.group({
|
|
33
|
+
...baseFbConfig,
|
|
34
|
+
...valueFbConfig,
|
|
35
|
+
labelField: ["title", FormValidators.required],
|
|
36
|
+
valueField: ["key", FormValidators.required],
|
|
37
|
+
disabledField: ["disabled", FormValidators.required],
|
|
38
|
+
fullValue: [false, FormValidators.required],
|
|
39
|
+
allowInvalidValue: [false, FormValidators.required],
|
|
40
|
+
data: [],
|
|
41
|
+
type: ['normal', FormValidators.required],
|
|
42
|
+
modalTitle: [],
|
|
43
|
+
titles: [],
|
|
44
|
+
operations: [],
|
|
45
|
+
itemUnits: [],
|
|
46
|
+
selectAll: [undefined, FormValidators.requiredFun],
|
|
47
|
+
showSearch: [undefined, FormValidators.requiredFun],
|
|
48
|
+
searchPlaceholder: [],
|
|
49
|
+
notFoundContent: [],
|
|
50
|
+
oneWay: [undefined, FormValidators.requiredFun],
|
|
51
|
+
allowClear: [undefined, FormValidators.requiredFun],
|
|
52
|
+
placeholder: [],
|
|
53
|
+
variant: [undefined, FormValidators.requiredFun],
|
|
54
|
+
size: [undefined, FormValidators.requiredFun],
|
|
55
|
+
maxTagCount: [],
|
|
56
|
+
tableSize: [undefined, FormValidators.requiredFun],
|
|
57
|
+
showOrder: [undefined, FormValidators.requiredFun],
|
|
58
|
+
showDataSize: [undefined, FormValidators.requiredFun],
|
|
59
|
+
bordered: [undefined, FormValidators.requiredFun],
|
|
60
|
+
outerBordered: [undefined, FormValidators.requiredFun],
|
|
61
|
+
tableWidth: [],
|
|
62
|
+
showPagination: [true, FormValidators.required],
|
|
63
|
+
pageSize: [undefined, FormValidators.requiredFun],
|
|
64
|
+
showSizeChanger: [undefined, FormValidators.requiredFun],
|
|
65
|
+
pageSizeOptions: ["10,20,50,100", [FormValidators.required, FormValidators.pattern(/^\d+(?:,\d+)*$/)]],
|
|
66
|
+
});
|
|
67
|
+
funFields = {
|
|
68
|
+
...baseFunField,
|
|
69
|
+
...valueFunField,
|
|
70
|
+
data: {
|
|
71
|
+
defaultValue: undefined
|
|
72
|
+
},
|
|
73
|
+
modalTitle: {
|
|
74
|
+
defaultValue: '请选择'
|
|
75
|
+
},
|
|
76
|
+
titles: {
|
|
77
|
+
defaultValue: '待选,已选'
|
|
78
|
+
},
|
|
79
|
+
operations: {
|
|
80
|
+
defaultValue: ''
|
|
81
|
+
},
|
|
82
|
+
itemUnits: {
|
|
83
|
+
defaultValue: '项'
|
|
84
|
+
},
|
|
85
|
+
selectAll: {
|
|
86
|
+
defaultValue: true
|
|
87
|
+
},
|
|
88
|
+
showSearch: {
|
|
89
|
+
defaultValue: false
|
|
90
|
+
},
|
|
91
|
+
searchPlaceholder: {
|
|
92
|
+
defaultValue: '请输入搜索内容'
|
|
93
|
+
},
|
|
94
|
+
notFoundContent: {
|
|
95
|
+
defaultValue: '列表为空'
|
|
96
|
+
},
|
|
97
|
+
oneWay: {
|
|
98
|
+
defaultValue: false
|
|
99
|
+
},
|
|
100
|
+
allowClear: {
|
|
101
|
+
defaultValue: true
|
|
102
|
+
},
|
|
103
|
+
placeholder: {
|
|
104
|
+
defaultValue: ""
|
|
105
|
+
},
|
|
106
|
+
variant: {
|
|
107
|
+
defaultValue: "outlined"
|
|
108
|
+
},
|
|
109
|
+
size: {
|
|
110
|
+
defaultValue: "default"
|
|
111
|
+
},
|
|
112
|
+
maxTagCount: {
|
|
113
|
+
defaultValue: undefined
|
|
114
|
+
},
|
|
115
|
+
tableSize: {
|
|
116
|
+
defaultValue: "middle"
|
|
117
|
+
},
|
|
118
|
+
showOrder: {
|
|
119
|
+
defaultValue: true
|
|
120
|
+
},
|
|
121
|
+
showDataSize: {
|
|
122
|
+
defaultValue: true
|
|
123
|
+
},
|
|
124
|
+
bordered: {
|
|
125
|
+
defaultValue: false
|
|
126
|
+
},
|
|
127
|
+
outerBordered: {
|
|
128
|
+
defaultValue: false
|
|
129
|
+
},
|
|
130
|
+
tableWidth: {
|
|
131
|
+
defaultValue: null
|
|
132
|
+
},
|
|
133
|
+
pageSize: {
|
|
134
|
+
defaultValue: 10
|
|
135
|
+
},
|
|
136
|
+
showSizeChanger: {
|
|
137
|
+
defaultValue: true
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
dataFunField;
|
|
141
|
+
fields = computed(() => {
|
|
142
|
+
if (this.dataFunField.computeResult()?.length) {
|
|
143
|
+
return Object.keys(this.dataFunField.computeResult()[0]);
|
|
144
|
+
}
|
|
145
|
+
return [];
|
|
146
|
+
}, ...(ngDevMode ? [{ debugName: "fields" }] : []));
|
|
147
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
148
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: Setting, isStandalone: true, selector: "axis-design-transfer-setting", viewQueries: [{ propertyName: "dataFunField", first: true, predicate: ["data"], descendants: true, static: true }], 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 \u503C\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"valueField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u540D\u79F0\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"labelField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5B8C\u6574\u5BF9\u8C61\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"fullValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u65E0\u6548\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"allowInvalidValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9009\u9879\u6570\u636E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field #data formControlName=\"data\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u7A7F\u68AD\u6846\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"type\">\n <nz-option nzValue=\"normal\" nzLabel=\"\u666E\u901A\"></nz-option>\n <nz-option nzValue=\"table\" nzLabel=\"\u8868\u683C\"></nz-option>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.type != \"table\") {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5355\u5411\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"oneWay\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u5DE6\u53F3\u4E24\u4FA7\u7684\u6807\u9898\">\n \u7A7F\u68AD\u6846\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"titles\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u4E24\u4E2A\u65B9\u5411\u7684\u64CD\u4F5C\u6807\u9898\">\n \u64CD\u4F5C\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"operations\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u5355\u6570\u548C\u590D\u6570\u7684\u663E\u793A\u5355\u4F4D\">\n \u663E\u793A\u5355\u4F4D\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"itemUnits\">\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 \u5168\u9009\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"selectAll\">\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 \u7A7A\u5217\u8868\u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"notFoundContent\">\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 \u641C\u7D22\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showSearch\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if(formValue()?.showSearch.funMode || formValue()?.showSearch.originValue){\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u641C\u7D22\u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"searchPlaceholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u9009\u62E9\u6846\u5916\u89C2\u8BBE\u7F6E\">\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=\"large\">\u5927</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</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-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\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\">\n \u53EF\u89C1\u6807\u7B7E\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxTagCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"1\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u8868\u683C\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u8868\u683C\u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"tableSize\">\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=\"middle\">\u4E2D</label>\n <label nz-radio-button nzValue=\"default\">\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=\"10\" nzRequired>\n \u663E\u793A\u5E8F\u53F7\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showOrder\">\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=\"10\" nzRequired>\n \u663E\u793A\u6570\u636E\u6761\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showDataSize\">\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=\"10\" nzRequired>\n \u663E\u793A\u8FB9\u6846\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"bordered\">\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=\"10\" nzRequired>\n \u663E\u793A\u5916\u8FB9\u6846\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"outerBordered\">\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=\"10\" nzTooltipTitle=\"\u4E0D\u8BBE\u7F6E\u65F6\uFF0C\u81EA\u52A8\u8BA1\u7B97\u6EDA\u52A8\u5BBD\u5EA6\uFF0C\u81EA\u52A8\u8BA1\u7B97\u4E0D\u5408\u7406\u65F6\u624B\u52A8\u8BBE\u7F6E\">\n \u8868\u683C\u6EDA\u52A8\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"tableWidth\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" style=\"width: 100%;\" [nzMin]=\"0\">\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=\"10\" nzRequired>\n \u662F\u5426\u5206\u9875\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <nz-switch formControlName=\"showPagination\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.showPagination) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u9ED8\u8BA4\u884C\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"pageSize\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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=\"10\" nzRequired>\n \u884C\u6570\u4FEE\u6539\u5668\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showSizeChanger\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showSizeChanger?.funMode || formValue()?.showSizeChanger?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired nzTooltipTitle=\"\u7528\u9017\u53F7\u5206\u9694\uFF0C\u4F8B:10,20,50,100\">\n \u9875\u6570\u53EF\u9009\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <input nz-input formControlName=\"pageSizeOptions\" placeholder=\"\u4F8B:10,20,50,100\" />\n </nz-form-control>\n </nz-form-item>\n }\n }\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: NzAutocompleteModule }, { kind: "component", type: i5.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i5.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i5.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i7.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i7.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "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"] }, { 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: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i8.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i9.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: i6.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i10.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i10.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
149
|
+
}
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
|
|
151
|
+
type: Component,
|
|
152
|
+
args: [{ selector: 'axis-design-transfer-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzAutocompleteModule, NzInputModule, NzSelectModule, FunField, DynamicDirective, NzSwitchModule, InputTrigger, NzInputNumberModule, NzRadioModule, NzSelectModule], 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 \u503C\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"valueField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u540D\u79F0\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"labelField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5B8C\u6574\u5BF9\u8C61\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"fullValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u65E0\u6548\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"allowInvalidValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9009\u9879\u6570\u636E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field #data formControlName=\"data\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u7A7F\u68AD\u6846\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"type\">\n <nz-option nzValue=\"normal\" nzLabel=\"\u666E\u901A\"></nz-option>\n <nz-option nzValue=\"table\" nzLabel=\"\u8868\u683C\"></nz-option>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.type != \"table\") {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5355\u5411\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"oneWay\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u5DE6\u53F3\u4E24\u4FA7\u7684\u6807\u9898\">\n \u7A7F\u68AD\u6846\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"titles\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u4E24\u4E2A\u65B9\u5411\u7684\u64CD\u4F5C\u6807\u9898\">\n \u64CD\u4F5C\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"operations\">\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\" nzTooltipTitle=\"\u53EF\u901A\u8FC7\u9017\u53F7\u5206\u9694\u8BBE\u7F6E\u5355\u6570\u548C\u590D\u6570\u7684\u663E\u793A\u5355\u4F4D\">\n \u663E\u793A\u5355\u4F4D\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"itemUnits\">\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 \u5168\u9009\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"selectAll\">\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 \u7A7A\u5217\u8868\u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"notFoundContent\">\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 \u641C\u7D22\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showSearch\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if(formValue()?.showSearch.funMode || formValue()?.showSearch.originValue){\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u641C\u7D22\u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"searchPlaceholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u9009\u62E9\u6846\u5916\u89C2\u8BBE\u7F6E\">\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=\"large\">\u5927</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</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-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\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\">\n \u53EF\u89C1\u6807\u7B7E\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxTagCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"1\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u8868\u683C\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u8868\u683C\u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"tableSize\">\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=\"middle\">\u4E2D</label>\n <label nz-radio-button nzValue=\"default\">\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=\"10\" nzRequired>\n \u663E\u793A\u5E8F\u53F7\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showOrder\">\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=\"10\" nzRequired>\n \u663E\u793A\u6570\u636E\u6761\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showDataSize\">\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=\"10\" nzRequired>\n \u663E\u793A\u8FB9\u6846\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"bordered\">\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=\"10\" nzRequired>\n \u663E\u793A\u5916\u8FB9\u6846\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"outerBordered\">\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=\"10\" nzTooltipTitle=\"\u4E0D\u8BBE\u7F6E\u65F6\uFF0C\u81EA\u52A8\u8BA1\u7B97\u6EDA\u52A8\u5BBD\u5EA6\uFF0C\u81EA\u52A8\u8BA1\u7B97\u4E0D\u5408\u7406\u65F6\u624B\u52A8\u8BBE\u7F6E\">\n \u8868\u683C\u6EDA\u52A8\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"tableWidth\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" style=\"width: 100%;\" [nzMin]=\"0\">\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=\"10\" nzRequired>\n \u662F\u5426\u5206\u9875\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <nz-switch formControlName=\"showPagination\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.showPagination) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u9ED8\u8BA4\u884C\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"pageSize\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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=\"10\" nzRequired>\n \u884C\u6570\u4FEE\u6539\u5668\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"showSizeChanger\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().showSizeChanger?.funMode || formValue()?.showSizeChanger?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired nzTooltipTitle=\"\u7528\u9017\u53F7\u5206\u9694\uFF0C\u4F8B:10,20,50,100\">\n \u9875\u6570\u53EF\u9009\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <input nz-input formControlName=\"pageSizeOptions\" placeholder=\"\u4F8B:10,20,50,100\" />\n </nz-form-control>\n </nz-form-item>\n }\n }\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>" }]
|
|
153
|
+
}], propDecorators: { dataFunField: [{
|
|
154
|
+
type: ViewChild,
|
|
155
|
+
args: ["data", { static: true }]
|
|
156
|
+
}] } });
|
|
157
|
+
|
|
158
|
+
class TransferTableFieldsMenu extends BaseMenu {
|
|
159
|
+
addField() {
|
|
160
|
+
const field = `unnamed#${this.optionsNodes.current.options.length + 1}`;
|
|
161
|
+
this.optionsNodes.current.options.push({
|
|
162
|
+
field: field,
|
|
163
|
+
title: "未命名",
|
|
164
|
+
inuse: true,
|
|
165
|
+
});
|
|
166
|
+
this.onChange?.({ nextNodeId: `${this.optionsNodes.parent?.id}.${field}`, historyDesc: "添加表格字段" });
|
|
167
|
+
}
|
|
168
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TransferTableFieldsMenu, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: TransferTableFieldsMenu, isStandalone: true, selector: "axis-design-transfer-table-fields-menu", usesInheritance: true, ngImport: i0, template: "<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addField()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>\u6DFB\u52A0\u5B57\u6BB5</span>\n </li>\n </ul>\n</nz-dropdown-menu>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzDividerModule }, { kind: "component", type: i3$1.NzDividerComponent, selector: "nz-divider", inputs: ["nzText", "nzType", "nzOrientation", "nzVariant", "nzSize", "nzDashed", "nzPlain"], exportAs: ["nzDivider"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i4$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
170
|
+
}
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TransferTableFieldsMenu, decorators: [{
|
|
172
|
+
type: Component,
|
|
173
|
+
args: [{ selector: 'axis-design-transfer-table-fields-menu', imports: [NzDropDownModule, NzDividerModule, NzIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addField()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>\u6DFB\u52A0\u5B57\u6BB5</span>\n </li>\n </ul>\n</nz-dropdown-menu>" }]
|
|
174
|
+
}] });
|
|
175
|
+
|
|
176
|
+
class TransferTableFieldSetting extends FunFieldValueBase {
|
|
177
|
+
fg = this.fb.group({
|
|
178
|
+
inuse: [undefined, FormValidators.requiredFun],
|
|
179
|
+
field: ["unknown", FormValidators.required],
|
|
180
|
+
title: [undefined, FormValidators.requiredFun],
|
|
181
|
+
sortAble: [undefined, FormValidators.requiredFun],
|
|
182
|
+
sortOrder: [],
|
|
183
|
+
sortPriority: [],
|
|
184
|
+
filterAble: [undefined, FormValidators.requiredFun],
|
|
185
|
+
filterMultiple: [undefined, FormValidators.requiredFun],
|
|
186
|
+
width: [],
|
|
187
|
+
align: [undefined, FormValidators.requiredFun],
|
|
188
|
+
freezeMode: [undefined, FormValidators.requiredFun],
|
|
189
|
+
});
|
|
190
|
+
funFields = {
|
|
191
|
+
inuse: {
|
|
192
|
+
defaultValue: true
|
|
193
|
+
},
|
|
194
|
+
title: {
|
|
195
|
+
defaultValue: "未命名"
|
|
196
|
+
},
|
|
197
|
+
sortAble: {
|
|
198
|
+
defaultValue: false
|
|
199
|
+
},
|
|
200
|
+
sortOrder: {
|
|
201
|
+
defaultValue: null
|
|
202
|
+
},
|
|
203
|
+
sortPriority: {
|
|
204
|
+
defaultValue: null
|
|
205
|
+
},
|
|
206
|
+
filterAble: {
|
|
207
|
+
defaultValue: false
|
|
208
|
+
},
|
|
209
|
+
filterMultiple: {
|
|
210
|
+
defaultValue: false
|
|
211
|
+
},
|
|
212
|
+
width: {
|
|
213
|
+
defaultValue: null
|
|
214
|
+
},
|
|
215
|
+
align: {
|
|
216
|
+
defaultValue: "left"
|
|
217
|
+
},
|
|
218
|
+
freezeMode: {
|
|
219
|
+
defaultValue: "none"
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
elementRef = inject(AXIS_DESIGN_COMPONENT_REF_FOR_SETTING_TOKEN);
|
|
223
|
+
filterFnScopes = computed(() => {
|
|
224
|
+
const data = this.elementRef.ref?.instance.options?.data();
|
|
225
|
+
return [{
|
|
226
|
+
scopeId: this.elementRef.options.id + '.filter.' + this.formValue().field,
|
|
227
|
+
scopeName: "过滤项",
|
|
228
|
+
ds: {
|
|
229
|
+
row: data?.[0] ?? {},
|
|
230
|
+
value: data?.[0]?.[this.formValue().field] ?? null
|
|
231
|
+
}
|
|
232
|
+
}];
|
|
233
|
+
}, ...(ngDevMode ? [{ debugName: "filterFnScopes" }] : []));
|
|
234
|
+
fields = computed(() => {
|
|
235
|
+
const data = this.elementRef.ref?.instance.options?.data();
|
|
236
|
+
return Object.keys(data?.[0] ?? {});
|
|
237
|
+
}, ...(ngDevMode ? [{ debugName: "fields" }] : []));
|
|
238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TransferTableFieldSetting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: TransferTableFieldSetting, isStandalone: true, selector: "axis-design-transfer-table-field-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=\"10\" nzRequired>\n \u5B57\u6BB5\u540D\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <input nz-input formControlName=\"field\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u5B57\u6BB5\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\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=\"10\" nzRequired>\n \u662F\u5426\u53EF\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"inuse\">\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=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\">\n \u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"width\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" style=\"width: 100%;\" [nzMin]=\"0\">\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=\"10\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"align\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"left\" nzLabel=\"\u5DE6\u5BF9\u9F50\"></nz-option>\n <nz-option nzValue=\"center\" nzLabel=\"\u5C45\u4E2D\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u53F3\u5BF9\u9F50\"></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=\"10\" nzRequired>\n \u56FA\u5B9A\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"freezeMode\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"none\" nzLabel=\"\u4E0D\u56FA\u5B9A\"></nz-option>\n <nz-option nzValue=\"left\" nzLabel=\"\u56FA\u5B9A\u5728\u5DE6\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u56FA\u5B9A\u5728\u53F3\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u6392\u5E8F\u8FC7\u6EE4\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u662F\u5426\u6392\u5E8F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortAble\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().sortAble?.funMode || formValue()?.sortAble?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\">\n \u9ED8\u8BA4\u6392\u5E8F\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortOrder\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\" nzAllowClear>\n <nz-option nzValue=\"ascend\" nzLabel=\"\u5347\u5E8F\"></nz-option>\n <nz-option nzValue=\"descend\" nzLabel=\"\u964D\u5E8F\"></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=\"10\">\n \u6392\u5E8F\u4F18\u5148\u7EA7\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortPriority\">\n <nz-input-number style=\"width: 100%;\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u662F\u5426\u8FC7\u6EE4\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterAble\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().filterAble?.funMode || formValue()?.filterAble?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u591A\u4E2A\u8FC7\u6EE4\u6761\u4EF6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterMultiple\">\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=\"10\">\n \u8FC7\u6EE4\u663E\u793A\u51FD\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterDisplayFn\" [scopes]=\"filterFnScopes()\" [onlyFun]=\"true\"\n [noListen]=\"true\">\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\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: 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: "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: 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: NzInputModule }, { kind: "directive", type: i6.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: "ngmodule", type: NzRadioModule }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i7.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i7.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "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"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i9.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: i6.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i8.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: NzAutocompleteModule }, { kind: "component", type: i5.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i5.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i5.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
240
|
+
}
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TransferTableFieldSetting, decorators: [{
|
|
242
|
+
type: Component,
|
|
243
|
+
args: [{ selector: 'axis-design-transfer-table-field-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, FunField, NzRadioModule, NzSelectModule, NzInputNumberModule, NzSwitchModule, NzAutocompleteModule], 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=\"10\" nzRequired>\n \u5B57\u6BB5\u540D\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <input nz-input formControlName=\"field\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u5B57\u6BB5\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\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=\"10\" nzRequired>\n \u662F\u5426\u53EF\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"inuse\">\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=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\">\n \u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"width\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" style=\"width: 100%;\" [nzMin]=\"0\">\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=\"10\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"align\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"left\" nzLabel=\"\u5DE6\u5BF9\u9F50\"></nz-option>\n <nz-option nzValue=\"center\" nzLabel=\"\u5C45\u4E2D\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u53F3\u5BF9\u9F50\"></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=\"10\" nzRequired>\n \u56FA\u5B9A\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"freezeMode\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"none\" nzLabel=\"\u4E0D\u56FA\u5B9A\"></nz-option>\n <nz-option nzValue=\"left\" nzLabel=\"\u56FA\u5B9A\u5728\u5DE6\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u56FA\u5B9A\u5728\u53F3\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u6392\u5E8F\u8FC7\u6EE4\">\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u662F\u5426\u6392\u5E8F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortAble\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().sortAble?.funMode || formValue()?.sortAble?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\">\n \u9ED8\u8BA4\u6392\u5E8F\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortOrder\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\" nzAllowClear>\n <nz-option nzValue=\"ascend\" nzLabel=\"\u5347\u5E8F\"></nz-option>\n <nz-option nzValue=\"descend\" nzLabel=\"\u964D\u5E8F\"></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=\"10\">\n \u6392\u5E8F\u4F18\u5148\u7EA7\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"sortPriority\">\n <nz-input-number style=\"width: 100%;\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u662F\u5426\u8FC7\u6EE4\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterAble\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue().filterAble?.funMode || formValue()?.filterAble?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"10\" nzRequired>\n \u591A\u4E2A\u8FC7\u6EE4\u6761\u4EF6\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterMultiple\">\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=\"10\">\n \u8FC7\u6EE4\u663E\u793A\u51FD\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"14\">\n <axis-fun-field formControlName=\"filterDisplayFn\" [scopes]=\"filterFnScopes()\" [onlyFun]=\"true\"\n [noListen]=\"true\">\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n </nz-collapse>\n</form>" }]
|
|
244
|
+
}] });
|
|
245
|
+
|
|
246
|
+
const Config = {
|
|
247
|
+
componentName: "穿梭框",
|
|
248
|
+
buildOptionsNodes(nextInfo) {
|
|
249
|
+
const next = [];
|
|
250
|
+
const headerNode = new OptionsNode({
|
|
251
|
+
id: nextInfo.currentObject.id + ".header",
|
|
252
|
+
parentId: nextInfo.currentObject.id,
|
|
253
|
+
scopeId: nextInfo.scopeId,
|
|
254
|
+
rootOptions: nextInfo.currentObject,
|
|
255
|
+
name: "头部",
|
|
256
|
+
contextMenu: SimpleMenu,
|
|
257
|
+
canDrop: true,
|
|
258
|
+
dropType: "component",
|
|
259
|
+
dropObj: nextInfo.currentObject,
|
|
260
|
+
defaultDropIndex: "header",
|
|
261
|
+
icon: "control",
|
|
262
|
+
children: []
|
|
263
|
+
});
|
|
264
|
+
next.push({
|
|
265
|
+
parentId: headerNode.id,
|
|
266
|
+
parentObject: nextInfo.currentObject,
|
|
267
|
+
indexOfParent: "header",
|
|
268
|
+
scopeId: nextInfo.scopeId
|
|
269
|
+
});
|
|
270
|
+
const fieldsChildren = [];
|
|
271
|
+
const fieldsNode = new OptionsNode({
|
|
272
|
+
id: nextInfo.currentObject.id + ".fields",
|
|
273
|
+
parentId: nextInfo.currentObject.id,
|
|
274
|
+
scopeId: nextInfo.scopeId,
|
|
275
|
+
rootOptions: nextInfo.currentObject.fields,
|
|
276
|
+
contextMenu: TransferTableFieldsMenu,
|
|
277
|
+
name: `表格列[${nextInfo.currentObject.fields?.length ?? 0}]`,
|
|
278
|
+
canDrop: true,
|
|
279
|
+
dropType: "axis-components/table/table-field",
|
|
280
|
+
dropObj: nextInfo.currentObject.fields,
|
|
281
|
+
defaultDropIndex: nextInfo.currentObject.fields?.length ?? 0,
|
|
282
|
+
childDirection: 'horizontal',
|
|
283
|
+
icon: "project",
|
|
284
|
+
children: fieldsChildren
|
|
285
|
+
});
|
|
286
|
+
nextInfo.currentObject.fields?.forEach((f, i) => {
|
|
287
|
+
next.push({
|
|
288
|
+
parentId: fieldsNode.id + "." + f.field,
|
|
289
|
+
parentObject: f,
|
|
290
|
+
indexOfParent: "child",
|
|
291
|
+
scopeId: nextInfo.currentObject.id + ".row"
|
|
292
|
+
});
|
|
293
|
+
fieldsChildren.push(new OptionsNode({
|
|
294
|
+
id: fieldsNode.id + "." + f.field,
|
|
295
|
+
updateId: (options) => fieldsNode.id + "." + options.field,
|
|
296
|
+
scopeId: fieldsNode.scopeId,
|
|
297
|
+
parentId: fieldsNode.id,
|
|
298
|
+
parentObj: fieldsNode.options,
|
|
299
|
+
indexOfParentObj: i,
|
|
300
|
+
rootOptions: f,
|
|
301
|
+
name: `字段[${f.field}]`,
|
|
302
|
+
icon: "profile",
|
|
303
|
+
canSetting: true,
|
|
304
|
+
settingType: TransferTableFieldSetting,
|
|
305
|
+
contextMenu: SimpleMenu,
|
|
306
|
+
canDrag: true,
|
|
307
|
+
dragType: "axis-components/table/table-field",
|
|
308
|
+
canDrop: true,
|
|
309
|
+
dropType: "component",
|
|
310
|
+
dropObj: f,
|
|
311
|
+
defaultDropIndex: "child",
|
|
312
|
+
children: []
|
|
313
|
+
}));
|
|
314
|
+
});
|
|
315
|
+
return {
|
|
316
|
+
treeNode: new OptionsNode({
|
|
317
|
+
parentId: nextInfo.parentId,
|
|
318
|
+
scopeId: nextInfo.scopeId,
|
|
319
|
+
name: "穿梭框",
|
|
320
|
+
canSetting: true,
|
|
321
|
+
canDrag: true,
|
|
322
|
+
dragType: "component",
|
|
323
|
+
parentObj: nextInfo.parentObject,
|
|
324
|
+
indexOfParentObj: nextInfo.indexOfParent,
|
|
325
|
+
rootOptions: nextInfo.currentObject,
|
|
326
|
+
settingType: Setting,
|
|
327
|
+
contextMenu: SimpleMenu,
|
|
328
|
+
icon: "interaction",
|
|
329
|
+
children: [
|
|
330
|
+
headerNode,
|
|
331
|
+
fieldsNode,
|
|
332
|
+
],
|
|
333
|
+
}),
|
|
334
|
+
next: next,
|
|
335
|
+
newScopes: [
|
|
336
|
+
{
|
|
337
|
+
scopeId: nextInfo.currentObject.id + ".row",
|
|
338
|
+
parentScopeId: nextInfo.scopeId,
|
|
339
|
+
scopeName: "穿梭框表格行",
|
|
340
|
+
ds: {
|
|
341
|
+
row: nextInfo.currentObject.data?.[0] ?? "示例数据"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
};
|
|
346
|
+
},
|
|
347
|
+
bindElementsOptionsNode(element, options) {
|
|
348
|
+
return {
|
|
349
|
+
[options.id]: { element },
|
|
350
|
+
};
|
|
351
|
+
},
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Generated bundle index. Do not edit.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
export { Config };
|
|
359
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-transfer-design.mjs.map
|