ngx-axis-appforge 0.0.93 → 1.0.0
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/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +17 -17
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +17 -17
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +13 -13
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +10 -10
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +19 -19
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +16 -16
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +174 -207
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs +7 -7
- package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs +18 -18
- package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +9 -9
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs +10 -10
- package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +17 -17
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +59 -59
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +8 -8
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +10 -10
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +10 -10
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +12 -12
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +7 -7
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +7 -7
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +15 -15
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +12 -12
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +18 -18
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +23 -23
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +8 -8
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +18 -18
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +15 -15
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +6 -6
- package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs +8 -8
- package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +21 -21
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +7 -7
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +28 -28
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +21 -21
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +14 -14
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +24 -24
- package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +9 -9
- package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +23 -23
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +44 -44
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +84 -84
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +24 -24
- package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +11 -11
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs +14 -14
- package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs +17 -17
- package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +5 -5
- package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +14 -14
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +67 -67
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +13 -13
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +48 -48
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +27 -27
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-video.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-core.mjs +186 -195
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
- package/package.json +112 -111
- package/{axis-components/design/index.d.ts → types/ngx-axis-appforge-axis-components-design.d.ts} +20 -33
- package/{core/index.d.ts → types/ngx-axis-appforge-core.d.ts} +2 -15
- /package/{axis-components/badge/design/index.d.ts → types/ngx-axis-appforge-axis-components-badge-design.d.ts} +0 -0
- /package/{axis-components/badge/index.d.ts → types/ngx-axis-appforge-axis-components-badge.d.ts} +0 -0
- /package/{axis-components/button/design/index.d.ts → types/ngx-axis-appforge-axis-components-button-design.d.ts} +0 -0
- /package/{axis-components/button/index.d.ts → types/ngx-axis-appforge-axis-components-button.d.ts} +0 -0
- /package/{axis-components/checkbox/design/index.d.ts → types/ngx-axis-appforge-axis-components-checkbox-design.d.ts} +0 -0
- /package/{axis-components/checkbox/index.d.ts → types/ngx-axis-appforge-axis-components-checkbox.d.ts} +0 -0
- /package/{axis-components/color-picker/design/index.d.ts → types/ngx-axis-appforge-axis-components-color-picker-design.d.ts} +0 -0
- /package/{axis-components/color-picker/index.d.ts → types/ngx-axis-appforge-axis-components-color-picker.d.ts} +0 -0
- /package/{axis-components/cytoscape/design/index.d.ts → types/ngx-axis-appforge-axis-components-cytoscape-design.d.ts} +0 -0
- /package/{axis-components/cytoscape/index.d.ts → types/ngx-axis-appforge-axis-components-cytoscape.d.ts} +0 -0
- /package/{axis-components/date-picker/design/index.d.ts → types/ngx-axis-appforge-axis-components-date-picker-design.d.ts} +0 -0
- /package/{axis-components/date-picker/index.d.ts → types/ngx-axis-appforge-axis-components-date-picker.d.ts} +0 -0
- /package/{axis-components/desc/design/index.d.ts → types/ngx-axis-appforge-axis-components-desc-design.d.ts} +0 -0
- /package/{axis-components/desc/index.d.ts → types/ngx-axis-appforge-axis-components-desc.d.ts} +0 -0
- /package/{axis-components/design/design/index.d.ts → types/ngx-axis-appforge-axis-components-design-design.d.ts} +0 -0
- /package/{axis-components/drawer/design/index.d.ts → types/ngx-axis-appforge-axis-components-drawer-design.d.ts} +0 -0
- /package/{axis-components/drawer/index.d.ts → types/ngx-axis-appforge-axis-components-drawer.d.ts} +0 -0
- /package/{axis-components/dropdown/design/index.d.ts → types/ngx-axis-appforge-axis-components-dropdown-design.d.ts} +0 -0
- /package/{axis-components/dropdown/index.d.ts → types/ngx-axis-appforge-axis-components-dropdown.d.ts} +0 -0
- /package/{axis-components/dynamic-container/design/index.d.ts → types/ngx-axis-appforge-axis-components-dynamic-container-design.d.ts} +0 -0
- /package/{axis-components/dynamic-container/index.d.ts → types/ngx-axis-appforge-axis-components-dynamic-container.d.ts} +0 -0
- /package/{axis-components/dynamic-value/design/index.d.ts → types/ngx-axis-appforge-axis-components-dynamic-value-design.d.ts} +0 -0
- /package/{axis-components/dynamic-value/index.d.ts → types/ngx-axis-appforge-axis-components-dynamic-value.d.ts} +0 -0
- /package/{axis-components/echarts/design/index.d.ts → types/ngx-axis-appforge-axis-components-echarts-design.d.ts} +0 -0
- /package/{axis-components/echarts/index.d.ts → types/ngx-axis-appforge-axis-components-echarts.d.ts} +0 -0
- /package/{axis-components/edit-table/design/index.d.ts → types/ngx-axis-appforge-axis-components-edit-table-design.d.ts} +0 -0
- /package/{axis-components/edit-table/index.d.ts → types/ngx-axis-appforge-axis-components-edit-table.d.ts} +0 -0
- /package/{axis-components/editor/design/index.d.ts → types/ngx-axis-appforge-axis-components-editor-design.d.ts} +0 -0
- /package/{axis-components/editor/index.d.ts → types/ngx-axis-appforge-axis-components-editor.d.ts} +0 -0
- /package/{axis-components/flex/design/index.d.ts → types/ngx-axis-appforge-axis-components-flex-design.d.ts} +0 -0
- /package/{axis-components/flex/index.d.ts → types/ngx-axis-appforge-axis-components-flex.d.ts} +0 -0
- /package/{axis-components/form-item/design/index.d.ts → types/ngx-axis-appforge-axis-components-form-design.d.ts} +0 -0
- /package/{axis-components/form/design/index.d.ts → types/ngx-axis-appforge-axis-components-form-item-design.d.ts} +0 -0
- /package/{axis-components/form-item/index.d.ts → types/ngx-axis-appforge-axis-components-form-item.d.ts} +0 -0
- /package/{axis-components/form/index.d.ts → types/ngx-axis-appforge-axis-components-form.d.ts} +0 -0
- /package/{axis-components/icon/design/index.d.ts → types/ngx-axis-appforge-axis-components-icon-design.d.ts} +0 -0
- /package/{axis-components/icon/index.d.ts → types/ngx-axis-appforge-axis-components-icon.d.ts} +0 -0
- /package/{axis-components/image/design/index.d.ts → types/ngx-axis-appforge-axis-components-image-design.d.ts} +0 -0
- /package/{axis-components/image/index.d.ts → types/ngx-axis-appforge-axis-components-image.d.ts} +0 -0
- /package/{axis-components/input-component/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-component-design.d.ts} +0 -0
- /package/{axis-components/input-component/index.d.ts → types/ngx-axis-appforge-axis-components-input-component.d.ts} +0 -0
- /package/{axis-components/input-icon/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-design.d.ts} +0 -0
- /package/{axis-components/input-json/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-icon-design.d.ts} +0 -0
- /package/{axis-components/input-icon/index.d.ts → types/ngx-axis-appforge-axis-components-input-icon.d.ts} +0 -0
- /package/{axis-components/input-list/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-json-design.d.ts} +0 -0
- /package/{axis-components/input-json/index.d.ts → types/ngx-axis-appforge-axis-components-input-json.d.ts} +0 -0
- /package/{axis-components/input-number/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-list-design.d.ts} +0 -0
- /package/{axis-components/input-list/index.d.ts → types/ngx-axis-appforge-axis-components-input-list.d.ts} +0 -0
- /package/{axis-components/input/design/index.d.ts → types/ngx-axis-appforge-axis-components-input-number-design.d.ts} +0 -0
- /package/{axis-components/input-number/index.d.ts → types/ngx-axis-appforge-axis-components-input-number.d.ts} +0 -0
- /package/{axis-components/input/index.d.ts → types/ngx-axis-appforge-axis-components-input.d.ts} +0 -0
- /package/{axis-components/menu/design/index.d.ts → types/ngx-axis-appforge-axis-components-menu-design.d.ts} +0 -0
- /package/{axis-components/menu/index.d.ts → types/ngx-axis-appforge-axis-components-menu.d.ts} +0 -0
- /package/{axis-components/modal/design/index.d.ts → types/ngx-axis-appforge-axis-components-modal-design.d.ts} +0 -0
- /package/{axis-components/modal/index.d.ts → types/ngx-axis-appforge-axis-components-modal.d.ts} +0 -0
- /package/{axis-components/radio/design/index.d.ts → types/ngx-axis-appforge-axis-components-radio-design.d.ts} +0 -0
- /package/{axis-components/radio/index.d.ts → types/ngx-axis-appforge-axis-components-radio.d.ts} +0 -0
- /package/{axis-components/rate/design/index.d.ts → types/ngx-axis-appforge-axis-components-rate-design.d.ts} +0 -0
- /package/{axis-components/rate/index.d.ts → types/ngx-axis-appforge-axis-components-rate.d.ts} +0 -0
- /package/{axis-components/rich-text-editor/design/index.d.ts → types/ngx-axis-appforge-axis-components-rich-text-editor-design.d.ts} +0 -0
- /package/{axis-components/rich-text-editor/index.d.ts → types/ngx-axis-appforge-axis-components-rich-text-editor.d.ts} +0 -0
- /package/{axis-components/scope/design/index.d.ts → types/ngx-axis-appforge-axis-components-scope-design.d.ts} +0 -0
- /package/{axis-components/scope/index.d.ts → types/ngx-axis-appforge-axis-components-scope.d.ts} +0 -0
- /package/{axis-components/select/design/index.d.ts → types/ngx-axis-appforge-axis-components-select-design.d.ts} +0 -0
- /package/{axis-components/select/index.d.ts → types/ngx-axis-appforge-axis-components-select.d.ts} +0 -0
- /package/{axis-components/single-selector/design/index.d.ts → types/ngx-axis-appforge-axis-components-single-selector-design.d.ts} +0 -0
- /package/{axis-components/single-selector/index.d.ts → types/ngx-axis-appforge-axis-components-single-selector.d.ts} +0 -0
- /package/{axis-components/splitter/design/index.d.ts → types/ngx-axis-appforge-axis-components-splitter-design.d.ts} +0 -0
- /package/{axis-components/splitter/index.d.ts → types/ngx-axis-appforge-axis-components-splitter.d.ts} +0 -0
- /package/{axis-components/steps/design/index.d.ts → types/ngx-axis-appforge-axis-components-steps-design.d.ts} +0 -0
- /package/{axis-components/steps/index.d.ts → types/ngx-axis-appforge-axis-components-steps.d.ts} +0 -0
- /package/{axis-components/switch/design/index.d.ts → types/ngx-axis-appforge-axis-components-switch-design.d.ts} +0 -0
- /package/{axis-components/switch/index.d.ts → types/ngx-axis-appforge-axis-components-switch.d.ts} +0 -0
- /package/{axis-components/table/design/index.d.ts → types/ngx-axis-appforge-axis-components-table-design.d.ts} +0 -0
- /package/{axis-components/table-helper/index.d.ts → types/ngx-axis-appforge-axis-components-table-helper.d.ts} +0 -0
- /package/{axis-components/table/index.d.ts → types/ngx-axis-appforge-axis-components-table.d.ts} +0 -0
- /package/{axis-components/tabs/design/index.d.ts → types/ngx-axis-appforge-axis-components-tabs-design.d.ts} +0 -0
- /package/{axis-components/tabs/index.d.ts → types/ngx-axis-appforge-axis-components-tabs.d.ts} +0 -0
- /package/{axis-components/text/design/index.d.ts → types/ngx-axis-appforge-axis-components-text-design.d.ts} +0 -0
- /package/{axis-components/text/index.d.ts → types/ngx-axis-appforge-axis-components-text.d.ts} +0 -0
- /package/{axis-components/textarea/design/index.d.ts → types/ngx-axis-appforge-axis-components-textarea-design.d.ts} +0 -0
- /package/{axis-components/textarea/index.d.ts → types/ngx-axis-appforge-axis-components-textarea.d.ts} +0 -0
- /package/{axis-components/time-line/design/index.d.ts → types/ngx-axis-appforge-axis-components-time-line-design.d.ts} +0 -0
- /package/{axis-components/time-line/index.d.ts → types/ngx-axis-appforge-axis-components-time-line.d.ts} +0 -0
- /package/{axis-components/timer/design/index.d.ts → types/ngx-axis-appforge-axis-components-timer-design.d.ts} +0 -0
- /package/{axis-components/timer/index.d.ts → types/ngx-axis-appforge-axis-components-timer.d.ts} +0 -0
- /package/{axis-components/transfer/design/index.d.ts → types/ngx-axis-appforge-axis-components-transfer-design.d.ts} +0 -0
- /package/{axis-components/transfer/index.d.ts → types/ngx-axis-appforge-axis-components-transfer.d.ts} +0 -0
- /package/{axis-components/tree-selector/design/index.d.ts → types/ngx-axis-appforge-axis-components-tree-selector-design.d.ts} +0 -0
- /package/{axis-components/tree-selector/index.d.ts → types/ngx-axis-appforge-axis-components-tree-selector.d.ts} +0 -0
- /package/{axis-components/upload/design/index.d.ts → types/ngx-axis-appforge-axis-components-upload-design.d.ts} +0 -0
- /package/{axis-components/upload/index.d.ts → types/ngx-axis-appforge-axis-components-upload.d.ts} +0 -0
- /package/{axis-components/video/design/index.d.ts → types/ngx-axis-appforge-axis-components-video-design.d.ts} +0 -0
- /package/{axis-components/video/index.d.ts → types/ngx-axis-appforge-axis-components-video.d.ts} +0 -0
- /package/{axis-components/index.d.ts → types/ngx-axis-appforge-axis-components.d.ts} +0 -0
- /package/{providers/index.d.ts → types/ngx-axis-appforge-providers.d.ts} +0 -0
- /package/{index.d.ts → types/ngx-axis-appforge.d.ts} +0 -0
|
@@ -9,20 +9,20 @@ import * as i3 from '@angular/forms';
|
|
|
9
9
|
import { FormsModule } from '@angular/forms';
|
|
10
10
|
|
|
11
11
|
class SingleSelectorOptions extends ValueAccessOptions {
|
|
12
|
-
labelField = signal("title", ...(ngDevMode ? [{ debugName: "labelField" }] : []));
|
|
13
|
-
valueField = signal("key", ...(ngDevMode ? [{ debugName: "valueField" }] : []));
|
|
14
|
-
fullValue = signal(false, ...(ngDevMode ? [{ debugName: "fullValue" }] : []));
|
|
15
|
-
defaultFirst = signal(false, ...(ngDevMode ? [{ debugName: "defaultFirst" }] : []));
|
|
16
|
-
autofocus = signal(false, ...(ngDevMode ? [{ debugName: "autofocus" }] : []));
|
|
17
|
-
data = signal(undefined, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
18
|
-
type = signal("selector", ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
19
|
-
showAll = signal(false, ...(ngDevMode ? [{ debugName: "showAll" }] : []));
|
|
20
|
-
allowClear = signal(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : []));
|
|
21
|
-
placeholder = signal("", ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
22
|
-
showSearch = signal(true, ...(ngDevMode ? [{ debugName: "showSearch" }] : []));
|
|
23
|
-
selectOnSearch = signal(false, ...(ngDevMode ? [{ debugName: "selectOnSearch" }] : []));
|
|
24
|
-
backendSearch = signal(false, ...(ngDevMode ? [{ debugName: "backendSearch" }] : []));
|
|
25
|
-
searchLimitLength = signal(null, ...(ngDevMode ? [{ debugName: "searchLimitLength" }] : []));
|
|
12
|
+
labelField = signal("title", ...(ngDevMode ? [{ debugName: "labelField" }] : /* istanbul ignore next */ []));
|
|
13
|
+
valueField = signal("key", ...(ngDevMode ? [{ debugName: "valueField" }] : /* istanbul ignore next */ []));
|
|
14
|
+
fullValue = signal(false, ...(ngDevMode ? [{ debugName: "fullValue" }] : /* istanbul ignore next */ []));
|
|
15
|
+
defaultFirst = signal(false, ...(ngDevMode ? [{ debugName: "defaultFirst" }] : /* istanbul ignore next */ []));
|
|
16
|
+
autofocus = signal(false, ...(ngDevMode ? [{ debugName: "autofocus" }] : /* istanbul ignore next */ []));
|
|
17
|
+
data = signal(undefined, ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
18
|
+
type = signal("selector", ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
19
|
+
showAll = signal(false, ...(ngDevMode ? [{ debugName: "showAll" }] : /* istanbul ignore next */ []));
|
|
20
|
+
allowClear = signal(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
|
|
21
|
+
placeholder = signal("", ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
22
|
+
showSearch = signal(true, ...(ngDevMode ? [{ debugName: "showSearch" }] : /* istanbul ignore next */ []));
|
|
23
|
+
selectOnSearch = signal(false, ...(ngDevMode ? [{ debugName: "selectOnSearch" }] : /* istanbul ignore next */ []));
|
|
24
|
+
backendSearch = signal(false, ...(ngDevMode ? [{ debugName: "backendSearch" }] : /* istanbul ignore next */ []));
|
|
25
|
+
searchLimitLength = signal(null, ...(ngDevMode ? [{ debugName: "searchLimitLength" }] : /* istanbul ignore next */ []));
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
class SingleSelector extends ValueAccess {
|
|
@@ -51,10 +51,10 @@ class SingleSelector extends ValueAccess {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
options = new SingleSelectorOptions();
|
|
54
|
-
displayValue = signal(undefined, ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
|
|
55
|
-
loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
|
|
56
|
-
selectorValue = model(...(ngDevMode ? [undefined, { debugName: "selectorValue" }] : []));
|
|
57
|
-
searchText = signal("", ...(ngDevMode ? [{ debugName: "searchText" }] : []));
|
|
54
|
+
displayValue = signal(undefined, ...(ngDevMode ? [{ debugName: "displayValue" }] : /* istanbul ignore next */ []));
|
|
55
|
+
loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
56
|
+
selectorValue = model(...(ngDevMode ? [undefined, { debugName: "selectorValue" }] : /* istanbul ignore next */ []));
|
|
57
|
+
searchText = signal("", ...(ngDevMode ? [{ debugName: "searchText" }] : /* istanbul ignore next */ []));
|
|
58
58
|
writeValue(value) {
|
|
59
59
|
super.writeValue(value);
|
|
60
60
|
this.valueToSelectorValue();
|
|
@@ -90,10 +90,10 @@ class SingleSelector extends ValueAccess {
|
|
|
90
90
|
}
|
|
91
91
|
searchChange(input) {
|
|
92
92
|
}
|
|
93
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
93
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SingleSelector, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SingleSelector, isStandalone: true, selector: "axis-single-selector", inputs: { selectorValue: { classPropertyName: "selectorValue", publicName: "selectorValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectorValue: "selectorValueChange" }, usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n@if (options.type() == 'selector') {\n<nz-select #select [nzLoading]=\"loading()\" [nzAutoFocus]=\"options.autofocus()\" [nzShowSearch]=\"options.showSearch()\"\n [nzDisabled]=\"options.disabled()\" [nzPlaceHolder]=\"options.placeholder()\" [(ngModel)]=\"selectorValue\"\n (ngModelChange)=\"onSelectorChange($event)\" [nzAllowClear]=\"options.allowClear()\" (nzOnSearch)=\"searchChange($event)\"\n [nzDropdownStyle]=\"{display:(!options.showSearch() || !options.selectOnSearch() || (searchText() && searchText().length >= (options.searchLimitLength() || 1)))?'':'none'}\"\n [nzServerSearch]=\"options.backendSearch()\">\n @if (loading()) {\n <nz-option nzDisabled nzCustomContent>\n @if (searchText() && searchText().length >= (options.searchLimitLength() || 1)) {\n <span nz-icon nzType=\"loading\"></span>\n \u52A0\u8F7D\u4E2D...\n }@else {\n <div style=\"color: rgba(0, 0, 0, 0.8);\">\n <span nz-icon nzType=\"info-circle\"></span>\n \u81F3\u5C11\u8F93\u5165{{options.searchLimitLength() || 1}}\u4E2A\u5B57\u7B26\n </div>\n }\n </nz-option>\n }@else {\n @if (options.showAll()) {\n <nz-option nzValue=\"\" nzLabel=\"\u5168\u90E8\"></nz-option>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <nz-option [nzValue]=\"o[options.valueField()]\" [nzLabel]=\"o[options.labelField()]\"></nz-option>\n }\n }\n</nz-select>\n}@else {\n<nz-radio-group [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectorValue\" (ngModelChange)=\"onSelectorChange($event)\"\n nzButtonStyle=\"solid\">\n @if (options.type() == 'radio') {\n @if (options.showAll()) {\n <label nz-radio nzValue=\"\">\u5168\u90E8</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }@else {\n @if (options.showAll()) {\n <label nz-radio-button nz-radio nzValue=\"\">\u5168\u90E8</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio-button nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}\n}", styles: [":host{display:block;width:100%}nz-select{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i1.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", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i2.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SingleSelector, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: 'axis-single-selector', imports: [NzSelectModule, NzRadioModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n@if (options.type() == 'selector') {\n<nz-select #select [nzLoading]=\"loading()\" [nzAutoFocus]=\"options.autofocus()\" [nzShowSearch]=\"options.showSearch()\"\n [nzDisabled]=\"options.disabled()\" [nzPlaceHolder]=\"options.placeholder()\" [(ngModel)]=\"selectorValue\"\n (ngModelChange)=\"onSelectorChange($event)\" [nzAllowClear]=\"options.allowClear()\" (nzOnSearch)=\"searchChange($event)\"\n [nzDropdownStyle]=\"{display:(!options.showSearch() || !options.selectOnSearch() || (searchText() && searchText().length >= (options.searchLimitLength() || 1)))?'':'none'}\"\n [nzServerSearch]=\"options.backendSearch()\">\n @if (loading()) {\n <nz-option nzDisabled nzCustomContent>\n @if (searchText() && searchText().length >= (options.searchLimitLength() || 1)) {\n <span nz-icon nzType=\"loading\"></span>\n \u52A0\u8F7D\u4E2D...\n }@else {\n <div style=\"color: rgba(0, 0, 0, 0.8);\">\n <span nz-icon nzType=\"info-circle\"></span>\n \u81F3\u5C11\u8F93\u5165{{options.searchLimitLength() || 1}}\u4E2A\u5B57\u7B26\n </div>\n }\n </nz-option>\n }@else {\n @if (options.showAll()) {\n <nz-option nzValue=\"\" nzLabel=\"\u5168\u90E8\"></nz-option>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <nz-option [nzValue]=\"o[options.valueField()]\" [nzLabel]=\"o[options.labelField()]\"></nz-option>\n }\n }\n</nz-select>\n}@else {\n<nz-radio-group [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectorValue\" (ngModelChange)=\"onSelectorChange($event)\"\n nzButtonStyle=\"solid\">\n @if (options.type() == 'radio') {\n @if (options.showAll()) {\n <label nz-radio nzValue=\"\">\u5168\u90E8</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }@else {\n @if (options.showAll()) {\n <label nz-radio-button nz-radio nzValue=\"\">\u5168\u90E8</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio-button nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}\n}", styles: [":host{display:block;width:100%}nz-select{width:100%}\n"] }]
|
|
99
99
|
}], ctorParameters: () => [], propDecorators: { selectorValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectorValue", required: false }] }, { type: i0.Output, args: ["selectorValueChange"] }] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-axis-appforge-axis-components-single-selector.mjs","sources":["../../../axis-components/single-selector/single-selector.options.ts","../../../axis-components/single-selector/single-selector.ts","../../../axis-components/single-selector/single-selector.html","../../../axis-components/single-selector/ngx-axis-appforge-axis-components-single-selector.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class SingleSelectorOptions extends ValueAccessOptions {\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly fullValue = signal(false);\n readonly defaultFirst = signal(false);\n readonly autofocus = signal(false);\n readonly data = signal<any>(undefined);\n\n readonly type = signal<\"selector\" | \"radio\" | \"button\">(\"selector\");\n readonly showAll = signal(false);\n readonly allowClear = signal(true);\n readonly placeholder = signal(\"\");\n\n readonly showSearch = signal(true);\n readonly selectOnSearch = signal(false);\n readonly backendSearch = signal(false);\n readonly searchLimitLength = signal<number | null>(null);\n}","import { ChangeDetectionStrategy, Component, effect, model, signal, untracked } from '@angular/core';\nimport { SingleSelectorOptions } from './single-selector.options';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axis-single-selector',\n imports: [NzSelectModule, NzRadioModule, FormsModule],\n templateUrl: './single-selector.html',\n styleUrl: './single-selector.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SingleSelector extends ValueAccess<SingleSelectorOptions> {\n\n constructor() {\n super();\n effect(() => {\n const data = this.options.data();\n if (Array.isArray(data) && data.length) {\n untracked(() => {\n if (this.selectorValue() != null && data.every(r => r[this.options.valueField()] != this.selectorValue()) && !this.options.defaultFirst()) {\n this.setInitValue(null);\n } else if (this.options.defaultFirst()) {\n if (this.options.fullValue()) {\n this.setInitValue(data[0]);\n } else {\n this.setInitValue(data[0][this.options.valueField()]);\n }\n }\n })\n } else {\n this.setInitValue(null);\n }\n });\n }\n override options: SingleSelectorOptions = new SingleSelectorOptions();\n\n readonly displayValue = signal<any>(undefined);\n readonly loading = signal(false);\n readonly selectorValue = model<any>();\n readonly searchText = signal<string>(\"\");\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToSelectorValue();\n }\n\n override setInitValue(value: any): void {\n if(this.options.id == \"axis-components/tree-selector#3\"){\n debugger\n }\n super.setInitValue(value);\n this.valueToSelectorValue();\n }\n\n private valueToSelectorValue() {\n if (this.value() != undefined) {\n if (this.options.fullValue()) {\n this.selectorValue.set(this.value()[this.options.valueField()]);\n } else {\n this.selectorValue.set(this.value());\n }\n } else {\n this.selectorValue.set(undefined);\n }\n }\n\n onSelectorChange(value: any) {\n if (this.options.fullValue()) {\n this.value.set(this.options.data().find((item: any) => item[this.options.valueField()] == value));\n } else {\n this.value.set(value);\n }\n this.onChange?.(this.value());\n }\n\n searchChange(input: string) {\n\n }\n}\n","@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n@if (options.type() == 'selector') {\n<nz-select #select [nzLoading]=\"loading()\" [nzAutoFocus]=\"options.autofocus()\" [nzShowSearch]=\"options.showSearch()\"\n [nzDisabled]=\"options.disabled()\" [nzPlaceHolder]=\"options.placeholder()\" [(ngModel)]=\"selectorValue\"\n (ngModelChange)=\"onSelectorChange($event)\" [nzAllowClear]=\"options.allowClear()\" (nzOnSearch)=\"searchChange($event)\"\n [nzDropdownStyle]=\"{display:(!options.showSearch() || !options.selectOnSearch() || (searchText() && searchText().length >= (options.searchLimitLength() || 1)))?'':'none'}\"\n [nzServerSearch]=\"options.backendSearch()\">\n @if (loading()) {\n <nz-option nzDisabled nzCustomContent>\n @if (searchText() && searchText().length >= (options.searchLimitLength() || 1)) {\n <span nz-icon nzType=\"loading\"></span>\n 加载中...\n }@else {\n <div style=\"color: rgba(0, 0, 0, 0.8);\">\n <span nz-icon nzType=\"info-circle\"></span>\n 至少输入{{options.searchLimitLength() || 1}}个字符\n </div>\n }\n </nz-option>\n }@else {\n @if (options.showAll()) {\n <nz-option nzValue=\"\" nzLabel=\"全部\"></nz-option>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <nz-option [nzValue]=\"o[options.valueField()]\" [nzLabel]=\"o[options.labelField()]\"></nz-option>\n }\n }\n</nz-select>\n}@else {\n<nz-radio-group [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectorValue\" (ngModelChange)=\"onSelectorChange($event)\"\n nzButtonStyle=\"solid\">\n @if (options.type() == 'radio') {\n @if (options.showAll()) {\n <label nz-radio nzValue=\"\">全部</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }@else {\n @if (options.showAll()) {\n <label nz-radio-button nz-radio nzValue=\"\">全部</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio-button nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './single-selector';\n"],"names":[],"mappings":";;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAEhD,IAAA,UAAU,GAAG,MAAM,CAAC,OAAO,sDAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,sDAAC;AAC1B,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,qDAAC;AACzB,IAAA,YAAY,GAAG,MAAM,CAAC,KAAK,wDAAC;AAC5B,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,qDAAC;AACzB,IAAA,IAAI,GAAG,MAAM,CAAM,SAAS,gDAAC;AAE7B,IAAA,IAAI,GAAG,MAAM,CAAkC,UAAU,gDAAC;AAC1D,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uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6wEAAA,EAAA,MAAA,EAAA,CAAA,wDAAA,CAAA,EAAA;;;AEZjD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-single-selector.mjs","sources":["../../../axis-components/single-selector/single-selector.options.ts","../../../axis-components/single-selector/single-selector.ts","../../../axis-components/single-selector/single-selector.html","../../../axis-components/single-selector/ngx-axis-appforge-axis-components-single-selector.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class SingleSelectorOptions extends ValueAccessOptions {\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly fullValue = signal(false);\n readonly defaultFirst = signal(false);\n readonly autofocus = signal(false);\n readonly data = signal<any>(undefined);\n\n readonly type = signal<\"selector\" | \"radio\" | \"button\">(\"selector\");\n readonly showAll = signal(false);\n readonly allowClear = signal(true);\n readonly placeholder = signal(\"\");\n\n readonly showSearch = signal(true);\n readonly selectOnSearch = signal(false);\n readonly backendSearch = signal(false);\n readonly searchLimitLength = signal<number | null>(null);\n}","import { ChangeDetectionStrategy, Component, effect, model, signal, untracked } from '@angular/core';\nimport { SingleSelectorOptions } from './single-selector.options';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axis-single-selector',\n imports: [NzSelectModule, NzRadioModule, FormsModule],\n templateUrl: './single-selector.html',\n styleUrl: './single-selector.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SingleSelector extends ValueAccess<SingleSelectorOptions> {\n\n constructor() {\n super();\n effect(() => {\n const data = this.options.data();\n if (Array.isArray(data) && data.length) {\n untracked(() => {\n if (this.selectorValue() != null && data.every(r => r[this.options.valueField()] != this.selectorValue()) && !this.options.defaultFirst()) {\n this.setInitValue(null);\n } else if (this.options.defaultFirst()) {\n if (this.options.fullValue()) {\n this.setInitValue(data[0]);\n } else {\n this.setInitValue(data[0][this.options.valueField()]);\n }\n }\n })\n } else {\n this.setInitValue(null);\n }\n });\n }\n override options: SingleSelectorOptions = new SingleSelectorOptions();\n\n readonly displayValue = signal<any>(undefined);\n readonly loading = signal(false);\n readonly selectorValue = model<any>();\n readonly searchText = signal<string>(\"\");\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToSelectorValue();\n }\n\n override setInitValue(value: any): void {\n if(this.options.id == \"axis-components/tree-selector#3\"){\n debugger\n }\n super.setInitValue(value);\n this.valueToSelectorValue();\n }\n\n private valueToSelectorValue() {\n if (this.value() != undefined) {\n if (this.options.fullValue()) {\n this.selectorValue.set(this.value()[this.options.valueField()]);\n } else {\n this.selectorValue.set(this.value());\n }\n } else {\n this.selectorValue.set(undefined);\n }\n }\n\n onSelectorChange(value: any) {\n if (this.options.fullValue()) {\n this.value.set(this.options.data().find((item: any) => item[this.options.valueField()] == value));\n } else {\n this.value.set(value);\n }\n this.onChange?.(this.value());\n }\n\n searchChange(input: string) {\n\n }\n}\n","@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n@if (options.type() == 'selector') {\n<nz-select #select [nzLoading]=\"loading()\" [nzAutoFocus]=\"options.autofocus()\" [nzShowSearch]=\"options.showSearch()\"\n [nzDisabled]=\"options.disabled()\" [nzPlaceHolder]=\"options.placeholder()\" [(ngModel)]=\"selectorValue\"\n (ngModelChange)=\"onSelectorChange($event)\" [nzAllowClear]=\"options.allowClear()\" (nzOnSearch)=\"searchChange($event)\"\n [nzDropdownStyle]=\"{display:(!options.showSearch() || !options.selectOnSearch() || (searchText() && searchText().length >= (options.searchLimitLength() || 1)))?'':'none'}\"\n [nzServerSearch]=\"options.backendSearch()\">\n @if (loading()) {\n <nz-option nzDisabled nzCustomContent>\n @if (searchText() && searchText().length >= (options.searchLimitLength() || 1)) {\n <span nz-icon nzType=\"loading\"></span>\n 加载中...\n }@else {\n <div style=\"color: rgba(0, 0, 0, 0.8);\">\n <span nz-icon nzType=\"info-circle\"></span>\n 至少输入{{options.searchLimitLength() || 1}}个字符\n </div>\n }\n </nz-option>\n }@else {\n @if (options.showAll()) {\n <nz-option nzValue=\"\" nzLabel=\"全部\"></nz-option>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <nz-option [nzValue]=\"o[options.valueField()]\" [nzLabel]=\"o[options.labelField()]\"></nz-option>\n }\n }\n</nz-select>\n}@else {\n<nz-radio-group [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectorValue\" (ngModelChange)=\"onSelectorChange($event)\"\n nzButtonStyle=\"solid\">\n @if (options.type() == 'radio') {\n @if (options.showAll()) {\n <label nz-radio nzValue=\"\">全部</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }@else {\n @if (options.showAll()) {\n <label nz-radio-button nz-radio nzValue=\"\">全部</label>\n }\n @for (o of options.data(); track o[options.valueField()]) {\n <label nz-radio-button nz-radio [nzValue]=\"o[options.valueField()]\">{{o[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './single-selector';\n"],"names":[],"mappings":";;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAEhD,IAAA,UAAU,GAAG,MAAM,CAAC,OAAO,iFAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,iFAAC;AAC1B,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,gFAAC;AACzB,IAAA,YAAY,GAAG,MAAM,CAAC,KAAK,mFAAC;AAC5B,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,gFAAC;AACzB,IAAA,IAAI,GAAG,MAAM,CAAM,SAAS,2EAAC;AAE7B,IAAA,IAAI,GAAG,MAAM,CAAkC,UAAU,2EAAC;AAC1D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AAC,MAAM,EAAA,QAAA,EAAA,6wEAAA,EAAA,MAAA,EAAA,CAAA,wDAAA,CAAA,EAAA;;;AEZjD;;AAEG;;;;"}
|
|
@@ -17,7 +17,7 @@ import { NzInputModule } from 'ng-zorro-antd/input';
|
|
|
17
17
|
import * as i3$1 from 'ng-zorro-antd/divider';
|
|
18
18
|
import { NzDividerModule } from 'ng-zorro-antd/divider';
|
|
19
19
|
import * as i2$1 from 'ng-zorro-antd/dropdown';
|
|
20
|
-
import {
|
|
20
|
+
import { NzDropdownModule } from 'ng-zorro-antd/dropdown';
|
|
21
21
|
import * as i4$1 from 'ng-zorro-antd/icon';
|
|
22
22
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
23
23
|
import * as i1$1 from 'ng-zorro-antd/menu';
|
|
@@ -34,10 +34,10 @@ class SplitterSetting extends FunFieldValueBase {
|
|
|
34
34
|
defaultValue: false
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterSetting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: SplitterSetting, isStandalone: true, selector: "axis-design-splitter-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 \u6392\u5217\u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-radio-group formControlName=\"direction\">\n <label nz-radio-button nzValue=\"horizontal\">\u6C34\u5E73</label>\n <label nz-radio-button nzValue=\"vertical\">\u5782\u76F4</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5EF6\u8FDF\u6E32\u67D3\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"lazy\">\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 <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],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: 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: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { 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: "component", type: i5.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i5.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i6.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterSetting, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'axis-design-splitter-setting', imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzRadioModule, BaseDesignSetting, NzSwitchModule], 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 \u6392\u5217\u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-radio-group formControlName=\"direction\">\n <label nz-radio-button nzValue=\"horizontal\">\u6C34\u5E73</label>\n <label nz-radio-button nzValue=\"vertical\">\u5782\u76F4</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5EF6\u8FDF\u6E32\u67D3\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"lazy\">\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 <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
43
43
|
}] });
|
|
@@ -71,10 +71,10 @@ class SplitterPanelSetting extends FunFieldValueBase {
|
|
|
71
71
|
defaultValue: true
|
|
72
72
|
},
|
|
73
73
|
};
|
|
74
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterPanelSetting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: SplitterPanelSetting, isStandalone: true, selector: "axis-design-splitter-panel-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 \u662F\u5426\u53EF\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\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-form-item>\n <nz-form-label nzSpan=\"8\">\n \u9ED8\u8BA4\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"defaultSize\">\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 \u6700\u5C0F\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\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 \u6700\u5927\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\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 \u5FEB\u901F\u6298\u53E0\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"collapsible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u62D6\u62FD\u4F38\u7F29\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"resizable\">\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>\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],[formArray],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: 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: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "component", type: NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterPanelSetting, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{ selector: 'axis-design-splitter-panel-setting', imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzInputModule, NzSwitchComponent], 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 \u662F\u5426\u53EF\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\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-form-item>\n <nz-form-label nzSpan=\"8\">\n \u9ED8\u8BA4\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"defaultSize\">\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 \u6700\u5C0F\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\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 \u6700\u5927\u5BBD\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\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 \u5FEB\u901F\u6298\u53E0\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"collapsible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u62D6\u62FD\u4F38\u7F29\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"resizable\">\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>\n</form>" }]
|
|
80
80
|
}] });
|
|
@@ -86,12 +86,12 @@ class SplitterMenu extends BaseMenu {
|
|
|
86
86
|
});
|
|
87
87
|
this.onChange?.({ nextNodeId: `${this.optionsNodes.parent?.id}.${this.optionsNodes.current.options.panels.length - 1}`, historyDesc: "添加分隔板" });
|
|
88
88
|
}
|
|
89
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
90
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
89
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterMenu, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: SplitterMenu, isStandalone: true, selector: "axis-design-splitter-menu", usesInheritance: true, ngImport: i0, template: "<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addPanel()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>\u6DFB\u52A0\u9762\u677F</span>\n </li>\n <axis-common-menu [baseMenu]=\"this\"></axis-common-menu>\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"] }, { kind: "component", type: CommonMenu, selector: "axis-common-menu", inputs: ["baseMenu"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
91
91
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SplitterMenu, decorators: [{
|
|
93
93
|
type: Component,
|
|
94
|
-
args: [{ selector: 'axis-design-splitter-menu', imports: [
|
|
94
|
+
args: [{ selector: 'axis-design-splitter-menu', imports: [NzDropdownModule, NzDividerModule, NzIconModule, CommonMenu], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addPanel()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>\u6DFB\u52A0\u9762\u677F</span>\n </li>\n <axis-common-menu [baseMenu]=\"this\"></axis-common-menu>\n </ul>\n</nz-dropdown-menu>" }]
|
|
95
95
|
}] });
|
|
96
96
|
|
|
97
97
|
const Config = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-axis-appforge-axis-components-splitter-design.mjs","sources":["../../../axis-components/splitter/design/splitter-setting/splitter-setting.ts","../../../axis-components/splitter/design/splitter-setting/splitter-setting.html","../../../axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.ts","../../../axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.html","../../../axis-components/splitter/design/splitter-menu/splitter-menu.ts","../../../axis-components/splitter/design/splitter-menu/splitter-menu.html","../../../axis-components/splitter/design/config.ts","../../../axis-components/splitter/design/ngx-axis-appforge-axis-components-splitter-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 { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-splitter-setting',\n imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzRadioModule, BaseDesignSetting, NzSwitchModule],\n templateUrl: './splitter-setting.html',\n styleUrl: './splitter-setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterSetting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n direction: [\"horizontal\", FormValidators.required],\n lazy: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n lazy: {\n defaultValue: false\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 <nz-radio-group formControlName=\"direction\">\n <label nz-radio-button nzValue=\"horizontal\">水平</label>\n <label nz-radio-button nzValue=\"vertical\">垂直</label>\n </nz-radio-group>\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=\"lazy\">\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 <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","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 { FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\nimport { NzSwitchComponent } from \"ng-zorro-antd/switch\";\n\n@Component({\n selector: 'axis-design-splitter-panel-setting',\n imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzInputModule, NzSwitchComponent],\n templateUrl: './splitter-panel-setting.html',\n styleUrl: './splitter-panel-setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterPanelSetting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n inuse: [undefined, FormValidators.requiredFun],\n defaultSize: [],\n min: [],\n max: [],\n collapsible: [undefined, FormValidators.requiredFun],\n resizable: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n inuse: {\n defaultValue: true\n },\n defaultSize: {\n defaultValue: undefined\n },\n min: {\n defaultValue: undefined\n },\n max: {\n defaultValue: undefined\n },\n collapsible: {\n defaultValue: true\n },\n resizable: {\n defaultValue: true\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 <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-form-item>\n <nz-form-label nzSpan=\"8\">\n 默认宽度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"defaultSize\">\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=\"min\">\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=\"max\">\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=\"collapsible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 拖拽伸缩\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"resizable\">\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>\n</form>","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { NzDividerModule } from 'ng-zorro-antd/divider';\nimport { NzDropDownModule } from 'ng-zorro-antd/dropdown';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { BaseMenu, CommonMenu } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-splitter-menu',\n imports: [NzDropDownModule, NzDividerModule, NzIconModule, CommonMenu],\n templateUrl: './splitter-menu.html',\n styleUrl: './splitter-menu.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterMenu extends BaseMenu {\n\n addPanel() {\n this.optionsNodes.current.options.panels.push({\n inuse: true,\n });\n this.onChange?.({ nextNodeId: `${this.optionsNodes.parent?.id}.${this.optionsNodes.current.options.panels.length - 1}`, historyDesc: \"添加分隔板\" });\n }\n}\n","<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addPanel()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>添加面板</span>\n </li>\n <axis-common-menu [baseMenu]=\"this\"></axis-common-menu>\n </ul>\n</nz-dropdown-menu>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { SplitterSetting } from \"./splitter-setting/splitter-setting\";\nimport { SplitterPanelSetting } from \"./splitter-panel-setting/splitter-panel-setting\";\nimport { SplitterMenu } from \"./splitter-menu/splitter-menu\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"分隔面板\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n const next: NextInfo[] = [];\n const children: OptionsNode[] = [];\n nextInfo.currentObject.panels?.forEach((p: any, i: number) => {\n next.push({\n parentId: nextInfo.currentObject.id + \".\" + i,\n parentObject: p,\n indexOfParent: \"child\",\n scopeId: nextInfo.scopeId\n });\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".\" + i,\n scopeId: nextInfo.scopeId,\n parentId: nextInfo.currentObject.id,\n parentObj: nextInfo.currentObject.panels,\n indexOfParentObj: i,\n rootOptions: p,\n name: `面板[${i + 1}]`,\n icon: \"border-right\",\n canSetting: true,\n settingType: SplitterPanelSetting,\n contextMenu: SimpleMenu,\n canDrag: true,\n dragType: \"axis-components/splitter/splitter-panel\",\n canDrop: true,\n dropType: \"component\",\n dropObj: p,\n defaultDropIndex: \"child\",\n children: []\n }));\n });\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"分隔面板\",\n children: children,\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n canDrop: true,\n childDirection: nextInfo.currentObject.direction,\n dropType: \"axis-components/splitter/splitter-panel\",\n dropObj: nextInfo.currentObject.panels,\n defaultDropIndex: nextInfo.currentObject.panels.length,\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: SplitterSetting,\n contextMenu: SplitterMenu,\n icon: \"border-horizontal\"\n }),\n next: next\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n const res: DesignBindElementsResult = {\n [options.id]: {\n element: element,\n dropElement: element\n }\n };\n const panels = element.querySelectorAll(\".ant-splitter-panel>div[data-index]\");\n panels.forEach((e) => {\n const element = e.parentElement;\n res[`${options.id}.${(e as HTMLElement).dataset['index']}`] = {\n element: element!,\n dropElement: element!\n }\n });\n return res;\n },\n};\n\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,eAAgB,SAAQ,iBAAiB,CAAA;AAE3C,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,SAAS,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClD,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC9C,KAAA,CAAC;AAEiB,IAAA,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js","sources":["../../../axis-components/splitter/design/splitter-setting/splitter-setting.ts","../../../axis-components/splitter/design/splitter-setting/splitter-setting.html","../../../axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.ts","../../../axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.html","../../../axis-components/splitter/design/splitter-menu/splitter-menu.ts","../../../axis-components/splitter/design/splitter-menu/splitter-menu.html","../../../axis-components/splitter/design/config.ts","../../../axis-components/splitter/design/ngx-axis-appforge-axis-components-splitter-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 { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-splitter-setting',\n imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzRadioModule, BaseDesignSetting, NzSwitchModule],\n templateUrl: './splitter-setting.html',\n styleUrl: './splitter-setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterSetting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n direction: [\"horizontal\", FormValidators.required],\n lazy: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n lazy: {\n defaultValue: false\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 <nz-radio-group formControlName=\"direction\">\n <label nz-radio-button nzValue=\"horizontal\">水平</label>\n <label nz-radio-button nzValue=\"vertical\">垂直</label>\n </nz-radio-group>\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=\"lazy\">\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 <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","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 { FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\nimport { NzSwitchComponent } from \"ng-zorro-antd/switch\";\n\n@Component({\n selector: 'axis-design-splitter-panel-setting',\n imports: [FormsModule, ReactiveFormsModule, NzFormModule, NzCollapseModule, FunField, NzInputModule, NzSwitchComponent],\n templateUrl: './splitter-panel-setting.html',\n styleUrl: './splitter-panel-setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterPanelSetting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n inuse: [undefined, FormValidators.requiredFun],\n defaultSize: [],\n min: [],\n max: [],\n collapsible: [undefined, FormValidators.requiredFun],\n resizable: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n inuse: {\n defaultValue: true\n },\n defaultSize: {\n defaultValue: undefined\n },\n min: {\n defaultValue: undefined\n },\n max: {\n defaultValue: undefined\n },\n collapsible: {\n defaultValue: true\n },\n resizable: {\n defaultValue: true\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 <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-form-item>\n <nz-form-label nzSpan=\"8\">\n 默认宽度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"defaultSize\">\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=\"min\">\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=\"max\">\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=\"collapsible\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 拖拽伸缩\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"resizable\">\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>\n</form>","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { NzDividerModule } from 'ng-zorro-antd/divider';\nimport { NzDropdownModule } from 'ng-zorro-antd/dropdown';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { BaseMenu, CommonMenu } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-splitter-menu',\n imports: [NzDropdownModule, NzDividerModule, NzIconModule, CommonMenu],\n templateUrl: './splitter-menu.html',\n styleUrl: './splitter-menu.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SplitterMenu extends BaseMenu {\n\n addPanel() {\n this.optionsNodes.current.options.panels.push({\n inuse: true,\n });\n this.onChange?.({ nextNodeId: `${this.optionsNodes.parent?.id}.${this.optionsNodes.current.options.panels.length - 1}`, historyDesc: \"添加分隔板\" });\n }\n}\n","<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item (click)=\"addPanel()\">\n <i nz-icon nzType=\"plus\" nzTheme=\"outline\"></i>\n <nz-divider nzType=\"vertical\"></nz-divider>\n <span>添加面板</span>\n </li>\n <axis-common-menu [baseMenu]=\"this\"></axis-common-menu>\n </ul>\n</nz-dropdown-menu>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { SplitterSetting } from \"./splitter-setting/splitter-setting\";\nimport { SplitterPanelSetting } from \"./splitter-panel-setting/splitter-panel-setting\";\nimport { SplitterMenu } from \"./splitter-menu/splitter-menu\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"分隔面板\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n const next: NextInfo[] = [];\n const children: OptionsNode[] = [];\n nextInfo.currentObject.panels?.forEach((p: any, i: number) => {\n next.push({\n parentId: nextInfo.currentObject.id + \".\" + i,\n parentObject: p,\n indexOfParent: \"child\",\n scopeId: nextInfo.scopeId\n });\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".\" + i,\n scopeId: nextInfo.scopeId,\n parentId: nextInfo.currentObject.id,\n parentObj: nextInfo.currentObject.panels,\n indexOfParentObj: i,\n rootOptions: p,\n name: `面板[${i + 1}]`,\n icon: \"border-right\",\n canSetting: true,\n settingType: SplitterPanelSetting,\n contextMenu: SimpleMenu,\n canDrag: true,\n dragType: \"axis-components/splitter/splitter-panel\",\n canDrop: true,\n dropType: \"component\",\n dropObj: p,\n defaultDropIndex: \"child\",\n children: []\n }));\n });\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"分隔面板\",\n children: children,\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n canDrop: true,\n childDirection: nextInfo.currentObject.direction,\n dropType: \"axis-components/splitter/splitter-panel\",\n dropObj: nextInfo.currentObject.panels,\n defaultDropIndex: nextInfo.currentObject.panels.length,\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: SplitterSetting,\n contextMenu: SplitterMenu,\n icon: \"border-horizontal\"\n }),\n next: next\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n const res: DesignBindElementsResult = {\n [options.id]: {\n element: element,\n dropElement: element\n }\n };\n const panels = element.querySelectorAll(\".ant-splitter-panel>div[data-index]\");\n panels.forEach((e) => {\n const element = e.parentElement;\n res[`${options.id}.${(e as HTMLElement).dataset['index']}`] = {\n element: element!,\n dropElement: element!\n }\n });\n return res;\n },\n};\n\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,eAAgB,SAAQ,iBAAiB,CAAA;AAE3C,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA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GAAG;AAC1D,gBAAA,OAAO,EAAE,OAAQ;AACjB,gBAAA,WAAW,EAAE;aAChB;AACL,QAAA,CAAC,CAAC;AACF,QAAA,OAAO,GAAG;IACd,CAAC;;;AC/EL;;AAEG;;;;"}
|
|
@@ -5,18 +5,18 @@ import * as i1 from 'ng-zorro-antd/splitter';
|
|
|
5
5
|
import { NzSplitterModule } from 'ng-zorro-antd/splitter';
|
|
6
6
|
|
|
7
7
|
class SplitterOptions extends BaseOptions {
|
|
8
|
-
direction = signal("horizontal", ...(ngDevMode ? [{ debugName: "direction" }] : []));
|
|
9
|
-
lazy = signal(false, ...(ngDevMode ? [{ debugName: "lazy" }] : []));
|
|
10
|
-
panels = signal([], ...(ngDevMode ? [{ debugName: "panels" }] : []));
|
|
8
|
+
direction = signal("horizontal", ...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
|
|
9
|
+
lazy = signal(false, ...(ngDevMode ? [{ debugName: "lazy" }] : /* istanbul ignore next */ []));
|
|
10
|
+
panels = signal([], ...(ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []));
|
|
11
11
|
}
|
|
12
12
|
class SplitterPanelOptions {
|
|
13
|
-
inuse = signal(true, ...(ngDevMode ? [{ debugName: "inuse" }] : []));
|
|
14
|
-
defaultSize = signal(undefined, ...(ngDevMode ? [{ debugName: "defaultSize" }] : []));
|
|
15
|
-
min = signal(undefined, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
16
|
-
max = signal(undefined, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
17
|
-
collapsible = signal(true, ...(ngDevMode ? [{ debugName: "collapsible" }] : []));
|
|
18
|
-
resizable = signal(true, ...(ngDevMode ? [{ debugName: "resizable" }] : []));
|
|
19
|
-
child = signal(undefined, ...(ngDevMode ? [{ debugName: "child" }] : []));
|
|
13
|
+
inuse = signal(true, ...(ngDevMode ? [{ debugName: "inuse" }] : /* istanbul ignore next */ []));
|
|
14
|
+
defaultSize = signal(undefined, ...(ngDevMode ? [{ debugName: "defaultSize" }] : /* istanbul ignore next */ []));
|
|
15
|
+
min = signal(undefined, ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
|
|
16
|
+
max = signal(undefined, ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
17
|
+
collapsible = signal(true, ...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
|
|
18
|
+
resizable = signal(true, ...(ngDevMode ? [{ debugName: "resizable" }] : /* istanbul ignore next */ []));
|
|
19
|
+
child = signal(undefined, ...(ngDevMode ? [{ debugName: "child" }] : /* istanbul ignore next */ []));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
class Splitter extends Base {
|
|
@@ -29,7 +29,7 @@ class Splitter extends Base {
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
options = new SplitterOptions();
|
|
32
|
-
panels = computed(() => this.buildPanels(), ...(ngDevMode ? [{ debugName: "panels" }] : []));
|
|
32
|
+
panels = computed(() => this.buildPanels(), ...(ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []));
|
|
33
33
|
buildPanels() {
|
|
34
34
|
return this.options.panels().map(_ => new SplitterPanelOptions());
|
|
35
35
|
}
|
|
@@ -44,10 +44,10 @@ class Splitter extends Base {
|
|
|
44
44
|
}
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Splitter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: Splitter, isStandalone: true, selector: "axis-splitter", usesInheritance: true, ngImport: i0, template: "<nz-splitter [nzLayout]=\"options.direction()\" [nzLazy]=\"options.lazy()\">\n @for (item of panels(); track $index;let i=$index) {\n @if (item.inuse()) {\n <nz-splitter-panel [nzCollapsible]=\"item.collapsible()\" [nzDefaultSize]=\"convertSize(item.defaultSize())\"\n [nzMin]=\"convertSize(item.min())\" [nzMax]=\"convertSize(item.max())\" [nzResizable]=\"item.resizable()\">\n <div [attr.data-index]=\"i\" style=\"height: 100%;\">\n <ng-container [axisDynamic]=\"item.child()\"></ng-container>\n </div>\n </nz-splitter-panel>\n }\n }\n</nz-splitter>", styles: [":host{display:block;width:100%;height:100%;position:relative;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzSplitterModule }, { kind: "component", type: i1.NzSplitterComponent, selector: "nz-splitter", inputs: ["nzLayout", "nzLazy"], outputs: ["nzResizeStart", "nzResize", "nzResizeEnd"], exportAs: ["nzSplitter"] }, { kind: "component", type: i1.NzSplitterPanelComponent, selector: "nz-splitter-panel", inputs: ["nzDefaultSize", "nzMin", "nzMax", "nzSize", "nzCollapsible", "nzResizable"], exportAs: ["nzSplitterPanel"] }] });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Splitter, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: 'axis-splitter', imports: [DynamicDirective, NzSplitterModule], template: "<nz-splitter [nzLayout]=\"options.direction()\" [nzLazy]=\"options.lazy()\">\n @for (item of panels(); track $index;let i=$index) {\n @if (item.inuse()) {\n <nz-splitter-panel [nzCollapsible]=\"item.collapsible()\" [nzDefaultSize]=\"convertSize(item.defaultSize())\"\n [nzMin]=\"convertSize(item.min())\" [nzMax]=\"convertSize(item.max())\" [nzResizable]=\"item.resizable()\">\n <div [attr.data-index]=\"i\" style=\"height: 100%;\">\n <ng-container [axisDynamic]=\"item.child()\"></ng-container>\n </div>\n </nz-splitter-panel>\n }\n }\n</nz-splitter>", styles: [":host{display:block;width:100%;height:100%;position:relative;overflow:hidden}\n"] }]
|
|
53
53
|
}], ctorParameters: () => [] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-axis-appforge-axis-components-splitter.mjs","sources":["../../../axis-components/splitter/splitter.options.ts","../../../axis-components/splitter/splitter.ts","../../../axis-components/splitter/splitter.html","../../../axis-components/splitter/ngx-axis-appforge-axis-components-splitter.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions } from \"ngx-axis-appforge/core\";\n\nexport class SplitterOptions extends BaseOptions {\n readonly direction = signal<\"horizontal\" | \"vertical\">(\"horizontal\");\n readonly lazy = signal(false);\n readonly panels = signal<any[]>([]);\n}\n\nexport class SplitterPanelOptions {\n readonly inuse = signal(true);\n readonly defaultSize = signal<string | undefined>(undefined);\n readonly min = signal<string | undefined>(undefined);\n readonly max = signal<string | undefined>(undefined);\n readonly collapsible = signal(true);\n readonly resizable = signal(true);\n readonly child = signal<any>(undefined);\n}","import { Component, computed, effect } from '@angular/core';\nimport { SplitterOptions, SplitterPanelOptions } from './splitter.options';\nimport { DynamicDirective, Base } from 'ngx-axis-appforge/core';\nimport { NzSplitterModule } from 'ng-zorro-antd/splitter';\n\n@Component({\n selector: 'axis-splitter',\n imports: [DynamicDirective, NzSplitterModule],\n templateUrl: './splitter.html',\n styleUrl: './splitter.css'\n})\nexport class Splitter extends Base<SplitterOptions> {\n\n constructor() {\n super();\n effect(() => {\n this.panels().forEach((p, i) => {\n this.bindWithConfig(this.options.panels()[i], { options: p, tag: `bindPanels.${i}` });\n });\n });\n }\n\n override options: SplitterOptions = new SplitterOptions();\n readonly panels = computed(() => this.buildPanels());\n\n private buildPanels(): SplitterPanelOptions[] {\n return this.options.panels().map(_ => new SplitterPanelOptions());\n }\n\n convertSize(value: string | undefined): number | string | undefined {\n if (value) {\n if (value.endsWith(\"%\")) {\n return value;\n } else {\n return parseInt(value.replace(\"px\", \"\"));\n }\n }\n return undefined;\n }\n}\n","<nz-splitter [nzLayout]=\"options.direction()\" [nzLazy]=\"options.lazy()\">\n @for (item of panels(); track $index;let i=$index) {\n @if (item.inuse()) {\n <nz-splitter-panel [nzCollapsible]=\"item.collapsible()\" [nzDefaultSize]=\"convertSize(item.defaultSize())\"\n [nzMin]=\"convertSize(item.min())\" [nzMax]=\"convertSize(item.max())\" [nzResizable]=\"item.resizable()\">\n <div [attr.data-index]=\"i\" style=\"height: 100%;\">\n <ng-container [axisDynamic]=\"item.child()\"></ng-container>\n </div>\n </nz-splitter-panel>\n }\n }\n</nz-splitter>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './splitter';\n"],"names":[],"mappings":";;;;;;AAGM,MAAO,eAAgB,SAAQ,WAAW,CAAA;AACnC,IAAA,SAAS,GAAG,MAAM,CAA4B,YAAY,
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-splitter.mjs","sources":["../../../axis-components/splitter/splitter.options.ts","../../../axis-components/splitter/splitter.ts","../../../axis-components/splitter/splitter.html","../../../axis-components/splitter/ngx-axis-appforge-axis-components-splitter.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions } from \"ngx-axis-appforge/core\";\n\nexport class SplitterOptions extends BaseOptions {\n readonly direction = signal<\"horizontal\" | \"vertical\">(\"horizontal\");\n readonly lazy = signal(false);\n readonly panels = signal<any[]>([]);\n}\n\nexport class SplitterPanelOptions {\n readonly inuse = signal(true);\n readonly defaultSize = signal<string | undefined>(undefined);\n readonly min = signal<string | undefined>(undefined);\n readonly max = signal<string | undefined>(undefined);\n readonly collapsible = signal(true);\n readonly resizable = signal(true);\n readonly child = signal<any>(undefined);\n}","import { Component, computed, effect } from '@angular/core';\nimport { SplitterOptions, SplitterPanelOptions } from './splitter.options';\nimport { DynamicDirective, Base } from 'ngx-axis-appforge/core';\nimport { NzSplitterModule } from 'ng-zorro-antd/splitter';\n\n@Component({\n selector: 'axis-splitter',\n imports: [DynamicDirective, NzSplitterModule],\n templateUrl: './splitter.html',\n styleUrl: './splitter.css'\n})\nexport class Splitter extends Base<SplitterOptions> {\n\n constructor() {\n super();\n effect(() => {\n this.panels().forEach((p, i) => {\n this.bindWithConfig(this.options.panels()[i], { options: p, tag: `bindPanels.${i}` });\n });\n });\n }\n\n override options: SplitterOptions = new SplitterOptions();\n readonly panels = computed(() => this.buildPanels());\n\n private buildPanels(): SplitterPanelOptions[] {\n return this.options.panels().map(_ => new SplitterPanelOptions());\n }\n\n convertSize(value: string | undefined): number | string | undefined {\n if (value) {\n if (value.endsWith(\"%\")) {\n return value;\n } else {\n return parseInt(value.replace(\"px\", \"\"));\n }\n }\n return undefined;\n }\n}\n","<nz-splitter [nzLayout]=\"options.direction()\" [nzLazy]=\"options.lazy()\">\n @for (item of panels(); track $index;let i=$index) {\n @if (item.inuse()) {\n <nz-splitter-panel [nzCollapsible]=\"item.collapsible()\" [nzDefaultSize]=\"convertSize(item.defaultSize())\"\n [nzMin]=\"convertSize(item.min())\" [nzMax]=\"convertSize(item.max())\" [nzResizable]=\"item.resizable()\">\n <div [attr.data-index]=\"i\" style=\"height: 100%;\">\n <ng-container [axisDynamic]=\"item.child()\"></ng-container>\n </div>\n </nz-splitter-panel>\n }\n }\n</nz-splitter>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './splitter';\n"],"names":[],"mappings":";;;;;;AAGM,MAAO,eAAgB,SAAQ,WAAW,CAAA;AACnC,IAAA,SAAS,GAAG,MAAM,CAA4B,YAAY,gFAAC;AAC3D,IAAA,IAAI,GAAG,MAAM,CAAC,KAAK,2EAAC;AACpB,IAAA,MAAM,GAAG,MAAM,CAAQ,EAAE,6EAAC;AACtC;MAEY,oBAAoB,CAAA;AAC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